Defined in: packages/hypothesis-test/src/chi-squared-goodness-of-fit-test.ts:14
Extends
Section titled “Extends”Properties
Section titled “Properties”statistic
Section titled “statistic”
readonlystatistic: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.
Overrides
Section titled “Overrides”HypothesisTestResult.statistic
method
Section titled “method”
readonlymethod:"asymptotic"
Defined in: packages/hypothesis-test/src/chi-squared-goodness-of-fit-test.ts:17
Overrides
Section titled “Overrides”degreesOfFreedom
Section titled “degreesOfFreedom”
readonlydegreesOfFreedom:number
Defined in: packages/hypothesis-test/src/chi-squared-goodness-of-fit-test.ts:19
Retained categories minus one minus the fitted parameter count.
smallestExpectedCount
Section titled “smallestExpectedCount”
readonlysmallestExpectedCount:number
Defined in: packages/hypothesis-test/src/chi-squared-goodness-of-fit-test.ts:21
Smallest expected count among retained categories after any pooling.
pValue
Section titled “pValue”
readonlypValue: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.