natstrat: Obtain Unweighted Natural Strata that Balance Many Covariates
Natural strata can be used in observational studies to balance
the distributions of many covariates across any number of treatment
groups and any number of comparisons. These strata have proportional
amounts of units within each stratum across the treatments, allowing
for simple interpretation and aggregation across strata. Within each
stratum, the units are chosen using randomized rounding of a linear
program that balances many covariates. For more details, see Brumberg et al. (2022) <doi:10.1111/rssa.12848> and Brumberg et al.(2023) <doi:10.1093/jrsssc/qlad010>.
To solve the linear program, the 'Gurobi' commercial optimization software
is recommended, but not required. The 'gurobi' R package can be installed by following the instructions at <https://docs.gurobi.com/projects/optimizer/en/current/reference/r/setup.html> after claiming your free academic license at <https://www.gurobi.com/academia/academic-program-and-licenses/>.
| Version: |
2.0.1 |
| Depends: |
R (≥ 2.10), caret |
| Imports: |
Rglpk, stats, plyr, pps, sampling, ggplot2, rlang, ramify, slam |
| Suggests: |
knitr, rmarkdown, markdown, testthat (≥ 3.0.0), DT, stringr, covr, gurobi |
| Published: |
2026-02-03 |
| DOI: |
10.32614/CRAN.package.natstrat |
| Author: |
Katherine Brumberg [aut, cre] |
| Maintainer: |
Katherine Brumberg <kbrum at umich.edu> |
| BugReports: |
https://github.com/kkbrum/natstrat/issues |
| License: |
GPL-3 |
| URL: |
https://github.com/kkbrum/natstrat,
https://kkbrum.github.io/natstrat/,
https://docs.gurobi.com/projects/optimizer/en/current/reference/r/setup.html |
| NeedsCompilation: |
no |
| Citation: |
natstrat citation info |
| Materials: |
README, NEWS |
| CRAN checks: |
natstrat results |
Documentation:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=natstrat
to link to this page.