Learn R Programming

DAMisc (version 1.7.2)

tidy_boot_ci: Tidy Bootstrap Confidence Intervals

Description

Returns a tibble with confidence intervals for all parameters from a bootstrapping object estimated with the boot() function.

Usage

tidy_boot_ci(
  obj,
  indices = NULL,
  type = c("norm", "basic", "stud", "perc", "bca"),
  conf = 0.95,
  term_names = NULL,
  ...
)

Arguments

obj

An object of class boot.

indices

The column numbers of obj$t to be used in the calculation. if NULL, all columns are used.

type

The type of confidence interval to be produced. Unlike boot.ci(), "all" is not an option.

conf

The confidence level to be used for the interval.

term_names

The names of the parameters to be used as identifiers in the tibble.

...

Other arguments to be passed down to boot.ci()

Value

A tibble with the term name, estimate, lower and upper confidence bounds.