optweight

Targeted Stable Balancing Weights Using Optimization

Use optimization to estimate weights that balance covariates for binary, multinomial, and continuous treatments in the spirit of Zubizarreta (2015) <doi:10.1080/01621459.2015.1023805>. The degree of balance can be specified for each covariate. In addition, sampling weights can be estimated that allow a sample to generalize to a population specified with given target moments of covariates.

Tests Vignettes

Dependencies

Imports/Depends/LinkingTo/Enhances (3)
  • R
  • osqp >= 0.6.0.2
  • ggplot2 >= 3.0.0
  • Suggests (2)
  • cobalt >= 3.8.0
  • twang >= 1.5
  • Version History