Package: sbwadjust 0.3.0.9000

sbwadjust: Stable Balancing Weights for Covariate Adjustment in Trials

Covariate adjustment for randomized trials using stable balancing weights (SBW), as proposed by Irish, Zubizarreta, and Luedtke (2026) <doi:10.48550/arXiv.2609.01638>. sbw_weights() fits exact-balance SBW for a two-arm study by a closed-form solve with a nonnegative quadratic-programming fallback; sbw_estimate() computes a closed menu of treatment-effect estimands (average treatment effect, relative risk, survival ratio, Mann-Whitney, quantile contrasts) from the fitted weights, with bootstrap confidence intervals.

Authors:Kayla Irish [aut, cre]

sbwadjust_0.3.0.9000.tar.gz
sbwadjust_0.3.0.9000.zip(r-4.7-any)sbwadjust_0.3.0.9000.zip(r-4.6-any)sbwadjust_0.3.0.9000.zip(r-4.5-any)
sbwadjust_0.3.0.9000.tgz(r-4.6-any)sbwadjust_0.3.0.9000.tgz(r-4.5-any)
sbwadjust_0.3.0.9000.tar.gz(r-4.7-any)sbwadjust_0.3.0.9000.tar.gz(r-4.6-any)
sbwadjust_0.3.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
sbwadjust/json (API)

# Install 'sbwadjust' in R:
install.packages('sbwadjust', repos = c('https://kaylairish.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/kaylairish/sbwadjust/issues

On CRAN:

Conda:

balancing-weightscausal-inferencecovariate-adjustmentrandomized-trials

3.70 score 2 stars 88 downloads 7 exports 4 dependencies

Last updated from:4f8d3c2281. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK103
source / vignettesOK206
linux-releaseOK723
macos-releaseOK108
macos-oldrelOK95
windows-develOK81
windows-releaseOK68
windows-oldrelOK63
wasm-releaseOK403

Exports:boot_km_ratioget_sbws_for_studyget_weights_for_group_negget_weights_for_group_nonnegkm_ratio_greenwoodsbw_estimatesbw_weights

Dependencies:latticeMatrixquadprogsurvival