boot.sd1 | R Documentation |
Calculates the bootstrap standard errors.
boot.sd1(x, weight, kp, nsim, boot.index = c("r.hc", "r.is"), gamma)
x |
income vector |
weight |
vector of weights |
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 |
The function uses quantile method of calculating bootstrap confidence intervals.
se.r |
the bootstrap error |
summary |
bootstrap summary |
boot.ind |
bootstraped sample of index |
Alicja Wolny-Dominiak
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.