Functions to calculate standard errors of different statistics. The availability of a standard error (or statistic proportional to it) allows to apply "stud" (bootstrap t) bootstrap.

se_mean(z, na.rm = TRUE, ...)

se_mean_diff(z, y, na.rm = TRUE, var.equal = FALSE, ...)

se_var(z, na.rm = TRUE, ...)

se_proportion(z, na.rm = TRUE, ...)

Arguments

z

Numeric vector.

na.rm

Should missing values be removed before calculation? Default is TRUE.

...

Further arguments to be passed from other methods.

y

Numeric vector.

var.equal

Should the variances be treated as being equal? Default is FALSE.

Value

A numeric vector of length one.

Examples

se_mean(1:100)
#> [1] 2.901149