chi2inv: Inverse Chi-Sq

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/chi2inv.R

Description

Inverse Chi-Sq

Usage

1
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<[email protected]>

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

1
2
3
4
x = seq(from=0.1, to=0.9, length=10) 
h = chi2cdf(x, 3)

chi2inv(h, 3)

PEIP documentation built on Jan. 20, 2018, 9:03 a.m.