Skip to contents

Thin pass-through that computes bootstrap confidence intervals from a boot object via boot::boot.ci, returning a tidy named list with (ci_lower, ci_upper) per requested type.

Usage

morie_boot_basic_ci(
  boot_obj,
  type = c("perc", "bca", "basic", "norm", "stud"),
  conf = 0.95
)

Arguments

boot_obj

A boot object as returned by morie_boot_run() or boot::boot.

type

Character vector of CI types; any of "perc", "bca", "basic", "norm", "stud".

conf

Confidence level (default 0.95).

Value

Named list of length length(type); each element is a numeric length-2 vector c(ci_lower, ci_upper).

See also