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 |
Depends: | R (≥ 2.14.1), survival, R2jags, car, gplots, lattice |
Imports: | splines, methods |
Published: | 2022-08-18 |
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)] |
NeedsCompilation: | no |
CRAN checks: | BayesianMediationA results |
Reference manual: | BayesianMediationA.pdf |
Package source: | BayesianMediationA_1.0.tar.gz |
Windows binaries: | r-devel: BayesianMediationA_1.0.zip, r-release: BayesianMediationA_1.0.zip, r-oldrel: BayesianMediationA_1.0.zip |
macOS binaries: | r-release (arm64): BayesianMediationA_1.0.tgz, r-oldrel (arm64): BayesianMediationA_1.0.tgz, r-release (x86_64): BayesianMediationA_1.0.tgz, r-oldrel (x86_64): BayesianMediationA_1.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=BayesianMediationA to link to this page.