Package: rbw 0.3.2
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.
Authors:
rbw_0.3.2.tar.gz
rbw_0.3.2.zip(r-4.7)rbw_0.3.2.zip(r-4.6)rbw_0.3.2.zip(r-4.5)
rbw_0.3.2.tgz(r-4.6-any)rbw_0.3.2.tgz(r-4.5-any)
rbw_0.3.2.tar.gz(r-4.7-any)rbw_0.3.2.tar.gz(r-4.6-any)
rbw_0.3.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
rbw/json (API)
| # Install 'rbw' in R: |
| install.packages('rbw', repos = c('https://xiangzhou09.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/xiangzhou09/rbw/issues
- advertisement - Data on Political Advertisement and Campaign Contributions in US Presidential Elections
- campaign_long - Long-format Data on Negative Campaign Advertising in US Senate and Gubernatorial Elections
- campaign_wide - Wide-format Data on Negative Campaign Advertising in US Senate and Gubernatorial Elections
- peace - Data on Public Support for War in a Sample of US Respondents
Last updated from:78b6c94e7f. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 107 | ||
| source / vignettes | OK | 171 | ||
| linux-release-x86_64 | OK | 131 | ||
| macos-release-arm64 | OK | 100 | ||
| macos-oldrel-arm64 | OK | 117 | ||
| windows-devel | OK | 99 | ||
| windows-release | OK | 101 | ||
| windows-oldrel | OK | 77 | ||
| wasm-release | OK | 108 |
Exports:eb2rbwMedrbwPanelrbwPoint
Dependencies:clidplyrgenericsgluelifecyclemagrittrpillarpkgconfigR6rlangtibbletidyselectutf8vctrswithr
