Med4way: a Stata command to investigate mediating and interactive mechanisms using the four-way effect decomposition

被引:159
作者
Discacciati, Andrea [1 ]
Bellavia, Andrea [2 ,3 ]
Lee, Jane J. [2 ,4 ]
Mazumdar, Maitreyi [2 ,4 ]
Valeri, Linda [5 ]
机构
[1] Karolinska Inst, Inst Environm Med, Stockholm, Sweden
[2] Harvard TH Chan Sch Publ Hlth, Dept Environm Hlth, Boston, MA USA
[3] Harvard TH Chan Sch Publ Hlth, Dept Biostat, Boston, MA USA
[4] Boston Childrens Hosp, Dept Neurol, Boston, MA USA
[5] Columbia Univ, Mailman Sch Publ Hlth, Dept Biostat, New York, NY 10027 USA
关键词
Decomposition; interaction; mediation; software; Stata;
D O I
10.1093/ije/dyy236
中图分类号
R1 [预防医学、卫生学];
学科分类号
1004 ; 120402 ;
摘要
The overall effect of an exposure on an outcome, in the presence of a mediator with which the exposure may interact, can be decomposed into four components that correspond to the portion of the effect that is due: (i) to neither mediation nor interaction; (ii) to just interaction (but not mediation); (iii) to both mediation and interaction; and (iv) to just mediation (but not interaction). This four-way decomposition unifies methods to attribute effects to interactions and methods that assess mediation. We introduce the Stata command med4way to estimate the causal contrasts that arise in this decomposition. Med4way is implemented as a Stata stand-alone command requiring Stata version 10 or higher (StataCorp, College Station, TX, USA), and allows estimating the four-way decomposition using parametric regression models. Med4way can be used when the outcome is continuous, dichotomous, count or survival time, and the mediator is continuous or binary. The command accommodates cohort and case-control designs. We present two examples of application of the command to gain insight on important public health problems. In the first application, we employ med4way to investigate the role of birth outcomes in explaining the effect of maternal exposure to manganese on child neurodevelopment. In the second application, we investigate the role of stage at diagnosis in explaining income disparities in colorectal cancer survival. The command is freely available on GitHub [https://github.com/anddis/med4way] and has been published under General Public License (GPL) version 3.
引用
收藏
页码:15 / 20
页数:6
相关论文
共 9 条
  • [1] [Anonymous], 2015, EXPLANATION CAUSAL I
  • [2] Growth parameters at birth mediate the relationship between prenatal manganese exposure and cognitive test scores among a cohort of 2-to 3-year-old Bangladeshi children
    Lee, Jane J.
    Valeri, Linda
    Kapur, Kush
    Hasan, Md Omar Sharif Ibne
    Quamruzzaman, Quazi
    Wright, Robert O.
    Bellinger, David C.
    Christiani, David C.
    Mazumdar, Maitreyi
    [J]. INTERNATIONAL JOURNAL OF EPIDEMIOLOGY, 2018, 47 (04) : 1169 - 1179
  • [3] Mediation analysis
    MacKinnon, David P.
    Fairchild, Amanda J.
    Fritz, Matthew S.
    [J]. ANNUAL REVIEW OF PSYCHOLOGY, 2007, 58 : 593 - 614
  • [4] IDENTIFIABILITY AND EXCHANGEABILITY FOR DIRECT AND INDIRECT EFFECTS
    ROBINS, JM
    GREENLAND, S
    [J]. EPIDEMIOLOGY, 1992, 3 (02) : 143 - 155
  • [5] SAS Institute, 2017, SAS/STAT 14.3 User's Guide
  • [6] Valeri L, 2017, ENVIRON HEALTH PERSP, V125, DOI [10.1289/ehp614, 10.1289/EHP614]
  • [7] Mediation analysis when a continuous mediator is measured with error and the outcome follows a generalized linear model
    Valeri, Linda
    Lin, Xihong
    VanderWeele, Tyler J.
    [J]. STATISTICS IN MEDICINE, 2014, 33 (28) : 4875 - 4890
  • [8] Mediation Analysis Allowing for Exposure-Mediator Interactions and Causal Interpretation: Theoretical Assumptions and Implementation With SAS and SPSS Macros
    Valeri, Linda
    VanderWeele, Tyler J.
    [J]. PSYCHOLOGICAL METHODS, 2013, 18 (02) : 137 - 150
  • [9] A Unification of Mediation and Interaction A 4-Way Decomposition
    VanderWeele, Tyler J.
    [J]. EPIDEMIOLOGY, 2014, 25 (05) : 749 - 761