chi2inv {PEIP} | R Documentation |
Inverse Chi-Sq
Description
Inverse Chi-Sq
Usage
chi2inv(x, n)
Arguments
x |
probability that Chi^2 random variable is less than or equal to x (scalar). |
n |
degrees of freedom(scalar) |
Details
Computes the inverse Chi^2 distribution corresponding to a given probability that a Chi^2 random variable with the given degrees of freedom is less than or equal to x. Uses chi2cdf.m.
Value
corresponding value of x for given probability.
Author(s)
Jonathan M. Lees<jonathan.lees@unc.edu>
References
Aster, R.C., C.H. Thurber, and B. Borchers, Parameter Estimation and Inverse Problems, Elsevier Academic Press, Amsterdam, 2005.
See Also
chi, chi2cdf
Examples
x = seq(from=0.1, to=0.9, length=10)
h = chi2cdf(x, 3)
chi2inv(h, 3)
[Package PEIP version 2.2-5 Index]