Quantile function of the chi-squared distribution. Equivalent to R's qchisq(p, df, ncp = 0, lower.tail = TRUE, log.p = FALSE).
qchisq(p, df, ncp = 0, lower.tail = TRUE, log.p = FALSE)
If ncp is omitted the central distribution is used; otherwise the noncentral chi-squared distribution.
ncp
Probability (or log probability with logP): a number, number[] or Float64Array. The result has the same shape.
logP
number[]
Float64Array
Degrees of freedom.
ncp (see NoncentralOption), lowerTail and logP (see TailOptions).
lowerTail
The quantile(s).
qchisq(0.95, 1); // 3.841458820694125qchisq(0.05, 3, { lowerTail: false }); // 7.814727903251181 Copy
qchisq(0.95, 1); // 3.841458820694125qchisq(0.05, 3, { lowerTail: false }); // 7.814727903251181
Quantile function of the chi-squared distribution. Equivalent to R's
qchisq(p, df, ncp = 0, lower.tail = TRUE, log.p = FALSE).If
ncpis omitted the central distribution is used; otherwise the noncentral chi-squared distribution.