CRAN/E | rbw

rbw

Residual Balancing Weights for Marginal Structural Models

Installation

About

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.

Citation rbw citation info
github.com/xiangzhou09/rbw
Bug report File report

Key Metrics

Version 0.3.2
R ≥ 3.5.0
Published 2022-03-01 789 days ago
Needs compilation? no
License GPL (≥ 3)
CRAN checks rbw results

Downloads

Yesterday 14 0%
Last 7 days 61 +30%
Last 30 days 186 -7%
Last 90 days 571 -28%
Last 365 days 2.442 -19%

Maintainer

Maintainer

Xiang Zhou

xiang_zhou@fas.harvard.edu

Authors

Xiang Zhou

cre

Derick da Silva Baum

aut

Material

README
NEWS
Reference manual
Package source

Vignettes

rbw: An R package for Constructing Residual BalancingWeights

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

rbw archive

Depends

R ≥ 3.5.0

Imports

dplyr ≥ 0.8.4
stats
rlang ≥ 0.4.4

Suggests

ebal
knitr
survey
rmarkdown
testthat ≥ 3.0.0