Package: strat
Type: Package
Title: An Implementation of the Stratification Index
Version: 0.1
Authors@R: person("Xiang", "Zhou", email = "xiang_zhou@fas.harvard.edu",
  role = c("aut", "cre"))
Description: 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.
Depends: R (>= 3.3.1),
Imports: Hmisc (>= 4.0-0), Rcpp, stats
LinkingTo: Rcpp, RcppArmadillo
License: GPL (>= 3)
LazyData: TRUE
RoxygenNote: 5.0.1
Suggests: testthat
URL: https://github.com/xiangzhou09/strat
BugReports: https://github.com/xiangzhou09/strat/issues
NeedsCompilation: yes
Packaged: 2016-11-22 17:44:43 UTC; xiz225
Author: Xiang Zhou [aut, cre]
Maintainer: Xiang Zhou <xiang_zhou@fas.harvard.edu>
Repository: CRAN
Date/Publication: 2016-11-23 01:26:06
Built: R 4.6.0; aarch64-apple-darwin23; 2026-04-25 13:53:09 UTC; unix
Archs: strat.so.dSYM
