BayesianTrial: Bayesian Decision-Making for Clinical Trials

Provides tools for Bayesian decision-making in single-arm phase II clinical trials with binary efficacy endpoints. Uses Beta-binomial models to calculate posterior probabilities that the response rate exceeds a prespecified reference value and to estimate predictive probabilities of meeting final-analysis success criteria. Evaluates the frequentist operating characteristics of two-stage designs with posterior-probability-based stopping rules, including type I error rates, statistical power, and probabilities of early stopping for efficacy or futility, using Monte Carlo simulation. For methodological background, see Thall and Simon (1994) <doi:10.2307/2533377> and Lee and Liu (2008) <doi:10.1177/1740774508089279>.

Version: 0.1.0
Depends: R (≥ 3.5.0)
Imports: stats
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0)
Published: 2026-11-19
DOI: 10.32614/CRAN.package.BayesianTrial (may not be active yet)
Author: Jiangyan Zhao [cre, aut], Rongji Mu [aut, cph]
Maintainer: Jiangyan Zhao <zhaojy2017 at 126.com>
BugReports: https://github.com/Jiangyan-Zhao/BayesianTrial/issues
License: GPL (≥ 3)
URL: https://github.com/Jiangyan-Zhao/BayesianTrial
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: BayesianTrial results

Documentation:

Reference manual: BayesianTrial.html , BayesianTrial.pdf
Vignettes: Single-arm phase II trials with binary endpoints (source, R code)

Downloads:

Package source: BayesianTrial_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: BayesianTrial_0.1.0.zip
macOS binaries: r-release (arm64): BayesianTrial_0.1.0.tgz, r-oldrel (arm64): BayesianTrial_0.1.0.tgz, r-release (x86_64): BayesianTrial_0.1.0.tgz, r-oldrel (x86_64): BayesianTrial_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=BayesianTrial to link to this page.