An implementation of the stratification index proposed by Zhou (2012) <doi:10.1177/0081175012452207>. 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.
Version: | 0.1 |
Depends: | R (≥ 3.3.1) |
Imports: | Hmisc (≥ 4.0-0), Rcpp, stats |
LinkingTo: | Rcpp, RcppArmadillo |
Suggests: | testthat |
Published: | 2016-11-23 |
Author: | Xiang Zhou [aut, cre] |
Maintainer: | Xiang Zhou <xiang_zhou at fas.harvard.edu> |
BugReports: | https://github.com/xiangzhou09/strat/issues |
License: | GPL (≥ 3) |
URL: | https://github.com/xiangzhou09/strat |
NeedsCompilation: | yes |
Citation: | strat citation info |
CRAN checks: | strat results |
Reference manual: | strat.pdf |
Package source: | strat_0.1.tar.gz |
Windows binaries: | r-devel: strat_0.1.zip, r-release: strat_0.1.zip, r-oldrel: strat_0.1.zip |
macOS binaries: | r-release (arm64): strat_0.1.tgz, r-oldrel (arm64): strat_0.1.tgz, r-release (x86_64): strat_0.1.tgz, r-oldrel (x86_64): strat_0.1.tgz |
Please use the canonical form https://CRAN.R-project.org/package=strat to link to this page.