ci_bca: Bias-Corrected and Accelerated Confidence Intervals

Description Usage Arguments Value Dependencies Author(s) See Also Examples

View source: R/nBootstrap-ci_bca.R

Description

Bias-Corrected and Accelerated Confidence Intervals

Usage

1
ci_bca(x, jackknife, thetahat, alpha = c(0.05, 0.01, 0.001))

Arguments

x

Matrix, data frame, or vector. Vector or matrix of estimates.

jackknife

Numeric matrix. jackknife estimates.

thetahat

Numeric vector. Vector of estimates from the original sample data.

alpha

Numeric vector. Significance level/s.

Value

A matrix.

Dependencies

Author(s)

Ivan Jacob Agaloos Pesigan

See Also

Other Nonparametric Bootstrap Functions: ci_bca_helper(), ci_bc(), ci_pc(), func_jackknife(), func_thetahatstar_nb(), func_xstar_nb(), jackknife(), thetahatstar_nb(), xstar_nb()

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
x <- rnorm(n = 100)
func <- median
thetahat <- func(x)
thetahatstar <- thetahatstar_nb(x, func = func)
jackknife <- jackknife(x, func = func)

ci_bca(
  thetahatstar,
  jackknife = jackknife,
  thetahat = thetahat
)

jeksterslab/nBootstrap documentation built on Dec. 20, 2021, 10:11 p.m.