Bayesian quantitative decision-making for proof-of-concept clinical trials with Go, NoGo and Gray decisions. A study is specified by its sample sizes, conjugate prior distributions, external data borrowed through power priors, a concurrent, external, hypothetical or fixed control group, and a decision criterion based on the posterior or posterior predictive probability of the treatment effect. The package computes the decision for observed data, the operating characteristics of one or more designs under scenarios for the true parameters, the decision thresholds, or the smallest sample size, for which the probabilities of false Go and false NoGo decisions are at most given targets, and the observed data that lead to each decision. Reports of a design and its results can be written as drafts of the corresponding sections of a study protocol. One or two binary endpoints (Beta-binomial and Dirichlet-multinomial models), one or two continuous endpoints (Normal-Inverse-chi-squared and Normal-Inverse-Wishart models) and one time-to-event endpoint evaluated by the milestone survival probability or the hazard ratio (exponential model with Gamma priors) are supported, with larger or smaller effects as favorable. The posterior distributions have closed forms, so Markov chain Monte Carlo (MCMC) sampling is not needed; the probabilities are computed from closed-form distribution functions, by exact summation, numerical integration, a moment-matching approximation or Monte Carlo simulation, with the main computations in C++. See Kang, Yamaguchi, and Han (2026) <doi:10.1080/10543406.2026.2655410> for the methodological framework.
| Version: | 1.1.0 |
| Depends: | R (≥ 4.1.0) |
| Imports: | ggplot2 (≥ 3.4.0), grDevices, Rcpp, stats, utils |
| LinkingTo: | Rcpp |
| Suggests: | knitr, rmarkdown, spelling, testthat (≥ 3.1.7) |
| Published: | 2026-11-25 |
| DOI: | 10.32614/CRAN.package.BayesianQDM |
| Author: | Gosuke Homma [aut, cre], Yusuke Yamaguchi [aut] |
| Maintainer: | Gosuke Homma <my.name.is.gosuke at gmail.com> |
| BugReports: | https://github.com/gosukehommaEX/BayesianQDM/issues |
| License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
| URL: | https://gosukehommaEX.github.io/BayesianQDM/, https://github.com/gosukehommaEX/BayesianQDM |
| NeedsCompilation: | yes |
| Language: | en-US |
| Materials: | README, NEWS |
| CRAN checks: | BayesianQDM results |
| Reference manual: | BayesianQDM.html , BayesianQDM.pdf |
| Vignettes: |
Migrating from version 0.1.0 (source, R code) Overview of BayesianQDM (source, R code) Working with the pipe (source, R code) Planning a study (source, R code) Single binary endpoint (source, R code) Single continuous endpoint (source, R code) Time-to-event endpoint (source, R code) Two binary endpoints (source, R code) Two continuous endpoints (source, R code) |
| Package source: | BayesianQDM_1.1.0.tar.gz |
| Windows binaries: | r-devel: BayesianQDM_1.0.1.zip, r-release: BayesianQDM_1.0.1.zip, r-oldrel: BayesianQDM_1.0.1.zip |
| macOS binaries: | r-release (arm64): BayesianQDM_1.0.1.tgz, r-oldrel (arm64): BayesianQDM_1.0.1.tgz, r-release (x86_64): BayesianQDM_1.0.1.tgz, r-oldrel (x86_64): BayesianQDM_1.0.1.tgz |
| Old sources: | BayesianQDM archive |
Please use the canonical form https://CRAN.R-project.org/package=BayesianQDM to link to this page.