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

20K

Last 30 days

810th

20K

Last 90 days

20K

Last year

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 (14 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
OK 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

*


            

Check History

NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 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 9, 2026