ci_pc: Percentile Confidence Intervals

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

View source: R/nBootstrap-ci_pc.R

Description

Percentile Confidence Intervals

Usage

1
ci_pc(x, alpha = c(0.05, 0.01, 0.001))

Arguments

x

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

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_bc(), func_jackknife(), func_thetahatstar_nb(), func_xstar_nb(), jackknife(), thetahatstar_nb(), xstar_nb()

Examples

1
2
3
4
5
6
7
foo <- function(x) {
  median(rnorm(n = 100))
}
thetahatstar <- lapply(X = seq_len(1000), FUN = foo)
thetahatstar <- do.call(what = "rbind", args = thetahatstar)

ci_pc(thetahatstar)

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