Learn R Programming

sbw (version 1.2)

Stable Balancing Weights for Causal Inference and Missing Data

Description

Implements the Stable Balancing Weights by Zubizarreta (2015) . 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) . 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 .

Copy Link

Version

Install

install.packages('sbw')

Monthly Downloads

8,833

Version

1.2

License

GPL-2 | GPL-3

Maintainer

Jose Zubizarreta

Last Published

October 17th, 2025

Functions in sbw (1.2)

lalonde

The Lalonde data set
visualize

Visualize output from sbw
summarize

Summarize output from sbw
estimate

Estimate causal contrasts and population means
sbw

Stable balancing weights for causal contrasts and population means.