An implementation of the stratification index proposed by Zhou (2012) . The package provides two functions, srank, which returns stratum-specific information, including population share and average percentile rank; and strat, which returns the stratification index and its approximate standard error. When a grouping factor is specified, strat also provides a detailed decomposition of the overall stratification into between-group and within-group components.

Documentation

Manual: strat.pdf
Vignette: None available.

Maintainer: Xiang Zhou <xiang_zhou at fas.harvard.edu>

Author(s): Xiang Zhou*

Install package and any missing dependencies by running this line in your R console:

install.packages("strat")

Depends R (>= 3.3.1),
Imports Hmisc(>=4.0-0), Rcpp, stats
Suggests testthat
Enhances
Linking to Rcpp, RcppArmadillo
Reverse
depends
Reverse
imports
Reverse
suggests
Reverse
enhances
Reverse
linking to

Package strat
Materials
URL https://github.com/xiangzhou09/strat
Task Views
Version 0.1
Published 2016-11-23
License GPL (>= 3)
BugReports https://github.com/xiangzhou09/strat/issues
SystemRequirements
NeedsCompilation yes
Citation
CRAN checks strat check results
Package source strat_0.1.tar.gz