Description Details Author(s) See Also
Natural strata fix a constant ratio of controls to treated units within each stratum. This ratio need not be an integer. The control units are chosen using randomized rounding of a linear program that balances many covariates. To solve the linear program, the 'Gurobi' commercial optimization software is recommended, but not required. The 'gurobi' R package can be installed following the instructions here.
To achieve the desired ratio of control to treated units,
a subset of control units are
chosen using by optimizing the balance of many covariates using
either randomized rounding of a linear program or
an integer program. The main function in this package is optimize_controls()
.
To create the input constraints for this function, you should use
generate_constraints()
.
Maintainer: Katherine Brumberg kbrum@wharton.upenn.edu
Useful links:
https://www.gurobi.com/documentation/9.1/refman/ins_the_r_package.html
Report bugs at https://github.com/kkbrum/natstrat/issues
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.