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:Xiang Zhou [cre], Derick da Silva Baum [aut]

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'))

Peer review:

Bug tracker:https://github.com/xiangzhou09/rbw/issues

Datasets:
  • 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

On CRAN:

4.60 score 8 stars 5 scripts 196 downloads 4 exports 16 dependencies

Last updated 3 years agofrom:78b6c94e7f. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 14 2024
R-4.5-winOKNov 14 2024
R-4.5-linuxOKNov 14 2024
R-4.4-winOKNov 14 2024
R-4.4-macOKNov 14 2024
R-4.3-winOKNov 14 2024
R-4.3-macOKNov 14 2024

Exports:eb2rbwMedrbwPanelrbwPoint

Dependencies:clidplyrfansigenericsgluelifecyclemagrittrpillarpkgconfigR6rlangtibbletidyselectutf8vctrswithr

rbw: An R package for Constructing Residual BalancingWeights

Rendered fromrbw-vignette.Rnwusingutils::Sweaveon Nov 14 2024.

Last update: 2022-03-01
Started: 2022-03-01