rbw: 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 <doi:10.1017/pan.2020.2>). This package provides three functions, rbwPoint(), rbwMed(), and rbwPanel(), that produce residual balancing weights for estimating (a), (b), (c), respectively.

Package details

AuthorXiang Zhou [cre], Derick da Silva Baum [aut]
MaintainerXiang Zhou <xiang_zhou@fas.harvard.edu>
LicenseGPL (>= 3)
Version0.3.2
URL https://github.com/xiangzhou09/rbw
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("rbw")

Try the rbw package in your browser

Any scripts or data that you put into this service are public.

rbw documentation built on March 18, 2022, 5:35 p.m.