blb.sigma.ci: Bag of Little Bootstrap Confidence Interval for Sigma (Linear...

Description Usage Arguments Value Examples

View source: R/blbLM.R

Description

Bag of Little Bootstrap Confidence Interval for Sigma (Linear Model)

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
blb.sigma.ci(
  data,
  y,
  x,
  m,
  r = 50,
  alpha = 0.05,
  parallel = FALSE,
  n_cores = 4
)

Arguments

data

a dataframe or tibble object

y

the name of the response variable

x

the name of the indepedent variables

m

the number of group to split

r

the number of iteration for each boot

alpha

the significance level

parallel

parallel compute the confidence interval

n_cores

the number of processor to work on each task

Value

returns a matrix of the bootstrap ci

Examples

1
2
blb.sigma.ci(iris, "Sepal.Length",  "Petal.Width", 10, 15, 0.05)
blb.sigma.ci(iris, "Sepal.Length", c("Sepal.Width", "Petal.Width"), 10, 15, 0.05)

nguyenbi724/blbLM documentation built on March 23, 2020, 5:27 a.m.