bayprior
0.3.0Bayesian Prior Elicitation and Diagnostics for Clinical Trials
Overview
A toolkit for constructing, validating, and justifying Bayesian priors in clinical trial settings. Implements expert elicitation via quantile matching, the roulette method, and moment matching across six distribution families, linear and logarithmic expert pooling, prior-data conflict diagnostics including the Box p-value, surprise index, information divergence, and Mahalanobis distance, sensitivity analyses with tornado and influence heatmap plots, sceptical, robust, and power priors, and automated prior justification reports. Includes a fully modular 'Shiny' application for interactive use. Methods based on O'Hagan et al. (2006, ISBN:9780470029886), Box (1980) doi:10.2307/2982063, Oakley and O'Hagan (2010) https://tonyohagan.co.uk/shelf/, Schmidli et al. (2014) doi:10.1111/biom.12242, Ibrahim and Chen (2000) doi:10.1214/ss/1009212673, Spiegelhalter et al. (1994) doi:10.2307/2983527.
Install
Health
- OK2026-08-0513 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-08-0112 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-06-0912 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0811 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-06-046 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 99%
- Return-value docs
- 100%
- References docs
- 23%
Downloads
Repository
Stars over time
Releases over time
Issues over time
PRs over time
Commits over time
Repository practices
6 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/ndohpenngit/bayprior on 2026-08-16.
Show all practices
Dependencies
Nothing depends on this yet.
Code & Tests
People & History
2 releases. Pick two to compare their code metrics. R releases are shown for context.
- 0.3.0Latest
- 0.2.122026-06-03
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-06-03
- Total releases
- 2 / 1 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 4.1.0
- Download size
- 3.6 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("bayprior")This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-08-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.