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 |
Reference manual: | BayesianMediationA.pdf |
Vignettes: |
Examples for Bayesian Mediation Analysis (source, R code) |
Package source: | BayesianMediationA_1.0.1.tar.gz |
Windows binaries: | r-devel: BayesianMediationA_1.0.1.zip, r-release: BayesianMediationA_1.0.1.zip, r-oldrel: BayesianMediationA_1.0.1.zip |
macOS binaries: | r-devel (arm64): BayesianMediationA_1.0.1.tgz, r-release (arm64): BayesianMediationA_1.0.1.tgz, r-oldrel (arm64): BayesianMediationA_1.0.1.tgz, r-devel (x86_64): BayesianMediationA_1.0.1.tgz, r-release (x86_64): BayesianMediationA_1.0.1.tgz, r-oldrel (x86_64): BayesianMediationA_1.0.1.tgz |
Old sources: | BayesianMediationA archive |
Please use the canonical form https://CRAN.R-project.org/package=BayesianMediationA to link to this page.
mirror server hosted at Truenetwork, Russian Federation.