Distribution function of the chi-squared distribution. Equivalent to R's pchisq(q, df, ncp = 0, lower.tail = TRUE, log.p = FALSE).
pchisq(q, 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
Quantile(s): a number, number[] or Float64Array. The result has the same shape.
number[]
Float64Array
Degrees of freedom.
ncp (see NoncentralOption), lowerTail and logP (see TailOptions).
lowerTail
logP
The probability (or log probability).
pchisq(3.84, 1, { lowerTail: false }); // 0.05004352124870517pchisq(5, 3, { ncp: 2 }); // 0.5934051800831556 Copy
pchisq(3.84, 1, { lowerTail: false }); // 0.05004352124870517pchisq(5, 3, { ncp: 2 }); // 0.5934051800831556
Distribution function of the chi-squared distribution. Equivalent to R's
pchisq(q, df, ncp = 0, lower.tail = TRUE, log.p = FALSE).If
ncpis omitted the central distribution is used; otherwise the noncentral chi-squared distribution.