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.
| Version: | 0.3.2 |
| Depends: | R (≥ 3.5.0) |
| Imports: | dplyr (≥ 0.8.4), stats, rlang (≥ 0.4.4) |
| Suggests: | ebal, knitr, survey, rmarkdown, testthat (≥ 3.0.0) |
| Published: | 2022-03-01 |
| DOI: | 10.32614/CRAN.package.rbw |
| Author: | Xiang Zhou [cre], Derick da Silva Baum [aut] |
| Maintainer: | Xiang Zhou <xiang_zhou at fas.harvard.edu> |
| BugReports: | https://github.com/xiangzhou09/rbw |
| License: | GPL (≥ 3) |
| URL: | https://github.com/xiangzhou09/rbw |
| NeedsCompilation: | no |
| Citation: | rbw citation info |
| Materials: | README, NEWS |
| CRAN checks: | rbw results |
| Reference manual: | rbw.html , rbw.pdf |
| Vignettes: |
rbw: An R package for Constructing Residual BalancingWeights (source) |
| Package source: | rbw_0.3.2.tar.gz |
| Windows binaries: | r-devel: rbw_0.3.2.zip, r-release: rbw_0.3.2.zip, r-oldrel: rbw_0.3.2.zip |
| macOS binaries: | r-release (arm64): rbw_0.3.2.tgz, r-oldrel (arm64): rbw_0.3.2.tgz, r-release (x86_64): rbw_0.3.2.tgz, r-oldrel (x86_64): rbw_0.3.2.tgz |
| Old sources: | rbw archive |
Please use the canonical form https://CRAN.R-project.org/package=rbw to link to this page.