A Regression-with-Residuals Method for Estimating Controlled Direct Effects

View Researcher's Other Codes

Disclaimer: The provided code links for this paper are external links. Science Nest has no responsibility for the accuracy, legality or content of these links. Also, by downloading this code(s), you agree to comply with the terms of use as set out by the author(s) of the code(s).

Authors Xiang Xing Zhou, Geoffrey T. Wodtke
Journal/Conference Name POLITICAL ANALYSIS
Paper Category
Paper Abstract Political scientists are increasingly interested in causal mediation, and to this end, recent studies focus on estimating a quantity called the controlled direct e ect (CDE). The CDE measures the strength of the causal relationship between a treatment and outcome when a mediator is fixed at a given value. To estimate the CDE, Jo e and Greene (2009) and Vansteelandt (2009) developed the method of sequential g-estimation, which was introduced to political science by Acharya, Blackwell, and Sen (2016). In this letter, we propose an alternative method called “regression-with-residuals” (RWR) for estimating the CDE. In special cases, we show that these two methods are algebraically equivalent. Yet, unlike sequential g-estimation, RWR can easily accommodate several types of e ect moderation, including cases in which the e ect of the mediator on the outcome is moderated by a posttreatment confounder. Although common in the social sciences, this type of e ect moderation is typically assumed away in applications of sequential g-estimation, which may lead to bias if e ectmoderation is in fact present. We illustrate RWR by estimating the CDE of negativemedia framing on public support for immigration, controlling for respondent anxiety.
Date of publication 2019
Code Programming Language R

Copyright Researcher 2022