pnormvar: Cumulative distribution function for t distribution

View source: R/pnormvar.R

pnormvarR Documentation

Cumulative distribution function for t distribution

Description

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

Usage

pnormvar(q, sigma2, n)

Arguments

q

coordinate at which the cdf is to be evaluated (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 pnormvar() 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 quantile of the chi-square distribution for n-1 degrees of freedom corresponding to the input value of the sample variance.

Author(s)

Peter E. Freeman, pfreeman@cmu.edu

Examples

cdfinv("normvar","sigma2",14.35,lpb=0,n=22) ## returns 8.493787 29.305942

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