Provides comprehensive methods to calculate posterior probabilities, posterior predictive probabilities, and Go/NoGo/Gray decision probabilities for quantitative decision-making under a Bayesian paradigm in clinical trials. The package supports both single and two-endpoint analyses for binary and continuous outcomes, with controlled, uncontrolled, and external designs. For single continuous endpoints, three calculation methods are available: numerical integration (NI), Monte Carlo simulation (MC), and Moment-Matching approximation (MM). For two continuous endpoints, a bivariate Normal-Inverse-Wishart conjugate model is implemented with MC and MM methods. For two binary endpoints, a Dirichlet-multinomial model is implemented. External designs incorporate historical data through power priors using exact conjugate representations (Normal-Inverse-Chi-squared for single continuous, Normal-Inverse-Wishart for two continuous, and Dirichlet for binary endpoints), enabling closed-form posterior computation without Markov chain Monte Carlo (MCMC) sampling. This approach significantly reduces computational burden while preserving complete Bayesian rigor. The package also provides grid-search functions to find optimal Go and NoGo thresholds that satisfy user-specified operating characteristic criteria for all supported endpoint types and study designs. S3 print() and plot() methods are provided for all decision probability classes, enabling formatted display and visualisation of Go/NoGo/Gray operating characteristics across treatment scenarios. See Kang, Yamaguchi, and Han (2026) <doi:10.1080/10543406.2026.2655410> for the methodological framework.
| Version: | 0.1.0 |
| Imports: | ggplot2 (≥ 3.4.0), gridExtra, mvtnorm, stats |
| Suggests: | testthat (≥ 3.0.0), knitr, rmarkdown, dplyr, tidyr, purrr, spelling |
| Published: | 2026-04-21 |
| DOI: | 10.32614/CRAN.package.BayesianQDM (may not be active yet) |
| 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: | no |
| Language: | en-US |
| Materials: | README |
| CRAN checks: | BayesianQDM results |
| Reference manual: | BayesianQDM.html , BayesianQDM.pdf |
| Vignettes: |
Overview of BayesianQDM (source, R code) Single Binary Endpoint (source, R code) Single Continuous Endpoint (source, R code) Two Binary Endpoints (source, R code) Two Continuous Endpoints (source, R code) |
| Package source: | BayesianQDM_0.1.0.tar.gz |
| Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
| macOS binaries: | r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available |
Please use the canonical form https://CRAN.R-project.org/package=BayesianQDM to link to this page.