bhmbasket: Bayesian Hierarchical Models for Basket Trials

Provides functions for the evaluation of basket trial designs with binary endpoints. Operating characteristics of a basket trial design are assessed by simulating trial data according to scenarios, analyzing the data with Bayesian hierarchical models (BHMs), and assessing decision probabilities on stratum and trial-level based on Go / No-go decision making. The package is build for high flexibility regarding decision rules, number of interim analyses, number of strata, and recruitment. The BHMs proposed by Berry et al. (2013) <doi:10.1177/1740774513497539> and Neuenschwander et al. (2016) <doi:10.1002/pst.1730>, as well as a model that combines both approaches are implemented. Functions are provided to implement Bayesian decision rules as for example proposed by Fisch et al. (2015) <doi:10.1177/2168479014533970>. In addition, posterior point estimates (mean/median) and credible intervals for response rates and some model parameters can be calculated. For simulated trial data, bias and mean squared errors of posterior point estimates for response rates can be provided.

Version: 0.9.3
Depends: R (≥ 3.5.0)
Imports: foreach, R2jags
Suggests: doParallel, parallel, knitr, rmarkdown
Published: 2021-10-11
Author: Stephan Wojciekowski [aut, cre]
Maintainer: Stephan Wojciekowski <stephan.wojciekowski at>
License: GPL-3
NeedsCompilation: no
SystemRequirements: JAGS (
Citation: bhmbasket citation info
Materials: NEWS
CRAN checks: bhmbasket results


Reference manual: bhmbasket.pdf
Vignettes: reproduceExNex


Package source: bhmbasket_0.9.3.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): bhmbasket_0.9.3.tgz, r-release (x86_64): bhmbasket_0.9.3.tgz, r-oldrel: bhmbasket_0.9.3.tgz
Old sources: bhmbasket archive


Please use the canonical form to link to this page.