r.is.sub: Income share of the top p % in subpopulation

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/r.is.sub.R

Description

Computes income share of the top p % in subpopulation.

Usage

1
r.is.sub(x.sub, x, weight.sub, weight, p)

Arguments

x.sub

income vector of subpopulation

x

income vector of population

weight.sub

weight vector of subpopulation

weight

weight vector of population

p

the order of quantile. Must be in [0,1] as probability

Value

r.2

the value of index

Author(s)

Alicja Wolny-Dominiak, Anna Saczewska-Piotrowska

References

Brzezinski M. (2010) Income affluence in Poland. Social Indicators Research, 99, pp. 285-299.

See Also

r.is

Examples

1
2
3
4
data(affluence)
affluence$weight <- rep(1, nrow(affluence))
aff.sub <- subset(affluence, education == 2)
r.is.sub(aff.sub$income, affluence$income, aff.sub$weight, affluence$weight, 0.9)

affluenceIndex documentation built on Jan. 5, 2022, 5:07 p.m.