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 marginal effects of time-varying treatments and controlled direct/mediator effects in causal mediation analysis (Zhou and Wodtke 2020 <doi:10.1017/pan.2020.2>). This package provides two main functions, rbwPanel() and rbwMed(), that produce residual balancing weights for analyzing time-varying treatments and causal mediation respectively.

Getting started

Package details

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

Try the rbw package in your browser

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

rbw documentation built on April 17, 2020, 1:16 a.m.