Skip to content

mediation

Causal Mediation Analysis

v4.5.1 · Jun 7, 2025 · GPL (>= 2)

Description

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.

Downloads

22.1K

Last 30 days

798th

64.8K

Last 90 days

283.7K

Last year

Trend: +4% (30d vs prior 30d)

CRAN Check Status

2 NOTE
12 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (2 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Teppei Yamamoto <tyamam@waseda.jp>’

Found the following (possibly) invalid file URI:
  URI: dtingley@gov.harvard.edu
    From: inst/doc/mediation-old.pdf
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Teppei Yamamoto <tyamam@waseda.jp>’

Found the following (possibly) invalid file URI:
  URI: dtingley@gov.harvard.edu
    From: inst/doc/mediation-old.pdf

Check History

NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Teppei Yamamoto <tyamam@waseda.jp>’

Found the following (possibly) invalid file URI:
  URI: dtingley@gov.harvard.edu
    From: inst/doc/mediation-old.pdf
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Teppei Yamamoto <tyamam@waseda.jp>’

Found the following (possibly) invalid file URI:
  URI: dtingley@gov.harvard.edu
    From: inst/doc/mediation-old.pdf

Reverse Dependencies (16)

depends

Dependency Network

Dependencies Reverse dependencies MASS Matrix mvtnorm sandwich lpSolve Hmisc lme4 boot mediationsens EMAS bruceR exploratory maczic JSmediation WRS2 bayestestR brainGraph broom broom.mixed datawizard emmeans iMediate parameters +1 more reverse deps mediation

Version History

new 4.5.1 Mar 10, 2026
updated 4.5.1 ← 4.5.0 diff Jun 7, 2025
updated 4.5.0 ← 4.4.7 diff Oct 8, 2019
updated 4.4.7 ← 4.4.6 diff Mar 16, 2019
updated 4.4.6 ← 4.4.5 diff Jul 11, 2017
updated 4.4.5 ← 4.4.4 diff Jul 17, 2015
updated 4.4.4 ← 4.4.3 diff Mar 2, 2015
updated 4.4.3 ← 4.4.2 diff Nov 22, 2014
updated 4.4.2 ← 4.4.1 diff Aug 26, 2014
updated 4.4.1 ← 4.4 diff Aug 12, 2014
updated 4.4 ← 4.3.1 diff Dec 8, 2013
updated 4.3.1 ← 4.3 diff Oct 16, 2013
updated 4.3 ← 4.2.4 diff Oct 13, 2013
updated 4.2.4 ← 4.2.3 diff Sep 25, 2013
updated 4.2.3 ← 4.2.2 diff Aug 25, 2013
updated 4.2.2 ← 4.2.1 diff Apr 17, 2013
updated 4.2.1 ← 4.2 diff Mar 3, 2013
updated 4.2 ← 4.1.2 diff Dec 17, 2012
updated 4.1.2 ← 4.1 diff Aug 23, 2012
updated 4.1 ← 4.0.1 diff Jun 2, 2012