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 marginal effects of time-varying treatments and controlled direct/mediator effects in causal mediation analysis (Zhou and Wodtke 2020 ). This package provides two main functions, rbwPanel() and rbwMed(), that produce residual balancing weights for analyzing time-varying treatments and causal mediation 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.2.0 by Xiang Zhou, a year ago

Report a bug at

Browse source code at

Authors: Xiang Zhou [aut, cre]

Documentation:   PDF Manual  

GPL (>= 3) license

Imports stats, rlang

Suggests ebal, survey

See at CRAN