Package: bayesDP 1.3.8

Graeme L. Hickey

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-x86_64)bayesDP_1.3.8.zip(r-4.7-arm64)bayesDP_1.3.8.zip(r-4.6-x86_64)bayesDP_1.3.8.zip(r-4.6-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://cran.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:

openblascpp

4.17 score 74 scripts 616 downloads 1 mentions 11 exports 29 dependencies

Last updated from:f90fe4f19f. Checks:10 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK165
linux-devel-x86_64OK168
source / vignettesOK244
linux-release-arm64OK127
linux-release-x86_64OK143
windows-devel-arm64OK229
windows-devel-x86_64OK153
windows-release-arm64OK242
windows-release-x86_64OK154
wasm-releaseOK119

Exports:alpha_discountbdpbinomialbdplmbdplogitbdpnormalbdpsurvivalplotppexpprintprobability_discountsummary

Dependencies:clicodacpp11farverggplot2gluegtableisobandlabelinglatticelifecycleMASSMatrixMatrixModelsmcmcMCMCpackquantregR6RColorBrewerRcppRcppArmadillorlangS7scalesSparseMsurvivalvctrsviridisLitewithr

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-25
Started: 2017-05-03

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-25
Started: 2017-12-07

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-25
Started: 2017-05-03

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-25
Started: 2017-05-03

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