boot.r1 {affluenceIndex} | R Documentation |
Calculates the bootstrap standard errors.
boot.r1(x, k, nsim, boot.index = c("r.hc", "r.is"))
x |
income vector |
k |
multiple of the median income |
nsim |
the number of replications |
boot.index |
the index for which the error is estimated |
The function uses quantile method of calculating bootstrap confidence intervals.
se.r |
the bootstrap error |
summary |
bootstrap summary |
Alicja Wolny-Dominiak
BrzeziĆski M. (2010) Income affluence in Poland. Social Indicators Research, 99, pp. 285-299.
data(affluence) boot3 <-boot.r1(affluence$income[1:300], 0.9,500, "r.is") boot3$summary boot4 <-boot.r1(affluence$income[1:300], 2, 500, "r.hc") boot4$summary