import * as simplestatistics from "https://deno.land/x/simplestatistics@v7.8.3/src/chi_squared_goodness_of_fit.js";
Functions
The χ2 (Chi-Squared) Goodness-of-Fit Test
uses a measure of goodness of fit which is the sum of differences between observed and expected outcome frequencies
(that is, counts of observations), each squared and divided by the number of observations expected given the
hypothesized distribution. The resulting χ2 statistic, |