powered by
Calculates the bootstrap standard errors.
boot.sd2(x, weight, k, alpha, nsim, boot.index = c("r.cha", "r.fgt"), gamma)
the bootstrap error
bootstrap summary
vector of bootstraped index
income vector
weight vector of population
multiple of the median income
parameter of the index: alpha > 0 for "r.cha", alpha > 1 for "r.fgt"
alpha
r.cha
r.fgt
the number of replications
the index for which the error is estimated
confidence level
Alicja Wolny-Dominiak
The function uses quantile method of calculating bootstrap confidence intervals.
Brzezinski M. (2010) Income affluence in Poland. Social Indicators Research, 99, pp. 285-299.
data(affluence) boot.sd2(affluence$income, weight = NULL, 2, 2, 10, "r.cha", 0.95) boot.sd2(affluence$income, weight = NULL, 2, 2, 10, "r.fgt", 0.95)
Run the code above in your browser using DataLab