boot.r2 {affluenceIndex} | R Documentation |
Calculates the bootstrap standard errors.
boot.r2(x, k, alpha, nsim, boot.index = c("r.cha", "r.fgt"))
x |
income vector |
k |
multiple of the median income |
alpha |
parameter of the index: |
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) boot1 <-boot.r2(affluence$income[1:300], 2,2,500, "r.cha") boot1$summary boot2 <-boot.r2(affluence$income[1:300], 2,2,500, "r.fgt") boot2$summary