chiSqTestStatistic

Computes the chi-squared test statistic based on the observed counts and the expected counts. The expected counts must not contain a zero value. The size of the arrays must match.


Computes the chi-squared test statistic based on the supplied data and hypothesized distribution function, fn. The break points breakPoints are used to define the binning and tabulation of the counts for the data.