
๐ง The Problem With Post-Treatment Confounders
Post-treatment confounders make causal inference for time-varying treatments difficult. Conditioning on these variables can block causal pathways or create spurious associations, producing biased marginal effect estimates. Marginal structural models (MSMs) paired with inverse probability weighting (IPW) are commonly used to avoid this bias, but IPW has important drawbacks:
๐งช How Residual Balancing Constructs Weights
Residual balancing offers an alternative way to build weights for MSMs by modeling the conditional means of post-treatment confounders rather than the full conditional distributions of treatment. Key features include:
๐ Evidence: Simulations and Empirical Examples
Numeric simulations show that residual balancing is generally more efficient and more robust to model misspecification than IPW and common IPW variants across a range of scenarios. The method is illustrated with two applied examples:
Open-source software is available to implement residual balancing.
โ Why It Matters
Residual balancing provides a practical, more robust alternative to IPW for researchers using MSMs to study time-varying treatments. By shifting modeling effort from treatment distributions to confounder means, the approach improves finite-sample performance and makes analyses with continuous treatments more tractable, while reducing sensitivity to misspecification.

| Residual Balancing: A Method of Constructing Weights for Marginal Structural Models was authored by Xiang Zhou and Geoffrey T. Wodtke. It was published by Cambridge in Pol. An. in 2020. |