stdErrMedBoot {wrMisc} | R Documentation |
Standard Eror Of Median by Boot-Strap
Description
stdErrMedBoot
estimate standard eror of median by bootstrap approach.
Note: requires package boot
Usage
stdErrMedBoot(x, nBoot = 9, silent = FALSE, debug = FALSE, callFrom = NULL)
Arguments
x |
(numeric) vector to estimate median and it's standard error |
nBoot |
(integer) number for iterations |
silent |
(logical) suppress messages |
debug |
(logical) display additional messages for debugging |
callFrom |
(character) allows easier tracking of messages produced |
Value
This function returns a (numeric) vector with estimated standard error
See Also
colMedSds
and rowMedSds
; based on 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)
[Package wrMisc version 1.15.1 Index]