sbw: Stable Balancing Weights for Causal Inference and Missing Data

Implements the Stable Balancing Weights by Zubizarreta (2015) <doi:10.1080/01621459.2015.1023805>. These are the weights of minimum variance that approximately balance the empirical distribution of the observed covariates. For an overview, see Chattopadhyay, Hase and Zubizarreta (2020) <doi:10.1002/sim.8659>. To solve the optimization problem in 'sbw', the default solver is 'quadprog', which is readily available through CRAN. The solver 'osqp' is also posted on CRAN. To enhance the performance of 'sbw', users are encouraged to install other solvers such as 'gurobi' and 'Rmosek', which require special installation. For the installation of gurobi and pogs, please follow the instructions at <> and <>.

Version: 1.1.8
Depends: R (≥ 3.2), Matrix, quadprog, slam
Imports: MASS, spatstat.univar
Suggests: knitr, rmarkdown
Enhances: gurobi, Rcplex, Rmosek, pogs, osqp
Published: 2024-07-09
DOI: 10.32614/CRAN.package.sbw
Author: Jose R. Zubizarreta [aut, cre], Yige Li [aut], Kwangho Kim [aut], Amine Allouah [ctb], Noah Greifer [ctb]
Maintainer: Jose R. Zubizarreta <zubizarreta at>
License: GPL-2 | GPL-3
NeedsCompilation: no
In views: CausalInference
CRAN checks: sbw results


Reference manual: sbw.pdf


Package source: sbw_1.1.8.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): sbw_1.1.8.tgz, r-oldrel (arm64): sbw_1.1.8.tgz, r-release (x86_64): sbw_1.1.8.tgz, r-oldrel (x86_64): sbw_1.1.8.tgz
Old sources: sbw archive

Reverse dependencies:

Reverse suggests: cobalt, missDiag


Please use the canonical form to link to this page.