For equal one-second observation windows, the sample mean estimates the Poisson distribution mean:This matches the expected mean count; it is also the maximum-likelihood estimator for independent Poisson distribution observations. With windows, fitted expected frequencies are for , and .
Each last-column entry is , and the Pearson statistic is . The displayed expected frequencies and contributions are rounded, so their printed values need not reproduce every final digit of a calculation using unrounded probabilities.
Separate high-count classes have very small expected frequencies, making the chi-square approximation unreliable. Pooling the upper tail gives a class with expected count about , comfortably above the customary small-cell threshold. The pooling protects the asymptotic test approximation, while retaining the tail count as part of the goodness-of-fit comparison.
There are six pooled classes, one normalization constraint, and one fitted Poisson distribution parameter. Thus the reference degrees of freedom are . Under the null model the Pearson statistic has approximately the Chi-squared distribution with four degrees of freedom. Its supplied 5% upper critical value is .
Because , do not reject the Poisson count distribution at the 5% level. This is consistency with that distribution, not proof that it is exactly true. A test of the marginal count frequencies also does not by itself verify independence of successive time windows.
For nondegenerate design let . Maximizing the Gaussian likelihood over the mean parameters is equivalent to minimizing . Since , the normal equations separate:Its error is the linear combination . Independence and normality therefore giveIf every design point is zero, the slope is not identifiable and no such slope estimator can be inferred; the standard regression answer assumes the stated nondegeneracy.
For , the usual unbiased estimator of variance isThe fitted mean lies in the two-dimensional span of the constant design vector and . Orthogonal projection of the Gaussian error onto its complement gives independent standardized normal coordinates. HenceThis residual projection is independent of the fitted-coefficient projection. If maximum likelihood for variance is intended instead, its estimator is , with ; the denominator differs, not the residual degrees of freedom.
Independence of the slope estimate and residual variance, together with their normal and chi-square laws, gives the Student pivotal quantityThus an exact Gaussian-model two-sided 95% confidence interval isUsing a normal quantile without estimating the variance uncertainty would not give this exact finite-sample coverage.
Articles by others on the same topic
There are currently no matching articles.