rbw
Residual Balancing Weights for Marginal Structural Models
Description
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.
Downloads
195
Last 30 days
17131st
195
Last 90 days
195
Last year
CRAN Check Status
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | NOTE |
| r-devel-linux-x86_64-debian-gcc | NOTE |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-macos-arm64 | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check details (14 non-OK)
CRAN incoming feasibility
Maintainer: ‘Xiang Zhou <xiang_zhou@fas.harvard.edu>’ The BugReports field in DESCRIPTION has https://github.com/xiangzhou09/rbw which should likely be https://github.com/xiangzhou09/rbw/issues instead.
CRAN incoming feasibility
Maintainer: ‘Xiang Zhou <xiang_zhou@fas.harvard.edu>’ The BugReports field in DESCRIPTION has https://github.com/xiangzhou09/rbw which should likely be https://github.com/xiangzhou09/rbw/issues instead.
*
*
*
*
*
*
*
*
*
*
*
*
Check History
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
CRAN incoming feasibility
Maintainer: ‘Xiang Zhou <xiang_zhou@fas.harvard.edu>’ The BugReports field in DESCRIPTION has https://github.com/xiangzhou09/rbw which should likely be https://github.com/xiangzhou09/rbw/issues instead.
CRAN incoming feasibility
Maintainer: ‘Xiang Zhou <xiang_zhou@fas.harvard.edu>’ The BugReports field in DESCRIPTION has https://github.com/xiangzhou09/rbw which should likely be https://github.com/xiangzhou09/rbw/issues instead.