boot.r1 {affluenceIndex}R Documentation

Bootstrap standard error 1

Description

Calculates the bootstrap standard errors.

Usage

boot.r1(x, k, nsim, boot.index = c("r.hc", "r.is"))

Arguments

x

income vector

k

multiple of the median income

nsim

the number of replications

boot.index

the index for which the error is estimated

Details

The function uses quantile method of calculating bootstrap confidence intervals.

Value

se.r

the bootstrap error

summary

bootstrap summary

Author(s)

Alicja Wolny-Dominiak

References

BrzeziƄski M. (2010) Income affluence in Poland. Social Indicators Research, 99, pp. 285-299.

Examples

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

[Package affluenceIndex version 1.0 Index]