ci_bca_helper: Bias-Corrected and Accelerated Confidence Interval Helper...

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

View source: R/nBootstrap-ci_bca_helper.R

Description

Bias-Corrected and Accelerated Confidence Interval Helper Function

Usage

1
ci_bca_helper(x, jackknife = NULL, 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 list.

Dependencies

Author(s)

Ivan Jacob Agaloos Pesigan

See Also

Other Nonparametric Bootstrap Functions: ci_bca(), 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
12
13
14
15
x <- rnorm(n = 100)
func <- median
thetahat <- func(x)
thetahatstar <- thetahatstar_nb(
  x,
  func = func,
  bcap = 5L
)
jackknife <- jackknife(x, func = func)

ci_bca_helper(
  thetahatstar,
  jackknife = jackknife,
  thetahat = thetahat
)

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