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.5)rbw_0.3.2.zip(r-4.4)rbw_0.3.2.zip(r-4.3)
rbw_0.3.2.tgz(r-4.4-any)rbw_0.3.2.tgz(r-4.3-any)
rbw_0.3.2.tar.gz(r-4.5-noble)rbw_0.3.2.tar.gz(r-4.4-noble)
rbw_0.3.2.tgz(r-4.4-emscripten)rbw_0.3.2.tgz(r-4.3-emscripten)
rbw.pdf |rbw.html✨
rbw/json (API)
NEWS
# 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 3 years agofrom:78b6c94e7f. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 14 2024 |
R-4.5-win | OK | Nov 14 2024 |
R-4.5-linux | OK | Nov 14 2024 |
R-4.4-win | OK | Nov 14 2024 |
R-4.4-mac | OK | Nov 14 2024 |
R-4.3-win | OK | Nov 14 2024 |
R-4.3-mac | OK | Nov 14 2024 |
Exports:eb2rbwMedrbwPanelrbwPoint
Dependencies:clidplyrfansigenericsgluelifecyclemagrittrpillarpkgconfigR6rlangtibbletidyselectutf8vctrswithr