boot.sd1.sub {affluenceIndex}R Documentation

Bootstrap standard error 1

Description

The estimation of bootstrap standard error of affluence index in subpopulation.

Usage

boot.sd1.sub(x.sub, x, weight.sub, weight, kp, nsim, boot.index=c("r.hc", "r.is"), gamma)

Arguments

x

income vector of subpopulation

x.sub

income vector of population

weight.sub

weight vector of subpopulation

weight

weight vector of population

kp

multiple of the median income (k) or order of quantile (p)

nsim

the number of replications

boot.index

the index for which the error is estimated

gamma

confidence level

Details

The function uses quantile method of calculating bootstrap confidence intervals.

Value

se.r

the bootstrap error of the affluence index

summary

bootstrap summary

boot.ind

bootstraped sample of index

Author(s)

Alicja Wolny-Dominiak

References

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

Examples

data(affluence)
affluence$weight <- rep(1, nrow(affluence))
aff.sub <- subset(affluence, education == 2)

boot.sd1.sub(aff.sub$income, affluence$income, aff.sub$weight, affluence$weight, 
             0.9, 10, "r.is", 0.95)

boot.sd1.sub(aff.sub$income, affluence$income, aff.sub$weight, affluence$weight, 
             0.9, 10, "r.hc", 0.95)

[Package affluenceIndex version 2.1 Index]