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. 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 at <>.

Version: 2.0.0
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: 2021-10-15
DOI: 10.32614/CRAN.package.natstrat
Author: Katherine Brumberg [aut, cre]
Maintainer: Katherine Brumberg <kbrum at>
License: GPL-3
NeedsCompilation: no
Materials: README NEWS
CRAN checks: natstrat results


Reference manual: natstrat.pdf
Vignettes: Introduction to natstrat


Package source: natstrat_2.0.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): natstrat_2.0.0.tgz, r-oldrel (arm64): natstrat_2.0.0.tgz, r-release (x86_64): natstrat_2.0.0.tgz, r-oldrel (x86_64): natstrat_2.0.0.tgz
Old sources: natstrat archive


Please use the canonical form to link to this page.