Crandore Hub

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.

Versions across snapshots

VersionRepositoryFileSize
0.1 rolling linux/jammy R-4.5 strat_0.1.tar.gz 217.0 KiB
0.1 rolling linux/noble R-4.5 strat_0.1.tar.gz 218.0 KiB
0.1 rolling source/ R- strat_0.1.tar.gz 145.8 KiB
0.1 latest linux/jammy R-4.5 strat_0.1.tar.gz 217.0 KiB
0.1 latest linux/noble R-4.5 strat_0.1.tar.gz 218.0 KiB
0.1 latest source/ R- strat_0.1.tar.gz 145.8 KiB
0.1 2026-04-26 source/ R- strat_0.1.tar.gz 145.8 KiB
0.1 2026-04-23 source/ R- strat_0.1.tar.gz 145.8 KiB
0.1 2026-04-09 windows/windows R-4.5 strat_0.1.zip 539.6 KiB
0.1 2025-04-20 source/ R- strat_0.1.tar.gz 145.8 KiB

Dependencies (latest)

Imports

LinkingTo

Suggests