Package: bayesDP 1.3.8

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 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.8.tar.gz
bayesDP_1.3.8.zip(r-4.7)bayesDP_1.3.8.zip(r-4.6)bayesDP_1.3.8.zip(r-4.5)
bayesDP_1.3.8.tgz(r-4.6-x86_64)bayesDP_1.3.8.tgz(r-4.6-arm64)bayesDP_1.3.8.tgz(r-4.5-x86_64)bayesDP_1.3.8.tgz(r-4.5-arm64)
bayesDP_1.3.8.tar.gz(r-4.7-arm64)bayesDP_1.3.8.tar.gz(r-4.7-x86_64)bayesDP_1.3.8.tar.gz(r-4.6-arm64)bayesDP_1.3.8.tar.gz(r-4.6-x86_64)
bayesDP_1.3.8.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.50 score 53 scripts 485 downloads 1 mentions 11 exports 29 dependencies

Last updated from:1d34726ce6. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK223
linux-devel-x86_64OK203
source / vignettesOK252
linux-release-arm64OK217
linux-release-x86_64OK188
macos-release-arm64OK156
macos-release-x86_64OK252
macos-oldrel-arm64OK135
macos-oldrel-x86_64OK211
windows-develOK166
windows-releaseOK199
windows-oldrelOK156
wasm-releaseOK162

Exports:alpha_discountbdpbinomialbdplmbdplogitbdpnormalbdpsurvivalplotppexpprintprobability_discountsummary

Dependencies:clicodacpp11farverggplot2gluegtableisobandlabelinglatticelifecycleMASSMatrixMatrixModelsmcmcMCMCpackquantregR6RColorBrewerRcppRcppArmadillorlangS7scalesSparseMsurvivalvctrsviridisLitewithr

Linear Regression Estimation with bayesDP
Introduction | Linear Regresion Model Background | Estimation of the historical data weight | Discount function | Estimation of the posterior distribution of the current data, conditional on the historical data | Inputting Data | Examples | Two-arm trial

Last update: 2026-06-24
Started: 2017-08-23

Binomial Count Estimation with bayesDP
Introduction | Estimation of the historical data weight | Discount function | Estimation of the posterior distribution of the current data, conditional on the historical data | Estimation of the posterior treatment effect: treatment versus control | Inputting Data | Examples | One-arm trial | Two-arm trial

Last update: 2026-06-24
Started: 2017-04-14

Normal Mean Estimation with bayesDP
Introduction | Estimation of the historical data weight | Discount function | Estimation of the posterior distribution of the current data, conditional on the historical data | Estimation of the posterior treatment effect: treatment versus control | Inputting Data | Examples | One-arm trial | Two-arm trial

Last update: 2026-06-24
Started: 2017-04-14

Survival Outcome Estimation with bayesDP
Introduction | Piecewise Exponential Model Background | Estimation of the historical data weight | Estimation under a one-arm analysis | Estimation under a two-arm analysis | Discount function | Estimation of the posterior distribution of the current data, conditional on the historical data | Inputting Data | Examples | One-arm trial | Two-arm trial

Last update: 2026-06-24
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