sbw
Stable Balancing Weights for Causal Inference and Missing Data
Description
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 <https://docs.gurobi.com/projects/optimizer/en/current/reference/r.html> and <http://foges.github.io/pogs/stp/r>.
Downloads
2.5K
Last 30 days
2535th
2.5K
Last 90 days
2.5K
Last year
CRAN Check Status
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-macos-arm64 | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | NOTE |
| r-oldrel-macos-x86_64 | NOTE |
| r-oldrel-windows-x86_64 | NOTE |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check details (14 non-OK)
*
*
*
*
*
*
package dependencies
Packages which this enhances but not available for checking: 'gurobi', 'Rcplex', 'pogs'
package dependencies
Packages which this enhances but not available for checking: 'gurobi', 'Rcplex', 'pogs'
package dependencies
Packages which this enhances but not available for checking: 'gurobi', 'Rcplex', 'pogs'
*
*
*
*
*
Check History
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
package dependencies
Packages which this enhances but not available for checking: 'gurobi', 'Rcplex', 'pogs'
package dependencies
Packages which this enhances but not available for checking: 'gurobi', 'Rcplex', 'pogs'
package dependencies
Packages which this enhances but not available for checking: 'gurobi', 'Rcplex', 'pogs'