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)bayespmtools_0.0.2.zip(r-4.6)bayespmtools_0.0.2.zip(r-4.5)
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.32 score 3 stars 8 scripts 505 downloads 6 exports 87 dependencies

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

TargetResultTimeFilesSyslog
linux-devel-x86_64OK299
source / vignettesOK235
linux-release-x86_64OK307
macos-release-arm64OK179
macos-oldrel-arm64OK136
windows-develOK115
windows-releaseOK126
windows-oldrelOK126
wasm-releaseOK134

Exports:bpm_valprecbpm_valsampcalc_se_spplot_cal_distanceplot_cal_instabilityprocess_evidence

Dependencies:abindbackportsbootbroomcarcarDatacheckmateclicobscolorspacecorrplotcowplotcpp11DerivdoBydplyrfarverfastLogisticRegressionWrapforecastFormulafracdiffgenericsggplot2ggpubrggrepelggsciggsignifgluegridExtragtableisobandlabelinglatticelifecyclelme4lmtestlogitnormmagrittrMASSMatrixMatrixModelsmc2dmcmappermgcvmicrobenchmarkminqamodelrmvtnormnlmenloptrnnetnumDerivOORpbkrtestpillarpkgconfigpolynompROCpurrrquantregR6rbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRcppNumericalRdpackreformulasrlangrstatixS7scalesSparseMstringistringrsurvivaltibbletidyrtidyselecttimeDateurcautf8vctrsviridisLitewithrzoo

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