Mediation

R package for causal mediation analysis

Dustin Tingley, Teppei Yamamoto, Kentaro Hirose, Luke Keele, Kosuke Imai

Research output: Contribution to journalArticle

372 Citations (Scopus)

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.

Original languageEnglish
Pages (from-to)1-38
Number of pages38
JournalJournal of Statistical Software
Volume59
Issue number5
Publication statusPublished - 2014 Aug 1
Externally publishedYes

Fingerprint

Mediation
Design of experiments
Sensitivity analysis
Statistical methods
Model-based
Noncompliance
Causal Effect
Randomized Trial
Empirical Research
Mediator
Experimental design
Statistical method
Sensitivity Analysis
Distinct
Methodology
Dependent
Estimate

Keywords

  • Causal mechanisms
  • Mediation analysis
  • Mediation, R.

ASJC Scopus subject areas

  • Software
  • Statistics and Probability
  • Statistics, Probability and Uncertainty

Cite this

Tingley, D., Yamamoto, T., Hirose, K., Keele, L., & Imai, K. (2014). Mediation: R package for causal mediation analysis. Journal of Statistical Software, 59(5), 1-38.

Mediation : R package for causal mediation analysis. / Tingley, Dustin; Yamamoto, Teppei; Hirose, Kentaro; Keele, Luke; Imai, Kosuke.

In: Journal of Statistical Software, Vol. 59, No. 5, 01.08.2014, p. 1-38.

Research output: Contribution to journalArticle

Tingley, D, Yamamoto, T, Hirose, K, Keele, L & Imai, K 2014, 'Mediation: R package for causal mediation analysis', Journal of Statistical Software, vol. 59, no. 5, pp. 1-38.
Tingley D, Yamamoto T, Hirose K, Keele L, Imai K. Mediation: R package for causal mediation analysis. Journal of Statistical Software. 2014 Aug 1;59(5):1-38.
Tingley, Dustin ; Yamamoto, Teppei ; Hirose, Kentaro ; Keele, Luke ; Imai, Kosuke. / Mediation : R package for causal mediation analysis. In: Journal of Statistical Software. 2014 ; Vol. 59, No. 5. pp. 1-38.
@article{0bc7b42942b14d0fb4795fa34c8ed940,
title = "Mediation: R package for causal mediation analysis",
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.",
keywords = "Causal mechanisms, Mediation analysis, Mediation, R.",
author = "Dustin Tingley and Teppei Yamamoto and Kentaro Hirose and Luke Keele and Kosuke Imai",
year = "2014",
month = "8",
day = "1",
language = "English",
volume = "59",
pages = "1--38",
journal = "Journal of Statistical Software",
issn = "1548-7660",
publisher = "University of California at Los Angeles",
number = "5",

}

TY - JOUR

T1 - Mediation

T2 - R package for causal mediation analysis

AU - Tingley, Dustin

AU - Yamamoto, Teppei

AU - Hirose, Kentaro

AU - Keele, Luke

AU - Imai, Kosuke

PY - 2014/8/1

Y1 - 2014/8/1

N2 - 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.

AB - 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.

KW - Causal mechanisms

KW - Mediation analysis

KW - Mediation, R.

UR - http://www.scopus.com/inward/record.url?scp=84899635953&partnerID=8YFLogxK

UR - http://www.scopus.com/inward/citedby.url?scp=84899635953&partnerID=8YFLogxK

M3 - Article

VL - 59

SP - 1

EP - 38

JO - Journal of Statistical Software

JF - Journal of Statistical Software

SN - 1548-7660

IS - 5

ER -