Skip to contents

Each group against the rest: Theil's entropy index H, Atkinson's index with shape delta, and the Gini segregation index.

Usage

SegregationEvenness(x, delta = 0.5)

Arguments

x

Units x groups count matrix.

delta

Atkinson shape in (0, 1).

Value

list(H, atkinson, gini).

References

Massey, D. S. and Denton, N. A. (1988). Social Forces 67, 281-315. Atkinson, A. B. (1970). On the measurement of inequality. Journal of Economic Theory 2, 244-263.

Examples

SegregationEvenness(rbind(c(10, 0), c(0, 10)))$H
#> [1] 1 1