Residual Balancing Weights for Marginal Structural Models

Residual balancing is a robust method of constructing weights for marginal structural models, which can be used to estimate (a) the average treatment effect in a cross-sectional observational study, (b) controlled direct/mediator effects in causal mediation analysis, and (c) the effects of time-varying treatments in panel data (Zhou and Wodtke 2020 ). This package provides three functions, rbwATE(), rbwMed(), and rbwPanel(), that produce residual balancing weights for estimating (a), (b), (c), respectively.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.3.0 by Xiang Zhou, 4 months ago

Report a bug at

Browse source code at

Authors: Xiang Zhou [cre] , Derick da Silva Baum [aut]

Documentation:   PDF Manual  

GPL (>= 3) license

Imports dplyr, stats, rlang

Suggests knitr, ebal, survey, rmarkdown

See at CRAN