# Bayesian Analysis of Generalized Linear Models with Historical Data

## Documentation for package ‘hdbayes’ version 0.2.0

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

actg019 | AIDS Clinical Trial ACTG019
actg036 | AIDS Clinical Trial ACTG036
aft.bhm | Posterior of Bayesian hierarchical model (BHM)
aft.commensurate | Posterior of commensurate prior (CP)
aft.leap | Posterior of latent exchangeability prior (LEAP)
aft.logml.commensurate | Log marginal likelihood of an accelerated failure time (AFT) model under the commensurate prior (CP)
aft.logml.leap | Log marginal likelihood of an accelerated failure time (AFT) model under latent exchangeability prior (LEAP)
aft.logml.map | Log marginal likelihood of an accelerated failure time (AFT) model under the meta-analytic predictive (MAP) prior
aft.logml.npp | Log marginal likelihood of an accelerated failure time (AFT) model under normalized power prior (NPP)
aft.logml.post | Log marginal likelihood of an accelerated failure time (AFT) model under a normal/half-normal prior
aft.logml.pp | Log marginal likelihood of an accelerated failure time (AFT) model under the power prior (PP)
aft.logml.stratified.pp | Log marginal likelihood of an accelerated failure time (AFT) model under the stratified power prior (PP)
aft.npp | Posterior of normalized power prior (NPP)
aft.npp.lognc | Estimate the logarithm of the normalizing constant for normalized power prior (NPP) for one data set
aft.post | Posterior of a normal/half-normal prior
aft.pp | Posterior of power prior (PP) with fixed a_0
aft.stratified.pp | Posterior of stratified power prior (PP) with fixed a_0
compute.ensemble.weights | Compute model averaging weights
curepwe.bhm | Posterior of Bayesian hierarchical model (BHM)
curepwe.commensurate | Posterior of commensurate prior (CP)
curepwe.leap | Posterior of latent exchangeability prior (LEAP)
curepwe.logml.commensurate | Log marginal likelihood of a mixture cure rate (CurePWE) under the commensurate prior (CP)
curepwe.logml.leap | Log marginal likelihood of a mixture cure rate (CurePWE) model under latent exchangeability prior (LEAP)
curepwe.logml.map | Log marginal likelihood of a mixture cure rate (CurePWE) model under the meta-analytic predictive (MAP) prior
curepwe.logml.npp | Log marginal likelihood of a mixture cure rate (CurePWE) model under normalized power prior (NPP)
curepwe.logml.post | Log marginal likelihood of a mixture cure rate (CurePWE) model under a normal/half-normal prior
curepwe.logml.pp | Log marginal likelihood of a standard cure rate (CurePWE) model under the power prior (PP)
curepwe.logml.stratified.pp | Log marginal likelihood of a mixture cure rate (CurePWE) model under the stratified power prior (PP)
curepwe.npp | Posterior of normalized power prior (NPP)
curepwe.npp.lognc | Estimate the logarithm of the normalizing constant for normalized power prior (NPP) for one data set
curepwe.post | Posterior of a normal/half-normal prior
curepwe.pp | Posterior of power prior (PP) with fixed a_0
curepwe.stratified.pp | Posterior of stratified power prior (PP) with fixed a_0
E1684 | ECOG E1684 Trial
E1690 | ECOG E1690 Trial
E1694 | ECOG E1694 Trial
E2696 | ECOG E2696 Trial
glm.bhm | Posterior of Bayesian hierarchical model (BHM)
glm.commensurate | Posterior of commensurate prior (CP)
glm.leap | Posterior of latent exchangeability prior (LEAP)
glm.logml.commensurate | Log marginal likelihood of a GLM under commensurate prior (CP)
glm.logml.leap | Log marginal likelihood of a GLM under latent exchangeability prior (LEAP)
glm.logml.map | Log marginal likelihood of a GLM under meta-analytic predictive (MAP) prior
glm.logml.napp | Log marginal likelihood of a GLM under normalized asymptotic power prior (NAPP)
glm.logml.npp | Log marginal likelihood of a GLM under normalized power prior (NPP)
glm.logml.post | Log marginal likelihood of a GLM under a normal/half-normal prior
glm.logml.pp | Log marginal likelihood of a GLM under power prior (PP)
glm.napp | Posterior of normalized asymptotic power prior (NAPP)
glm.npp | Posterior of normalized power prior (NPP)
glm.npp.lognc | Estimate the logarithm of the normalizing constant for normalized power prior (NPP) for one data set
glm.post | Posterior of a normal/half-normal prior
glm.pp | Posterior of power prior (PP) with fixed a_0
glm.rmap | Posterior of robust meta-analytic predictive prior (RMAP)
IBCSG_curr | International Breast Cancer Study Group (IBCSG) Trial VI Data
IBCSG_hist | International Breast Cancer Study Group (IBCSG) Trial VI Data
lm.npp | Posterior of normalized power prior (NPP) for normal linear models
pwe.bhm | Posterior of Bayesian hierarchical model (BHM)
pwe.commensurate | Posterior of commensurate prior (CP)
pwe.leap | Posterior of latent exchangeability prior (LEAP)
pwe.logml.commensurate | Log marginal likelihood of a piecewise exponential (PWE) model under the commensurate prior (CP)
pwe.logml.leap | Log marginal likelihood of a piecewise exponential (PWE) model under latent exchangeability prior (LEAP)
pwe.logml.map | Log marginal likelihood of a piecewise exponential (PWE) model under the meta-analytic predictive (MAP) prior
pwe.logml.npp | Log marginal likelihood of a piecewise exponential (PWE) model under normalized power prior (NPP)
pwe.logml.post | Log marginal likelihood of a piecewise exponential (PWE) model under a normal/half-normal prior
pwe.logml.pp | Log marginal likelihood of a piecewise exponential (PWE) model under the power prior (PP)
pwe.logml.stratified.pp | Log marginal likelihood of a piecewise exponential (PWE) model under the stratified power prior (PP)
pwe.npp | Posterior of normalized power prior (NPP)
pwe.npp.lognc | Estimate the logarithm of the normalizing constant for normalized power prior (NPP) for one data set
pwe.post | Posterior of a normal/half-normal prior
pwe.pp | Posterior of power prior (PP) with fixed a_0
pwe.stratified.pp | Posterior of stratified power prior (PP) with fixed a_0
sample.ensemble | Sample from the ensemble posterior distribution