Bayesian Analysis of Heterogeneous Treatment Effect

It is vital to assess the heterogeneity of treatment effects (HTE) when making health care decisions for an individual patient or a group of patients. Nevertheless, it remains challenging to evaluate HTE based on information collected from clinical studies that are often designed and conducted to evaluate the efficacy of a treatment for the overall population. The Bayesian framework offers a principled and flexible approach to estimate and compare treatment effects across subgroups of patients defined by their characteristics. This package allows users to explore a wide range of Bayesian HTE analysis models, and produce posterior inferences about HTE. See Wang et al. (2018) for further details.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("beanz")

3.1 by Chenguang Wang, 3 years ago


Browse source code at https://github.com/cran/beanz


Authors: Chenguang Wang [aut, cre] , Ravi Varadhan [aut] , Trustees of Columbia University [cph] (tools/make_cpp.R , R/stanmodels.R)


Documentation:   PDF Manual  


GPL (>= 3) license


Imports rstan, rstantools, survival, loo, RcppParallel

Depends on Rcpp, methods

Suggests knitr, shiny, rmarkdown, pander, shinythemes, DT, testthat

Linking to StanHeaders, rstan, BH, Rcpp, RcppEigen, RcppParallel

System requirements: GNU make


See at CRAN