Package: bayespmtools 0.0.2

Mohsen Sadatsafavi

bayespmtools: Bayesian Sample Size and Precision Considerations for Risk Prediction Models

Performs Bayesian sample size, precision, and value-of-information analysis for external validation of existing multi-variable prediction models using the approach proposed by Sadatsafavi and colleagues (2026) <doi:10.1002/sim.70389>.

Authors:Mohsen Sadatsafavi [aut, cre], Anna Luo [ctb]

bayespmtools_0.0.2.tar.gz
bayespmtools_0.0.2.zip(r-4.7-any)bayespmtools_0.0.2.zip(r-4.6-any)bayespmtools_0.0.2.zip(r-4.5-any)
bayespmtools_0.0.2.tgz(r-4.6-any)bayespmtools_0.0.2.tgz(r-4.5-any)
bayespmtools_0.0.2.tar.gz(r-4.7-any)bayespmtools_0.0.2.tar.gz(r-4.6-any)
bayespmtools_0.0.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
bayespmtools/json (API)

# Install 'bayespmtools' in R:
install.packages('bayespmtools', repos = c('https://resplab.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/resplab/bayespmtools/issues

Datasets:

On CRAN:

Conda:

5.08 score 3 stars 8 scripts 448 downloads 6 exports 86 dependencies

Last updated from:29c936be98. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK180
source / vignettesOK228
linux-releaseOK184
macos-releaseOK159
macos-oldrelOK126
windows-develOK129
windows-releaseOK117
windows-oldrelOK104
wasm-releaseOK112

Exports:bpm_valprecbpm_valsampcalc_se_spplot_cal_distanceplot_cal_instabilityprocess_evidence

Dependencies:abindbackportsbootbroomcarcarDatacheckmateclicobscolorspacecorrplotcowplotcpp11DerivdoBydplyrfarverfastLogisticRegressionWrapforecastFormulafracdiffgenericsggplot2ggpubrggrepelggsciggsignifgluegridExtragtableisobandlabelinglatticelifecyclelme4lmtestlogitnormmagrittrMASSMatrixMatrixModelsmc2dmcmappermgcvminqamodelrmvtnormnlmenloptrnnetnumDerivOORpbkrtestpillarpkgconfigpolynompROCpurrrquantregR6rbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRcppNumericalRdpackreformulasrlangrstatixS7scalesSparseMstringistringrsurvivaltibbletidyrtidyselecttimeDateurcautf8vctrsviridisLitewithrzoo

Bayespmtools Package Tutorial
Introduction | The ISARIC Model | Specifying Evidence (Uncertainty Quantification) | Sample size targets and rules | Sample size calculator (bpm_valsamp()) | Computing precision / VoI for a given sample size (bpm_valprec()) | Drawing the EVSI curve | References

Last update: 2026-06-03
Started: 2025-08-26

Getting Started with bayespmtools
What is bayespmtools? | Why use a Bayesian approach? | Quick Example | Step 1: Specify Your Evidence | Step 2: Define Your Targets | Step 3: Calculate Sample Size | Step 4: View Results | Next Steps | Key Functions | Getting Help | References

Last update: 2026-06-03
Started: 2026-01-03