Skip to content

Obtain unweighted natural strata that balance many covariates

Notifications You must be signed in to change notification settings

kkbrum/natstrat

Repository files navigation

natstrat

R-CMD-check Codecov test coverage

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.

Installation

You can install the released version from CRAN with:

install.packages("natstrat")

You can install the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("kkbrum/natstrat", build_vignettes = TRUE)

Usage

To learn about how to use this package, please see the associated vignette with:

browseVignettes(package = "natstrat")

About

Obtain unweighted natural strata that balance many covariates

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages