Package: hdbayes 0.1.1.9000

Ethan M. Alt
hdbayes: Bayesian Analysis of Generalized Linear Models with Historical Data
User-friendly functions for leveraging (multiple) historical data set(s) for generalized linear models (GLMs) and survival models. The package provides functions for sampling from the posterior distribution under various informative priors, including the prior induced by the Bayesian hierarchical model, power prior by Ibrahim and Chen (2000) <doi:10.1214/ss/1009212673>, normalized power prior by Duan et al. (2006) <doi:10.1002/env.752>, normalized asymptotic power prior by Ibrahim et al. (2015) <doi:10.1002/sim.6728>, commensurate prior by Hobbs et al. (2011) <doi:10.1111/j.1541-0420.2011.01564.x>, robust meta-analytic-predictive prior by Schmidli et al. (2014) <doi:10.1111/biom.12242>, latent exchangeability prior by Alt et al. (2024) <doi:10.1093/biomtc/ujae083>, and a normal (or half-normal) prior. In addition to GLMs, the package supports survival models including: (1) accelerated failure time (AFT) models, (2) piecewise exponential (PWE) models, i.e., proportional hazards models with piecewise constant baseline hazards, and (3) mixture cure rate models that assume a common probability of cure across subjects, paired with a PWE model for the non-cured population. Functions for computing the marginal log-likelihood under each implemented prior are also included. The package compiles all the 'CmdStan' models once during installation using the 'instantiate' package.
Authors:
hdbayes_0.1.1.9000.tar.gz
hdbayes_0.1.1.9000.zip(r-4.5)hdbayes_0.1.1.9000.zip(r-4.4)hdbayes_0.1.1.9000.zip(r-4.3)
hdbayes_0.1.1.9000.tgz(r-4.5-x86_64)hdbayes_0.1.1.9000.tgz(r-4.5-arm64)hdbayes_0.1.1.9000.tgz(r-4.4-x86_64)hdbayes_0.1.1.9000.tgz(r-4.4-arm64)hdbayes_0.1.1.9000.tgz(r-4.3-x86_64)hdbayes_0.1.1.9000.tgz(r-4.3-arm64)
hdbayes_0.1.1.9000.tar.gz(r-4.5-noble)hdbayes_0.1.1.9000.tar.gz(r-4.4-noble)
hdbayes_0.1.1.9000.tgz(r-4.4-emscripten)hdbayes_0.1.1.9000.tgz(r-4.3-emscripten)
hdbayes.pdf |hdbayes.html✨
hdbayes/json (API)
NEWS
# Install 'hdbayes' in R: |
install.packages('hdbayes', repos = c('https://ethan-alt.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/ethan-alt/hdbayes/issues
- E1684 - ECOG E1684 Trial
- E1690 - ECOG E1690 Trial
- E1694 - ECOG E1694 Trial
- E2696 - ECOG E2696 Trial
- IBCSG_curr - International Breast Cancer Study Group (IBCSG) Trial VI Data
- IBCSG_hist - International Breast Cancer Study Group (IBCSG) Trial VI Data
- actg019 - AIDS Clinical Trial ACTG019
- actg036 - AIDS Clinical Trial ACTG036
Last updated 16 hours agofrom:4f21a7ee57. Checks:12 OK. Indexed: yes.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Mar 31 2025 |
R-4.5-win-x86_64 | OK | Mar 31 2025 |
R-4.5-mac-x86_64 | OK | Mar 31 2025 |
R-4.5-mac-aarch64 | OK | Mar 31 2025 |
R-4.5-linux-x86_64 | OK | Mar 31 2025 |
R-4.4-win-x86_64 | OK | Mar 31 2025 |
R-4.4-mac-x86_64 | OK | Mar 31 2025 |
R-4.4-mac-aarch64 | OK | Mar 31 2025 |
R-4.4-linux-x86_64 | OK | Mar 31 2025 |
R-4.3-win-x86_64 | OK | Mar 31 2025 |
R-4.3-mac-x86_64 | OK | Mar 31 2025 |
R-4.3-mac-aarch64 | OK | Mar 31 2025 |
Exports:aft.bhmaft.commensurateaft.leapaft.logml.commensurateaft.logml.leapaft.logml.mapaft.logml.nppaft.logml.postaft.logml.ppaft.logml.stratified.ppaft.nppaft.npp.logncaft.postaft.ppaft.stratified.ppcurepwe.bhmcurepwe.commensuratecurepwe.leapcurepwe.logml.commensuratecurepwe.logml.leapcurepwe.logml.mapcurepwe.logml.nppcurepwe.logml.postcurepwe.logml.ppcurepwe.logml.stratified.ppcurepwe.nppcurepwe.npp.lognccurepwe.postcurepwe.ppcurepwe.stratified.ppglm.bhmglm.commensurateglm.leapglm.logml.commensurateglm.logml.leapglm.logml.mapglm.logml.nappglm.logml.nppglm.logml.postglm.logml.ppglm.nappglm.nppglm.npp.logncglm.postglm.ppglm.rmaplm.npppwe.bhmpwe.commensuratepwe.leappwe.logml.commensuratepwe.logml.leappwe.logml.mappwe.logml.npppwe.logml.postpwe.logml.pppwe.logml.stratified.pppwe.npppwe.npp.logncpwe.postpwe.pppwe.stratified.pp
Dependencies:abindbackportsbridgesamplingBrobdingnagcallrcheckmateclicodacolorspacedistributionalenrichwithfansifarverformula.toolsfsgenericsglueinstantiatelabelinglatticelifecyclemagrittrMatrixmatrixStatsmunsellmvtnormnumDerivoperator.toolspillarpkgconfigposteriorprocessxpsR6RColorBrewerrlangscalesstringistringrtensorAtibbleutf8vctrsviridisLite