For independent daily counts modeled by a Poisson distribution, the log-likelihood isDifferentiating gives the maximum-likelihood estimator . Here the observed frequencies sum to , and the expected frequencies are consistent with (their ratio estimates the same parameter). The final class is open-ended: its single observation is only reported as at least 9, so its exact contribution to the sample total cannot be recovered from this grouped table alone. The underlying ungrouped daily observations determine the exact sample mean.
Fit the Poisson distribution using the estimated daily mean. For , its expected frequency isand . Each row's contribution to the Pearson chi-squared statistic is . For example the zero-count class contributes . Summing the class contributions gives the test statistic; expected frequencies depend on the fitted model, while observed frequencies come directly from counting days.
The expected counts in the final two separate classes are too small for a reliable chi-squared asymptotic approximation. Pooling the last three classes gives the tail class , with observed frequency and expected frequency . This exceeds the usual expected-count guideline of 5. Pooling only the last two would leave an expected count of , still too small. Pooling requires recomputing the contribution from the pooled totals, rather than adding the old separate contributions.
After pooling, there are eight categories: . Their frequencies have one constraint because they sum to , and one model parameter was fitted. Thus the reference chi-squared distribution hasdegrees of freedom. The reported statistic satisfies , the stated upper cutoff for six degrees of freedom. Therefore reject the Poisson model at the 0.1% significance level under the independence and common-mean assumptions. The discrepancy is especially pronounced in the zero-count class, but the test assesses the whole fitted distribution. The conclusion uses the approximate Pearson chi-squared goodness-of-fit test, not an exact finite-sample tail probability.
Articles by others on the same topic
There are currently no matching articles.