FUNCTION REFERENCE

chi2inv

Inverse of the chi-square cumulative distribution function.

Inverse of the chi-square cumulative distribution function.

Syntax

X = chi2inv(Y, NU)

Returns X with cdf(X) = Y for Y in [0, 1]; a quantile beyond the largest double is Inf (or -Inf). Parameters as in chi2cdf: degrees of freedom NU > 0. Y outside [0, 1] gives NaN. Parameters without a default are required. Every argument may be a scalar or an array; scalars expand to the size of the others, and arrays must have the same size.

Example

chi2inv(0.3, 4)

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.