Skip to content

Defined in: packages/hypothesis-test/src/chi-squared-goodness-of-fit-test.ts:14

readonly statistic: number

Defined in: packages/hypothesis-test/src/chi-squared-goodness-of-fit-test.ts:16

Sum of squared observed-minus-expected count differences divided by the respective expectations.

HypothesisTestResult.statistic


readonly method: "asymptotic"

Defined in: packages/hypothesis-test/src/chi-squared-goodness-of-fit-test.ts:17

HypothesisTestResult.method


readonly degreesOfFreedom: number

Defined in: packages/hypothesis-test/src/chi-squared-goodness-of-fit-test.ts:19

Retained categories minus one minus the fitted parameter count.


readonly smallestExpectedCount: number

Defined in: packages/hypothesis-test/src/chi-squared-goodness-of-fit-test.ts:21

Smallest expected count among retained categories after any pooling.


readonly pValue: Probability

Defined in: packages/hypothesis-test/src/hypothesis-test-result.ts:23

Null probability of a result at least as extreme as the observed one.

HypothesisTestResult.pValue