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 927 days ago
Needs compilation? no
License GPL-3
CRAN checks natstrat results

Downloads

Yesterday 6 0%
Last 7 days 65 +16%
Last 30 days 198 -10%
Last 90 days 595 -25%
Last 365 days 2.518 +12%

Maintainer

Maintainer

Katherine Brumberg

kbrum@wharton.upenn.edu

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