kosukeimai/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>, 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.

Getting started

Package details

AuthorDustin Tingley [aut], Teppei Yamamoto [aut, cre], Kentaro Hirose [aut], Luke Keele [aut], Kosuke Imai [aut], Minh Trinh [aut], Weihuang Wong [aut]
MaintainerTeppei Yamamoto <tyamam@waseda.jp>
LicenseGPL (>= 2)
Version4.5.1
URL https://imai.princeton.edu/projects/mechanisms.html
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("kosukeimai/mediation")
kosukeimai/mediation documentation built on June 9, 2025, 5:17 p.m.