Bayesian Power Prior Design
Overview
Bayesian power/type I error calculation and model fitting using the power prior and the normalized power prior for generalized linear models. Detailed examples of applying the package are available at doi:10.32614/RJ-2023-016. Models for time-to-event outcomes are implemented in the R package 'BayesPPDSurv'. The Bayesian clinical trial design methodology is described in Chen et al. (2011) doi:10.1111/j.1541-0420.2011.01561.x, and Psioda and Ibrahim (2019) doi:10.1093/biostatistics/kxy009. The normalized power prior is described in Duan et al. (2006) doi:10.1002/env.752 and Ibrahim et al. (2015) doi:10.1002/sim.6728.
Bug Fixes
- Improve the accuracy of estimating a0 for two.grp.random.a0() and glm.random.a0() for normal data.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK12 OK2026-04-25
- NOTE12 OK, 2 NOTE2026-04-22
- ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
Show 1 earlier changeHide 1 earlier change
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 12includes a package overview page
- Examples that run
- 100%9 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 83%
- bayesppd-vignette HTML
Downloads
Dependencies
Installing BayesPPD adds 4 packages (4 with compiled code, 4.7 MB of source tarballs). Heaviest: Rcpp 1.8 MB, RcppEigen 1.7 MB, RcppArmadillo 1.0 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 1.1.3Latest
- RR 4.4.0 released · 2024-04-24
- 1.1.22023-11-25 · diff ↗
- 1.1.12023-05-09 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 1.1.02022-11-12 · diff ↗
- 1.0.72022-08-12 · diff ↗
- 1.0.62022-04-23 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 1.0.52022-04-17 · diff ↗
- 1.0.42022-01-03 · diff ↗
- 1.0.32021-09-08 · diff ↗
- 1.0.22021-07-20 · diff ↗
- unarchivedReturned to CRAN2021-07-13
Package metadata
- First published
- 2021-05-10
- Total releases
- 12 / 5 yrs
- License
- GPL (>= 3) OSI · relicensed from MIT + file LICENSE in 1.0.4
- Minimum R
- ≥ 3.5.0
- Bundled data
- 2.6 KB / 2 files
- Download size
- 106 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("BayesPPD")The package provides a citation file, so citation() returns the authors' own entry.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.