Learn R Programming

asbio (version 0.2-1)

ci.sigma: Confidence interval for the sample variance.

Description

The function calculates confidence intervals for $\sigma^2$. We assume that the parent population is normal.

Usage

ci.sigma(data, conf = 0.95, S.sq = NULL, n = NULL, summarized = FALSE)

Arguments

data
A vector of quantitative data. Required if summarized=FALSE.
conf
Level of confidence. 1 - P(type I error).
S.sq
Sample variance, required if summarized=TRUE.
n
Sample size, required if summarized=TRUE.
summarized
Logical. If summarized=TRUE then the user must supply S.sq and n

Value

  • Returns a list of class = "ci". Default printed results are the paramter estimate and confidence bounds. Other objects are invisible.

References

Bain, L. J., and M. Engelhardt. 1992. Introduction to probability and mathematical statistics. Duxbury press. Belmont, CA, USA.

See Also

ci.mu.z

Examples

Run this code
ci.sigma(rnorm(20))

Run the code above in your browser using DataLab