CRAN/E | natstrat

natstrat

Obtain Unweighted Natural Strata that Balance Many Covariates

Installation

About

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 .

github.com/kkbrum/natstrat
kkbrum.github.io/natstrat/
www.gurobi.com/documentation/9.1/refman/ins_the_r_package.html
Bug report File report

Key Metrics

Version 2.0.0
R ≥ 2.10
Published 2021-10-15 1090 days ago
Needs compilation? no
License GPL-3
CRAN checks natstrat results

Downloads

Yesterday 2 0%
Last 7 days 27 -53%
Last 30 days 198 -24%
Last 90 days 814 +35%
Last 365 days 2.795 +31%

Maintainer

Maintainer

Katherine Brumberg

Authors

Katherine Brumberg

aut / cre

Material

README
NEWS
Reference manual
Package source

Vignettes

Introduction to natstrat

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

natstrat archive

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