Description Usage Arguments Value References See Also Examples
A function computing Reardon (2011) rank-ordered segregation indices
1 | rankorderseg(x, polorder = 4, pred = NULL)
|
x |
- an object of class matrix (or which can be coerced to that class), where each column represents the distribution of a group within spatial units. The number of columns should be greater than 1 (at least 2 groups are required). You should not include a column with total population, because this will be interpreted as a group. The rows represent the nominal categories (spatial units) and the columns the population distribution as ordered groups divided by thresholds |
polorder |
- order of the polynomial approximation (4 by default) |
pred |
- a numerical vector with percentiles to be predicted. If NULL, the predictions are made at threshold levels |
A list containing the results for three rank-ordered indices: rank-order information theory index (Hr), rank-order variation ratio index (Rr) and rank-order square root index (Sr). For each index, a sublist is provided, containing: Index - the rank-ordered index value Hp/Rp/Sp - a vector with ordinal information theory/variance ratio/square root segregation index values at thresholds Coefficients - Coefficients extracted from the polynomial estimation model, including basic statistics Predict - a list contining predicted values of the coresponding ordinal index (fit); standard error of predicted means (se.fit); degrees of freedom for residual (df); and residual standard deviations (residuale.scale). If pred is NULL, the function will return the the statistics at thresholds
Reardon S. F. (2011) Measures of Income Segregation . The Stanford Center on Poverty and Inequality
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.