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.
Usage
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? The default is TRUE for convenience.
...
Further arguments to be passed from other methods.
y
Numeric vector.
var.equal
Should the two variances be treated as being equal? The default is FALSE. If TRUE, the pooled variance is used to estimate the variance of the mean difference. Otherweise, Welch's approach is used (see stats::t.test). This also applies to the "stud" bootstrap.