Hostname: page-component-74656f9884-rdgjk Total loading time: 0 Render date: 2026-11-07T19:14:41.081Z Has data issue: false hasContentIssue false

Residual Balancing: A Method of Constructing Weights for Marginal Structural Models

Published online by Cambridge University Press:  04 March 2020

Xiang Zhou*
Affiliation:
Department of Sociology, Harvard University, 1737 Cambridge Street, Cambridge, MA 02138, USA. Email: xiang_zhou@fas.harvard.edu
Geoffrey T. Wodtke
Affiliation:
Department of Sociology, University of Chicago, 1126 E. 59th St. Chicago, IL 60637, USA. Email: wodtke@uchicago.edu
Rights & Permissions [Opens in a new window]

Abstract

When making causal inferences, post-treatment confounders complicate analyses of time-varying treatment effects. Conditioning on these variables naively to estimate marginal effects may inappropriately block causal pathways and may induce spurious associations between treatment and the outcome, leading to bias. To avoid such bias, researchers often use marginal structural models (MSMs) with inverse probability weighting (IPW). However, IPW requires models for the conditional distributions of treatment and is highly sensitive to their misspecification. Moreover, IPW is relatively inefficient, susceptible to finite-sample bias, and difficult to use with continuous treatments. We introduce an alternative method of constructing weights for MSMs, which we call “residual balancing”. In contrast to IPW, it requires modeling the conditional means of the post-treatment confounders rather than the conditional distributions of treatment, and it is therefore easier to use with continuous treatments. Numeric simulations suggest that residual balancing is both more efficient and more robust to model misspecification than IPW and its variants in a variety of scenarios. We illustrate the method by estimating (a) the cumulative effect of negative advertising on election outcomes and (b) the controlled direct effect of shared democracy on public support for war. Open-source software is available for implementing the proposed method.

Information

Type
Articles
Copyright
Copyright © The Author(s) 2020. Published by Cambridge University Press on behalf of the Society for Political Methodology.
Figure 0

Figure 1. The logic of residual balancing. Note:$A_{t}$ denotes treatment at time $t$, $L_{t}$ denotes time-varying confounders at time $t$, and $Y$ denotes the end-of-study outcome.

Figure 1

Figure 2. Simulation results for a binary treatment. “Mild confounding” and “strong confounding” correspond to $\unicode[STIX]{x1D6FC}=0.4$ and $\unicode[STIX]{x1D6FC}=0.8$, respectively. Four different methods are compared: IPW based on the standard logistic regression (IPW-GLM), IPW based on the standard logistic regression with weights censored at the 1st and 99th percentiles (IPW-GLM-Censored), IPW based on the CBPS (IPW-CBPS), and residual balancing. As a benchmark, results from IPW based on true treatment probabilities (IPW-Truth) are also reported. The violin plots show the sampling distributions (from 2500 random samples) of different estimators centered at the true values of corresponding parameters, and the shaded violin plots highlight the estimator with the smallest root mean squared error (RMSE) in each scenario.

Figure 2

Figure 3. Simulation results for a continuous treatment. “Mild confounding” and “strong confounding” correspond to $\unicode[STIX]{x1D6FC}=0.4$ and $\unicode[STIX]{x1D6FC}=0.8$, respectively. Three different methods are compared: IPW based on the standard logistic regression (IPW-GLM), IPW based on the standard logistic regression with weights censored at the 1st and 99th percentiles (IPW-GLM-Censored), and residual balancing. As a benchmark, results from IPW based on true treatment probabilities (IPW-Truth) are also reported. The violin plots show the sampling distributions (from 2500 random samples) of different estimators centered at the true values of corresponding parameters, and the shaded violin plots highlight the estimator with the smallest root mean squared error (RMSE) in each scenario.

Figure 3

Table 1. Estimated marginal effects of negative advertising on the candidate’s vote share.

Figure 4

Table 2. Estimated CDE of shared democracy on support for war using IPW and residual balancing.

Supplementary material: File

Zhou and Wodtke supplementary material

Zhou and Wodtke supplementary material

Download Zhou and Wodtke supplementary material(File)
File 452.7 KB