tidy_boot_ci: Tidy Bootstrap Confidence Intervals

tidy_boot_ciR Documentation

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,
  flag_sig = FALSE,
  sig_value = 0.95,
  ...
)

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.

flag_sig

Logical indicating whether significant results should be flagged with an asterisk.

sig_value

Scalar indicating the one-sided p-value required to achieve statistical significance.

...

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

Value

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


davidaarmstrong/damisc documentation built on Oct. 1, 2023, 3:05 p.m.