ci: Confidence Interval

View source: R/ci.R

ciR Documentation

Confidence Interval

Description

Generate empirical confidence interval from a vector of iterations, e.g. bootstrap or MCMC.

Usage

ci(x, level = 0.95)

Arguments

x

a vector of iterations.

level

the significance level.

Value

Confidence bounds, a named vector of two elements.

Note

See BCboot for bootstrap bias correction.


arni-magnusson/arni documentation built on Nov. 3, 2023, 7:35 p.m.