Description Usage Arguments Value References Examples
strat
computes the stratification index proposed in Zhou (2012). When
group
is specified, it also returns between-group and within-group
components of the overall stratification.
1 |
outcome |
A numeric vector of outcome. |
strata |
A vector of |
weights |
An optional vector of weights. |
ordered |
Logical. If |
group |
An optional grouping factor. If specified, |
An object of class strat
.
overall |
a vector of two, giving computed stratification index and approximate standard error. |
strata_info |
a data frame of stratum-specific information, including name, population share, and average percentile rank. |
decomposition |
between-group and within-group components of the overall stratification. |
within_group |
within-group indices of stratification by group. |
Zhou, Xiang. 2012. "A Nonparametric Index of Stratification." Sociological Methodology, 42(1): 365-389.
1 2 3 4 5 |
overall stratification:
strat std_error
0.41275 0.01296
decomposition by education:
weight strat
within education 0.2435 0.2684
between education 0.7565 0.4592
strata share s_prank
1 upper nonmanual 0.4344 0.6390
2 lower nonmanual 0.1190 0.4759
3 skilled manual 0.1605 0.4298
4 unskilled manual 0.2862 0.3385
education weight strat
1 less than HS 0.0188 0.2072
2 HS or equivalent 0.3707 0.2691
3 some college 0.2794 0.1946
4 BA or above 0.3312 0.3333
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.