strat: An Implementation of the Stratification Index

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.

Getting started

Package details

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

Try the strat package in your browser

Any scripts or data that you put into this service are public.

strat documentation built on May 2, 2019, 1:45 p.m.