Function Reference: chi2inv

statistics: x = chi2inv (p, df)

Inverse of the Chi-square cumulative distribution function (iCDF).

For each element of p, compute the quantile (the inverse of the CDF) at p of the chi-square distribution with df degrees of freedom. The size of x is the common size of p and df. A scalar input functions as a constant matrix of the same size as the other inputs.

See also: chi2cdf, chi2pdf, chi2rnd, chi2stat

Source Code: chi2inv