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.
|Author||Xiang Zhou [aut, cre]|
|Maintainer||Xiang Zhou <firstname.lastname@example.org>|
|License||GPL (>= 3)|
|Package repository||View on CRAN|
Install the latest version of this package by entering the following in R:
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.