gro_bootstrap: bootstrap estimates

View source: R/gro_bootstrap.R

gro_bootstrapR Documentation

bootstrap estimates

Description

bootstrap estimates

Usage

gro_bootstrap(
  data,
  filter_var = "NO",
  B = 1000,
  alpha = 0.05,
  statistic = median,
  calculate = c("confidence interval", "variance", "standard deviation",
    "coefficient of variation")
)

Arguments

data

some data

filter_var

some value referring to missing values

B

how many bootstrap replicates should be used

alpha

significance level

statistic

Which statistic should we do inference on. A function that exists in R taking a numeric vector. median is default

calculate

What do we want to calculate for the statistic considered. EIther confidence interval, variance, standard deviation or coefficient of variation

Value

values for each considered group

Examples

print(1)

pernille267/commutability.selectivity documentation built on July 20, 2022, 9:11 a.m.