We implement parametric and non parametric mediation analysis. This package performs the methods and suggestions in Imai, Keele and Yamamoto (2010) <doi:10.1214/10-STS321>, Imai, Keele and Tingley (2010) <doi:10.1037/a0020761>, Imai, Tingley and Yamamoto (2013) <doi:10.1111/j.1467-985X.2012.01032.x>, and Imai and Yamamoto (2013) <doi:10.1093/pan/mps040>. In addition to the estimation of causal mediation effects, the software also allows researchers to conduct sensitivity analysis for certain parametric models.
| Version: |
4.5.1 |
| Depends: |
R (≥ 2.15.1), MASS, Matrix, mvtnorm, sandwich |
| Imports: |
lpSolve, Hmisc, lme4 (≥ 1.0), stats, graphics, grDevices, utils, boot |
| Suggests: |
mgcv, quantreg, VGAM, SuppDists, survival, parallel, testthat, speedglm |
| Published: |
2025-06-07 |
| DOI: |
10.32614/CRAN.package.mediation |
| Author: |
Dustin Tingley [aut],
Teppei Yamamoto [aut, cre],
Kentaro Hirose [aut],
Luke Keele [aut],
Kosuke Imai [aut],
Minh Trinh [aut],
Weihuang Wong [aut] |
| Maintainer: |
Teppei Yamamoto <tyamam at waseda.jp> |
| License: |
GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
| URL: |
https://imai.princeton.edu/projects/mechanisms.html |
| NeedsCompilation: |
no |
| Citation: |
mediation citation info |
| Materials: |
README, NEWS, ChangeLog |
| In views: |
CausalInference, Epidemiology, Psychometrics |
| CRAN checks: |
mediation results |