Tutorials › Introduction to Statistics › Diagnosing the Fit of a Poisson Count Model

Poisson and Other Count Models · Tutorial 438 of 996

Diagnosing the Fit of a Poisson Count Model

Use mean–variance comparisons and count patterns to identify when a Poisson model may not describe the data adequately.

Intermediate 10 min read

What You'll Learn

  • State the main assumptions behind a Poisson count model.
  • Compare a sample mean with a sample variance as a diagnostic.
  • Recognize clustering, changing rates, and dependence as possible sources of extra variation.
  • Check whether the observed number of zeros is plausible under the fitted model.
  • Explain why a diagnostic warning is not, by itself, proof that the model is wrong.

Why Diagnose a Poisson Model?

A Poisson model can be a useful description of counts, but its assumptions matter. A model might give reasonable probabilities for a typical count while missing important features of the data, such as clusters of unusually high counts or many more zeros than expected. Checking the fit means looking for signs that the model’s assumptions do not match how the counts were generated.

For example, suppose a clinic records the number of calls received during many comparable observation periods. A Poisson model may be a reasonable starting point if each period has the same length, the underlying call rate is stable, and the events occur independently. If the rate varies over time or calls arrive in bursts, the model may not describe the observed pattern well. Comparing the sample mean and variance is one useful first check, but it is not enough on its own.

The Model and Its Assumptions

Definition: In a Poisson count model, a count \(X\) has probability mass function \(P(X=x)=e^{-\lambda}\lambda^x/x!\) for \(x=0,1,2,\ldots\), where \(\lambda>0\) is the expected count for the observation. The model has mean \(\lambda\) and variance \(\lambda\). For repeated observations, the standard common-rate model assumes that counts are independent and have the same Poisson distribution.

The assumptions are substantive, not just mathematical conveniences. Counts should refer to the same kind of event, measured over comparable opportunities or exposure. Their underlying rate should be reasonably stable across observations, and the count in one observation should not systematically predict the count in another. Events that occur in clusters, or a rate that changes between observations, can undermine these assumptions.

If exposures differ, raw counts need not have the same expected value: a longer observation period can produce a larger count even when the event rate is unchanged. The simplest mean–variance comparison is therefore clearest for comparable observations with equal exposure. If exposure or conditions differ, those differences must be accounted for before treating all counts as draws from one common Poisson distribution.

Comparing the Sample Mean and Variance

For \(n\) observed counts \(x_1,\ldots,x_n\), the sample mean is \(\bar{x}\), and the sample variance is

$$ s^2=\frac{\sum_{i=1}^{n}(x_i-\bar{x})^2}{n-1}. $$

The Poisson model’s mean–variance property suggests a diagnostic: for a sufficiently informative collection of comparable observations, \(\bar{x}\) and \(s^2\) should be in the same general range. A variance much larger than the mean is called overdispersion relative to the Poisson model; a variance much smaller than the mean is called underdispersion. Neither comparison is an exact pass-or-fail rule. Sample statistics fluctuate, especially when \(n\) is small, and a close match does not establish that the full distribution is Poisson.

The reason changing rates can create overdispersion can be shown with a short variance decomposition. Suppose the rate differs across observations, represented by a random quantity \(\Lambda\), and that, conditional on \(\Lambda\), the count is Poisson with mean \(\Lambda\). Then the law of total variance gives

$$ \begin{aligned} \operatorname{Var}(X) &=E\{\operatorname{Var}(X\mid\Lambda)\} +\operatorname{Var}\{E(X\mid\Lambda)\}\\ &=E(\Lambda)+\operatorname{Var}(\Lambda). \end{aligned} $$

Here the first term is the average Poisson variance, while the second is the extra variation due to differing rates. If the rates vary, \(\operatorname{Var}(\Lambda)>0\), so the overall variance exceeds the overall mean \(E(\Lambda)\). This provides one explanation for overdispersion; clustering or dependence can also produce it.

Worked Example: A Mean and Variance in the Same Range

Suppose 20 hypothetical, equally exposed observation periods produce these counts: 0 occurs 3 times, 1 occurs 6 times, 2 occurs 6 times, 3 occurs 3 times, and 4 occurs 2 times. Calculate the sample mean and variance, then describe what they suggest.

The total count is \(6+12+9+8=35\), so

$$ \bar{x}=\frac{35}{20}=1.75. $$

The sum of squared counts is \(6(1^2)+6(2^2)+3(3^2)+2(4^2)=89\). Using the computational form of the sample variance,

$$ s^2=\frac{\sum x_i^2-(\sum x_i)^2/n}{n-1} =\frac{89-35^2/20}{19} =\frac{27.75}{19} \approx 1.461. $$

The variance is in the same general range as the mean of 1.75. That is compatible with the Poisson mean–variance pattern, so this comparison alone does not raise a strong dispersion warning. It does not show that the model fits in every other respect: the order of counts, the rate stability, and the observed frequencies of particular counts still matter.

Look for Structure, Not Just a Summary

Counts can have a plausible mean and variance and still depart from a Poisson distribution. Useful diagnostic questions include: Are unusually high counts close together in time or grouped among particular units? Do counts change systematically with the observation period or setting? Are zeros more common than the model predicts? Do the observations appear dependent? These checks are guided by how the data were collected as well as by the numerical summaries.

Worked Example: High Counts Cluster Together

Imagine 12 hypothetical, equal-length periods with counts recorded in order: \(0,0,0,0,1,1,1,1,6,6,6,6\). Calculate the mean and sample variance, and interpret the pattern.

The total count is \(4+24=28\), giving

$$ \bar{x}=\frac{28}{12}\approx 2.333. $$

The sum of squared counts is \(4(1^2)+4(6^2)=148\). Therefore,

$$ s^2=\frac{148-28^2/12}{11} =\frac{82.667}{11} \approx 7.515. $$

The sample variance is far larger than the sample mean, a clear overdispersion warning for these data. The sequence also has a pronounced pattern: low counts appear first and high counts later. A changing rate over time could help explain this pattern. Dependence or another feature of data collection might also matter. The summaries flag a problem, but they do not identify its cause; that requires examining the observation process and context.

Check Zeros and the Shape of the Counts

For a Poisson distribution with mean \(\lambda\), the probability of a zero is \(P(X=0)=e^{-\lambda}\), obtained by setting \(x=0\) in the probability mass function. If a common-rate model is plausible, the observed proportion of zero counts should not be wildly at odds with that probability, allowing for ordinary sample variation. It is also useful to inspect the frequencies of other counts: matching the mean and variance does not guarantee that those frequencies are well described.

Worked Example: Many Zeros Despite a Similar Mean and Variance

In a hypothetical set of 100 comparable observations, 60 counts are zero and 40 counts are two. The sample mean is

$$ \bar{x}=\frac{40(2)}{100}=0.80. $$

The sum of squared counts is \(40(2^2)=160\), so the sample variance is

$$ s^2=\frac{160-80^2/100}{99} =\frac{96}{99} \approx 0.970. $$

The mean and variance are in a similar range, so they do not reveal a large dispersion discrepancy. But if a Poisson model with mean \(0.80\) applied, its probability of a zero would be

$$ P(X=0)=e^{-0.80}\approx 0.449. $$

That model would imply about \(100(0.449)=44.9\) zeros on average in 100 observations, whereas 60 zeros were observed. This difference is a reason to investigate the fit, not proof by itself that the model is wrong. The example shows why a mean–variance comparison should be accompanied by checks of the count frequencies, especially the zero frequency.

What a Diagnostic Can and Cannot Tell You

A diagnostic is evidence about whether a model is a sensible description, not an automatic verdict. A small sample may show a large gap between \(\bar{x}\) and \(s^2\) just by chance. Conversely, several different count patterns can share similar values of those summaries. Context helps distinguish possible explanations and suggests what to inspect next.

Observed featurePossible concernUseful question
Variance much greater than meanClustering, dependence, or changing ratesAre high counts grouped by time, location, or type of unit?
Variance much less than meanCounts may be constrained or unusually regularIs there a fixed capacity, minimum spacing, or mechanism limiting variation?
More zeros than expectedSome observations may have a very low event rate, or conditions may differAre zero counts concentrated in particular settings or groups?
Changing counts across ordered observationsRate stability or independence may be questionableDoes the sequence follow a trend or show runs of similar counts?

These are possible explanations, not conclusions to assume from a numerical warning. For instance, excess zeros can result from different conditions among observations, while a time pattern can reflect a genuine change in rate. The right response is to check how observations were selected, what exposures they represent, and whether the suspected mechanism is plausible.

Common Mistake

Wrong reasoning: “The sample mean and variance are almost equal, so the data must follow a Poisson distribution.” Equality of the population mean and variance is a property of the Poisson model, but it does not uniquely identify that distribution. A dataset can have a similar mean and variance while having an unusual zero frequency, dependence, or a systematic pattern in observation order.

Correction: Treat the mean–variance comparison as one screening check. Also consider whether observations have comparable exposure, whether the rate appears stable, whether counts may be dependent or clustered, and whether the observed frequencies—including zeros—look plausible. A diagnostic concern should prompt investigation rather than an unsupported declaration that the model either fits or fails.

Key takeaway: A common-rate Poisson model assumes comparable observations with a stable rate and independent counts; it also predicts equal mean and variance. Compare \(\bar{x}\) and \(s^2\), but inspect the distribution and collection context too. A warning is informative, not conclusive.

Check Your Understanding

Use the model assumptions and diagnostic reasoning in this tutorial to answer the following questions.

  1. What does it mean for repeated observations to have a common-rate Poisson model?
  2. Why might a sample variance far above the sample mean be a warning sign? Give two possible explanations.
  3. For a Poisson model with mean 1.2, write the probability of a zero count.
  4. Why does a close match between sample mean and variance not establish that the full Poisson model fits?
  5. What additional information would you examine if zero counts greatly exceeded the model’s expected zero proportion?