powered by
Calculates the bootstrap standard errors.
boot.sd1(x, weight, kp, nsim, boot.index = c("r.hc", "r.is"), gamma)
the bootstrap error
bootstrap summary
bootstraped sample of index
income vector
vector of weights
multiple of the median income (k) or order of quantile (p)
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) affluence$weight <- rep(1, nrow(affluence)) boot.sd1(affluence$income, affluence$weight, 0.9, 10, "r.is", 0.95) boot.sd1(affluence$income, affluence$weight, 2, 10, "r.hc", 0.95)
Run the code above in your browser using DataLab