Package: bayesDP 1.3.13

bayesDP: Implementation of the Bayesian Discount Prior Approach for Clinical Trials

Functions for data augmentation using the Bayesian discount prior method for single arm and two-arm clinical trials, as described in Haddad et al. (2017) <doi:10.1080/10543406.2017.1300907>. The discount power prior methodology was developed in collaboration with the Medical Device Innovation Consortium (MDIC) Computer Modeling & Simulation Working Group.

Authors:Shawn Balcome [aut], Donnie Musgrove [aut], Tarek Haddad [aut], Graeme L. Hickey [cre, aut], Christopher Jackson [ctb]

bayesDP_1.3.13.tar.gz
bayesDP_1.3.13.zip(r-4.7-x86_64)bayesDP_1.3.13.zip(r-4.7-arm64)bayesDP_1.3.13.zip(r-4.6-x86_64)bayesDP_1.3.13.zip(r-4.6-arm64)bayesDP_1.3.13.zip(r-4.5-x86_64)
bayesDP_1.3.13.tgz(r-4.6-x86_64)bayesDP_1.3.13.tgz(r-4.6-arm64)bayesDP_1.3.13.tgz(r-4.5-x86_64)bayesDP_1.3.13.tgz(r-4.5-arm64)
bayesDP_1.3.13.tar.gz(r-4.7-arm64)bayesDP_1.3.13.tar.gz(r-4.7-x86_64)bayesDP_1.3.13.tar.gz(r-4.6-arm64)bayesDP_1.3.13.tar.gz(r-4.6-x86_64)
bayesDP_1.3.13.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
bayesDP/json (API)

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

Bug tracker:https://github.com/graemeleehickey/bayesdp/issues

Pkgdown/docs site:https://graemeleehickey.github.io

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

bayesianbayesian-inferencebayesian-statisticsclinical-trialsmdicposterior-predictiveposterior-probabilityprior-distributionopenblascpp

5.35 score 986 downloads 1 mentions 11 exports 29 dependencies

Last updated from:7aa6cffe8a. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK164
linux-devel-x86_64OK149
source / vignettesOK230
linux-release-arm64OK147
linux-release-x86_64OK192
macos-release-arm64OK162
macos-release-x86_64OK431
macos-oldrel-arm64OK157
macos-oldrel-x86_64OK302
windows-devel-arm64OK281
windows-devel-x86_64OK224
windows-release-arm64OK276
windows-release-x86_64OK125
windows-oldrel-x86_64OK182
wasm-releaseOK134

Exports:alpha_discountbdpbinomialbdplmbdplogitbdpnormalbdpsurvivalplotppexpprintprobability_discountsummary

Dependencies:clicodacpp11farverggplot2gluegtableisobandlabelinglatticelifecycleMASSMatrixMatrixModelsmcmcMCMCpackquantregR6RColorBrewerRcppRcppArmadillorlangS7scalesSparseMsurvivalvctrsviridisLitewithr

Borrowing historical information with bayesDP
Purpose and analysis choices | Choosing the historical weight | An estimated fixed weight | A weight for each draw | Discount functions | Reporting and sensitivity analysis | Model-specific examples | References

Last update: 2026-11-20
Started: 2026-11-15

Survival outcomes with bayesDP
Purpose and scope | Data and follow-up | One-arm example with censoring | Sensitivity to the borrowing method | Two-arm example | Piecewise exponential model | Comparing current and historical data | One arm: survival at the chosen horizon | Two arms: compare studies separately within each arm | Transforming the comparison into a weight | Historical likelihood augmentation | Approximate two-arm effect | Assumptions and sensitivity | References

Last update: 2026-11-20
Started: 2017-04-14

Linear regression with bayesDP
Purpose and inputs | Worked example | Model and historical comparison | Historical priors and posterior calculation | Assumptions and sensitivity | References

Last update: 2026-11-15
Started: 2017-08-23

Binomial outcomes with bayesDP
Purpose and inputs | One-arm example | Two-arm example | Sensitivity to the weighting method | Model and computation | Assumptions and checks | References

Last update: 2026-11-15
Started: 2017-04-14

Normal outcomes with bayesDP
Purpose and inputs | One-arm example | Two-arm example | Sensitivity to the weighting method | Model and computation | Assumptions and checks | References

Last update: 2026-11-15
Started: 2017-04-14

Readme and manuals

Help Manual

Help pageTopics
Bayesian Discount Prior: Historical Data Weight (alpha)alpha_discount alpha_discount,ANY-method
Bayesian Discount Prior: Binomial countsbdpbinomial bdpbinomial,ANY-method bdpbinomial-method
Bayesian Discount Prior: Two-Arm Linear Regressionbdplm bdplm,ANY-method bdplm-method
Bayesian Discount Prior: Two-Arm Logistic Regressionbdplogit bdplogit,ANY-method bdplogit-method
Bayesian Discount Prior: Gaussian mean valuesbdpnormal bdpnormal,ANY-method bdpnormal-method
Bayesian Discount Prior: Survival Analysisbdpsurvival bdpsurvival,ANY-method bdpsurvival-method
bdpbinomial Object Plotplot,bdpbinomial-method
bdpnormal Object Plotplot,bdpnormal-method
bdpsurvival Object Plotplot,bdpsurvival-method
Compute cdf of the piecewise exponential distributionppexp
bdpbinomial Object Printprint,bdpbinomial-method
bdplm Object Printprint,bdplm-method
bdpnormal Object Printprint,bdpnormal-method
bdpsurvival Object Printprint,bdpsurvival-method
Bayesian Discount Prior: Comparison Between Current and Historical Dataprobability_discount probability_discount,ANY-method
bdpbinomial Object Summarysummary,bdpbinomial-method
bdplm Object Summarysummary,bdplm-method
bdpnormal Object Summarysummary,bdpnormal-method
bdpsurvival Object Summarysummary,bdpsurvival-method