strat: An Implementation of the Stratification Index
Version 0.1

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.

Browse man pages Browse package API and functions Browse package files

AuthorXiang Zhou [aut, cre]
Date of publication2016-11-23 01:26:06
MaintainerXiang Zhou <xiang_zhou@fas.harvard.edu>
LicenseGPL (>= 3)
Version0.1
URL https://github.com/xiangzhou09/strat
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("strat")

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.

Functions

clean Source code
cpsmarch2015 Man page
onUnload Source code
print.srank Man page Source code
print.strat Man page Source code
srank Man page Source code
strat Man page Source code
strat_cpp Source code
strat_cpp_by Source code
wtd_rank Source code

Files

inst
inst/CITATION
tests
tests/testthat.R
tests/testthat
tests/testthat/test-srank.R
src
src/RcppExports.cpp
src/strat_cpp.cpp
NAMESPACE
data
data/cpsmarch2015.rda
R
R/utils.R
R/data.R
R/RcppExports.R
R/print.R
R/srank.R
R/strat.R
MD5
DESCRIPTION
man
man/print.srank.Rd
man/srank.Rd
man/cpsmarch2015.Rd
man/print.strat.Rd
man/strat.Rd
strat documentation built on May 20, 2017, 2:30 a.m.