strat: An Implementation of the Stratification Index

Share:

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.

Author
Xiang Zhou [aut, cre]
Date of publication
2016-11-23 01:26:06
Maintainer
Xiang Zhou <xiang_zhou@fas.harvard.edu>
License
GPL (>= 3)
Version
0.1
URLs

View on CRAN

Man pages

cpsmarch2015
A Subset of March CPS 2015 Sample
print.srank
Print an object of class 'srank'
print.strat
Print an object of class 'strat'
srank
Ranking strata.
strat
Stratification index.

Files in this package

strat
strat/inst
strat/inst/CITATION
strat/tests
strat/tests/testthat.R
strat/tests/testthat
strat/tests/testthat/test-srank.R
strat/src
strat/src/RcppExports.cpp
strat/src/strat_cpp.cpp
strat/NAMESPACE
strat/data
strat/data/cpsmarch2015.rda
strat/R
strat/R/utils.R
strat/R/data.R
strat/R/RcppExports.R
strat/R/print.R
strat/R/srank.R
strat/R/strat.R
strat/MD5
strat/DESCRIPTION
strat/man
strat/man/print.srank.Rd
strat/man/srank.Rd
strat/man/cpsmarch2015.Rd
strat/man/print.strat.Rd
strat/man/strat.Rd