stdErrMedBoot: Standard eror of median by boot-strap

View source: R/stdErrMedBoot.R

stdErrMedBootR Documentation

Standard eror of median by boot-strap

Description

stdErrMedBoot estimate standard eror of median by boot-strap approach. Note: requires package boot

Usage

stdErrMedBoot(x, nBoot = 99)

Arguments

x

(numeric) vector to estimate median and it's standard error

nBoot

(integer) number for iterations

Value

This function returns a (numeric) vector with estimated standard error

See Also

boot

Examples

set.seed(2014); ra1 <- c(rnorm(9,2,1),runif(8,1,2))
rat1 <- ratioAllComb(ra1[1:9],ra1[10:17])
median(rat1); stdErrMedBoot(rat1)

wrMisc documentation built on Nov. 17, 2023, 5:09 p.m.