ci_bc: Bias-Corrected Confidence Intervals

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

View source: R/nBootstrap-ci_bc.R

Description

Bias-Corrected Confidence Intervals

Usage

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

Arguments

x

Matrix, data frame, or vector. Vector or matrix of 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_bca(), 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
x <- rnorm(n = 100)
func <- median
thetahat <- func(x)
thetahatstar <- thetahatstar_nb(x, func = func)

ci_bc(
  thetahatstar,
  thetahat = thetahat
)

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