ci_chisq: Confidence interval for variance (standard deviation) of a...

ci_chisqR Documentation

Confidence interval for variance (standard deviation) of a sample

Description

Calculates the confidence interval for the variance (standard deviation) of a sample (ChiSquare distribution).

Usage

ci_chisq(s, n, conf.level = 0.95, digits = 2)

Arguments

s

Sample standard deviation

n

Sample size

conf.level

Confidence level to use for the confidence interval (Default is 0.95)

digits

Number of digits to round to (Default is 2)

Value

A tibble with the standard deviation and variance, degrees of freedom, and lower and upper ends of the confidence interval

Examples

s <- 0.535
n <- 10
ci_chisq(s, n)


maxgav13/GMisc documentation built on June 12, 2022, 3:48 a.m.