qnormvar: Inverse cumulative distribution function for chi-square...

View source: R/qnormvar.R

qnormvarR Documentation

Inverse cumulative distribution function for chi-square distribution

Description

Computes the value of sample variance corresponding to the input quantile p of the chi-square distribution for n-1 degrees of freedom

Usage

qnormvar(p, sigma2, n)

Arguments

p

the cdf value (named in accordance with R standards)

sigma2

the assumed normal variance

n

the sample size (pass this as an extra argument to cdfinv())

Details

Do not call qnormvar() directly. Pass DISTR="normvar" to cdfinv() when computing intervals for the normal variance. The parameter name to be passed to cdfinv() is sigma2. The additional argument n (sample size) is to be passed to cdfinv().

Value

The value of sample variance corresponding to the input quantile p of the chi-square distribution for n-1 degrees of freedom

Author(s)

Peter E. Freeman, pfreeman@cmu.edu


cdfinv documentation built on April 16, 2025, 1:09 a.m.