chiSquaredDistribution
chiSquaredDistribution(
degreesOfFreedom):Distribution
Defined in: chi-squared-distribution.ts:16
The chi-squared distribution — the sum of degreesOfFreedom squared standard
normals, and the reference distribution of the goodness-of-fit statistic.
It is exactly gammaDistribution(k / 2, 1 / 2), so it delegates rather than
restating the incomplete gamma a second time; only the moments are named
directly, where the closed form is simpler than the delegation.
Parameters
Section titled “Parameters”degreesOfFreedom
Section titled “degreesOfFreedom”number
Positive; need not be an integer.
Returns
Section titled “Returns”The distribution.
Throws
Section titled “Throws”When degreesOfFreedom is not positive.