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

chi2cdf

Chi-Sq CDF


Description

Computes the Chi^2 CDF, using a transformation to N(0,1) on page 333 of Thistead, Elements of Statistical Computing.

Usage

chi2cdf(x, n)

Arguments

x

end value of chi^2 pdf to integrate to. (scalar)

n

degrees of freedom (scalar)

Details

Note that x and m must be scalars.

Value

p

probability that Chi^2 random variable is less than or equal to x (scalar).

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.

Examples

x= seq(from=0.1, to=0.9, length=20)
chi2cdf(x , 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.