ChiSquaredTestResult
ChiSquaredTestResult =
object
Defined in: chi-squared-test.ts:19
A chi-squared test’s statistic and the evidence against the null.
Properties
Section titled “Properties”degreesOfFreedom
Section titled “degreesOfFreedom”degreesOfFreedom:
number
Defined in: chi-squared-test.ts:24
categories − 1 − fittedParameters.
pValue
Section titled “pValue”pValue:
number
Defined in: chi-squared-test.ts:27
Probability of a statistic at least this large under the null.
statistic
Section titled “statistic”statistic:
number
Defined in: chi-squared-test.ts:21
Pearson’s Σ (observed − expected)² / expected.