boot.r1: Bootstrap standard error 1

Description Usage Arguments Details Value Author(s) References Examples

Description

Calculates the bootstrap standard errors.

Usage

1
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<f1>ski M. (2010) Income affluence in Poland. Social Indicators Research, 99, pp. 285-299.

Examples

1
2
3
4
5
6
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

affluenceIndex documentation built on May 2, 2019, 8:20 a.m.