Learn R Programming

confintr (version 1.0.0)

ci_boot: Bootstrap CI

Description

Internal wrapper to boot::boot.ci(). Contains the logic for also calculating one-sided CIs, and for unequal-tailed CIs.

Usage

ci_boot(S, boot_type = c("norm", "basic", "stud", "perc", "bca"), probs)

Value

A numeric vector of length two.

Arguments

S

Result of boot::boot().

boot_type

CI type passed to boot::boot.ci().

probs

Lower and upper probabilities.