Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

chi2inv

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)

PEIP

Geophysical Inverse Theory and Optimization

v2.2-3
GPL (>= 2)
Authors
Jonathan M. Lees [aut, cre]
Initial release
2020-08-28

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.