stat.ci: Confidence interval

View source: R/stat.ci.R

stat.ciR Documentation

Confidence interval

Description

Calculate 25, 50, 95 and 99 Confidence interval of a data set

Usage

stat.ci(x, probs = c(0.05, 0.95))

Arguments

x

a numeric vector.

quantile

numeric vector of probabilities with values in [0,1]. (Values up to 2e-14 outside that range are accepted and moved to the nearby endpoint.)

Details

Confidence interval allow to asses a level of certitude that the average of the 'population' is between a specific range.

Value

a numeric vector of length 2 with the lower and upper confidence interval.

Author(s)

Sebastian Sosa,Ivan Puga-Gonzalez


SebastianSosa/ANTs documentation built on Sept. 25, 2023, 11:06 p.m.