The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

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) <http://web.mit.edu/teppei/www/research/IVmediate.pdf>. 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.0
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: 2019-10-08
DOI: 10.32614/CRAN.package.mediation
Author: Dustin Tingley, Teppei Yamamoto, Kentaro Hirose, Luke Keele, Kosuke Imai, Minh Trinh, Weihuang Wong
Maintainer: Teppei Yamamoto <teppei at mit.edu>
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

Documentation:

Reference manual: mediation.pdf
Vignettes: mediation-old
mediation

Downloads:

Package source: mediation_4.5.0.tar.gz
Windows binaries: r-devel: mediation_4.5.0.zip, r-release: mediation_4.5.0.zip, r-oldrel: mediation_4.5.0.zip
macOS binaries: r-release (arm64): mediation_4.5.0.tgz, r-oldrel (arm64): mediation_4.5.0.tgz, r-release (x86_64): mediation_4.5.0.tgz, r-oldrel (x86_64): mediation_4.5.0.tgz
Old sources: mediation archive

Reverse dependencies:

Reverse depends: mediationsens
Reverse imports: bruceR, coxed, EMAS, exploratory, hdmed, maczic, mia
Reverse suggests: bayestestR, brainGraph, broom, broom.mixed, datawizard, emmeans, iMediate, JSmediation, parameters, WRS2

Linking:

Please use the canonical form https://CRAN.R-project.org/package=mediation to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.