mediation: Causal Mediation Analysis

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>, Imai and Yamamoto (2013) <doi:10.1093/pan/mps040> and Yamamoto (2013) <>. In addition to the estimation of causal mediation effects, the software also allows researchers to conduct sensitivity analysis for certain parametric models.

Version: 4.4.6
Depends: R (≥ 2.15.1), MASS, Matrix, mvtnorm, sandwich
Imports: lpSolve, Hmisc, lme4 (≥ 1.0), stats, graphics, grDevices, utils
Suggests: mgcv, quantreg, VGAM, SuppDists, survival, parallel
Published: 2017-07-11
Author: Dustin Tingley, Teppei Yamamoto, Kentaro Hirose, Luke Keele, Kosuke Imai
Maintainer: Teppei Yamamoto <teppei at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: no
Citation: mediation citation info
Materials: README ChangeLog
In views: Psychometrics
CRAN checks: mediation results


Reference manual: mediation.pdf
Vignettes: mediation-old
Package source: mediation_4.4.6.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X El Capitan binaries: r-release: mediation_4.4.6.tgz
OS X Mavericks binaries: r-oldrel: mediation_4.4.6.tgz
Old sources: mediation archive

Reverse dependencies:

Reverse imports: brainGraph, iMediate
Reverse suggests: emmeans, gmediation, lsmeans


Please use the canonical form to link to this page.