Tingley, Dustin, Teppei Yamamoto, Luke Keele, and Kosuke Imai. (2014). ``mediation: R Package for Causal Mediation Analysis.'' Journal of Statistical Software, Vol. 59, No. 5 (August), pp. 1-38.

Abstract

In this paper, we describe the R package mediation for conducting causal mediation analysis in applied empirical research. In many scientific disciplines, the goal of researchers is not only estimating causal effects of a treatment but also understanding the process in which the treatment causally affects the outcome. Causal mediation analysis is frequently used to assess potential causal mechanisms. The mediation package implements a comprehensive suite of statistical tools for conducting such an analysis. The package is organized into two distinct approaches. Using the model-based approach, researchers can estimate causal mediation effects and conduct sensitivity analysis under the standard research design. Furthermore, the design-based approach provides several analysis tools that are applicable under different experimental designs. This approach requires weaker assumptions than the model-based approach. We also implement a statistical method for dealing with multiple (causally dependent) mediators, which are often encountered in practice. Finally, the package also offers a methodology for assessing causal mediation in the presence of treatment noncompliance, a common problem in randomized trials.

Software

mediation: R Package for Causal Mediation Analysis — CRAN / GitHub

Related Papers

Imai, Kosuke, and Zhichao Jiang (2020). ``Identification and Sensitivity Analysis of Contagion Effects in Randomized Placebo-Controlled Trials.'' Journal of the Royal Statistical Society, Series A (Statistics in Society), Vol. 183, No. 4 (October), pp. 1637-1657.
Imai, Kosuke, Luke Keele, Dustin Tingley, and Teppei Yamamoto (2014). ``Comment on Pearl: Practical Implications of Theoretical Results for Causal Mediation Analysis.'' Psychological Methods, Vol. 19, No. 4 (December), 482-487.
Imai, Kosuke and Teppei Yamamoto (2013). ``Identification and Sensitivity Analysis for Multiple Causal Mechanisms: Revisiting Evidence from Framing Experiments.'' Political Analysis, Vol. 21, No. 2 (Spring), pp. 141-171.
Imai, Kosuke, Dustin Tingley, and Teppei Yamamoto (2013). ``Experimental Designs for Identifying Causal Mechanisms.'' (with discussions) Journal of the Royal Statistical Society, Series A (Statistics in Society), Vol. 176, No. 1 (January), pp. 5-51. Read before the Royal Statistical Society in March, 2012.
Imai, Kosuke, Luke Keele, Dustin Tingley, and Teppei Yamamoto (2011). ``Unpacking the Black Box of Causality: Learning about Causal Mechanisms from Experimental and Observational Studies.'' American Political Science Review, Vol. 105, No. 4 (November), pp. 765-789. Reprinted in Advances in Political Methodology, R. Franzese, Jr. ed., Edward Elger, 2017.
Imai, Kosuke, Luke Keele, and Dustin Tingley (2010). ``A General Approach to Causal Mediation Analysis.'' Psychological Methods, Vol. 15, No. 4 (December), pp. 309-334.
Imai, Kosuke, Luke Keele, Dustin Tingley, and Teppei Yamamoto (2010). ``Causal Mediation Analysis Using R.'' ,'' in Advances in Social Science Research Using R, ed. H. D. Vinod, New York: Springer (Lecture Notes in Statistics), pp. 129-154.
Imai, Kosuke, Luke Keele, and Teppei Yamamoto (2010). ``Identification, Inference, and Sensitivity Analysis for Causal Mediation Effects.'' Statistical Science, Vol. 25, No. 1 (February), pp. 51-71.
Chan, K.C.G, K. Imai, S.C.P. Yam, Z. Zhang ``Efficient Nonparametric Estimation of Causal Mediation Effects.''
© Kosuke Imai