pnormvar | R Documentation |
Computes the quantile of the chi-square distribution for n-1 degrees of freedom corresponding to the input value of the sample variance.
pnormvar(q, sigma2, n)
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()) |
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().
The quantile of the chi-square distribution for n-1 degrees of freedom corresponding to the input value of the sample variance.
Peter E. Freeman, pfreeman@cmu.edu
cdfinv("normvar","sigma2",14.35,lpb=0,n=22) ## returns 8.493787 29.305942
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.