boot_sem: boot_sem non-parametric bootstrap for standard error of the...

Description Usage Arguments Value Examples

Description

boot_sem non-parametric bootstrap for standard error of the mean (or just boot mean)

Usage

1
boot_sem(vec, sem = TRUE, b = 1000, n = sum(!is.na(vec)), na.rm = TRUE)

Arguments

vec
b

number of bootstrap resamples to draw

n

number of elements to draw during resampling (defaults to number of non-missing elements in input vector) – setting 'n=1' is jacknife resampling

se

logical, if 'TRUE' (default), returns standard error of the mean; if 'FALSE', returns the mean of the bootstrap means

Value

'out': booted se or mean of 'vec', depends on supplied 'se' param val

Examples

1
boot_se(rnorm(1000))

lefft/lefftpack documentation built on May 8, 2019, 1:13 p.m.