BayesianMediationA: Bayesian Mediation Analysis
We perform general mediation analysis in the Bayesian setting using the methods described in Yu and Li (2022, ISBN:9780367365479). With the package, the mediation analysis can be performed on different types of outcomes (e.g., continuous, binary, categorical, or time-to-event), with default or user-defined priors and predictive models. The Bayesian estimates and credible sets of mediation effects are reported as analytic results.
Version: |
1.0.1 |
Depends: |
R (≥ 2.14.1), survival, R2jags, car, gplots, lattice |
Imports: |
splines, methods |
Suggests: |
knitr, rmarkdown |
Published: |
2022-09-24 |
DOI: |
10.32614/CRAN.package.BayesianMediationA |
Author: |
Qingzhao Yu [aut, cre, cph],
Bin Li [aut] |
Maintainer: |
Qingzhao Yu <qyu at lsuhsc.edu> |
License: |
GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
URL: |
https://cran.r-project.org/package=BayesianMediationA,
https://publichealth.lsuhsc.edu/Faculty_pages/qyu/index.html |
NeedsCompilation: |
no |
CRAN checks: |
BayesianMediationA results |
Documentation:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=BayesianMediationA
to link to this page.