Skip to content

ChiSquaredTestResult

ChiSquaredTestResult = object

Defined in: chi-squared-test.ts:19

A chi-squared test’s statistic and the evidence against the null.

degreesOfFreedom: number

Defined in: chi-squared-test.ts:24

categories − 1 − fittedParameters.


pValue: number

Defined in: chi-squared-test.ts:27

Probability of a statistic at least this large under the null.


statistic: number

Defined in: chi-squared-test.ts:21

Pearson’s Σ (observed − expected)² / expected.