What Is Uncertain About a Future Count?
Suppose a Poisson rate model estimates an event rate, and we want to predict the count over a future, specified amount of exposure. There are two sources of variation to keep distinct. Even if the mean count were known exactly, a future count would vary according to its Poisson distribution. In addition, the mean count itself is estimated from data and is therefore uncertain.
A plug-in prediction accounts for the first source by treating the fitted mean as fixed. A predictive distribution that also represents uncertainty in that mean spreads probability across possible means and then averages the corresponding Poisson distributions. This distinction matters because a prediction interval is intended to cover a future count, not just an unknown expected count.
In an offset model, the fitted log mean at a fixed exposure can be written as \(\hat{\eta}^*=\log(E^*)+z^{*T}\hat{\beta}\), where \(z^*\) is the future observation’s predictor vector and \(\hat{\beta}\) is the fitted coefficient vector. Thus \(\hat{\Lambda}^*=\exp(\hat{\eta}^*)\). The exposure is held fixed here; uncertainty in the fitted coefficients affects the mean, while Poisson variation affects the future count conditional on that mean.
Plug-In Predictions and Predictive Mixtures
For a plug-in prediction, the model assigns probability \(P(Y^*=y)=\exp(-\hat{\Lambda}^*)\hat{\Lambda}^{*y}/y!\), for integers \(y\geq 0\). Its mean and variance are both \(\hat{\Lambda}^*\). This is a useful baseline, but it does not include uncertainty in the fitted rate.
To include mean uncertainty, let \(G\) be a probability distribution on nonnegative values of \(\Lambda^*\), representing uncertainty about the future mean count. Conditional on \(\Lambda^*=\lambda\), suppose \(Y^*\) has a Poisson distribution with mean \(\lambda\). The resulting mixture probabilities are
This formula averages the conditional probability of each count over possible mean counts. It is a genuine probability distribution: the integrand is nonnegative, and summing over the nonnegative integers gives the integral of the Poisson probabilities, which is one. In applications, \(G\) might come from an approximate sampling distribution for fitted coefficients, a parametric bootstrap, or a posterior distribution. In a frequentist analysis it is an uncertainty representation produced by the chosen procedure, not a claim that the fixed model parameter itself is random.
Proof. Conditional on \(\Lambda^*\), the Poisson mean and variance are both \(\Lambda^*\). By the law of total expectation,
The finite second-moment assumption ensures that the terms in the law of total variance are finite. Applying that law gives
The first term is the average Poisson variation; the second is the extra variation from uncertainty in the mean. If the mean is fixed, its variance is zero and the usual Poisson variance is recovered. \(\square\)
Worked Examples
Worked Example: A Plug-In Prediction at Fixed Exposure
A fitted rate is \(0.2\) events per person-year. For a future observation with \(20\) person-years of exposure, construct a plug-in prediction and a 95% equal-tail prediction interval. For this calculation, treat the estimated rate as fixed.
The fitted mean count is the rate multiplied by the specified exposure:
Thus \(Y^*\sim\operatorname{Poisson}(4)\) under the plug-in model, with mean \(4\) and variance \(4\). For a discrete distribution, define the \(\alpha\)-quantile as the smallest integer \(q_\alpha\) such that \(P(Y^*\leq q_\alpha)\geq\alpha\). The 2.5% quantile is \(1\), since \(P(Y^*\leq0)=e^{-4}\approx0.0183\) and \(P(Y^*\leq1)\approx0.0916\). The 97.5% quantile is \(8\), since \(P(Y^*\leq7)\approx0.9489\) and \(P(Y^*\leq8)\approx0.9786\). The equal-tail interval is therefore \([1,8]\). Its endpoint probabilities need not be exactly 2.5% and 97.5%, because the count is discrete.
Worked Example: Lognormal Uncertainty in the Mean Count
At a specified exposure, suppose the fitted mean count is \(3\). Represent uncertainty in that mean by the approximation \(\log(\Lambda^*)\sim N(\log 3,0.046)\), where the second argument is the variance. Find the predictive mean and variance of the future count.
For \(W\sim N(m,s^2)\), completing the square in the normal density gives \(E[e^{tW}]=\exp(tm+t^2s^2/2)\): the exponent \(- (w-m)^2/(2s^2)+tw\) is a normal-kernel exponent centered at \(m+ts^2\), with the remaining constant \(tm+t^2s^2/2\). Taking \(t=1\) and \(t=2\), and writing \(W=\log(\Lambda^*)\), yields
Consequently, subtracting the square of the mean gives
The mixture theorem now gives \(E[Y^*]\approx3.0698\) and \(\operatorname{Var}(Y^*)\approx3.0698+0.4436=3.5134\). The plug-in variance would be \(3\), so it omits the additional \(0.4436\) attributable to uncertainty in the mean. The predictive mean is not exactly the plug-in value: with this lognormal approximation, uncertainty shifts the average mean count above its median of \(3\).
Worked Example: An Explicit Mixture and Its Prediction Interval
Suppose the uncertainty distribution for the future mean count assigns probability \(1/2\) to \(3\) and probability \(1/2\) to \(5\). Conditional on either mean, the future count is Poisson. Calculate the predictive mean, variance, and 95% equal-tail interval.
The mean of the uncertain count mean is \((3+5)/2=4\). Its variance is \(\{(3-4)^2+(5-4)^2\}/2=1\). Therefore the mixture theorem gives predictive mean \(4\) and predictive variance \(4+1=5\).
For the interval, the predictive cumulative probability is the average of the two Poisson cumulative probabilities. At zero it is \(\{e^{-3}+e^{-5}\}/2\approx0.0283\), which already exceeds \(0.025\); hence the lower 2.5% quantile is \(0\). At \(8\), the cumulative probability is \(\{P(\operatorname{Poisson}(3)\leq8)+P(\operatorname{Poisson}(5)\leq8)\}/2\approx0.9641\), which is below \(0.975\). At \(9\), it is approximately \(0.9835\), so the upper 97.5% quantile is \(9\). The 95% equal-tail prediction interval is \([0,9]\).
The mixture is wider than a single Poisson distribution with mean \(4\): it allows for the possibility that the underlying mean is nearer \(3\) or \(5\), as well as the Poisson variation conditional on either value.
Using a Lognormal Approximation from a Fitted Model
A common practical approximation starts with an estimated linear predictor \(\hat{\eta}^*\) and its estimated variance \(s_*^2\). For example, with estimated coefficient covariance matrix \(\widehat{\operatorname{Var}}(\hat{\beta})\), one may use \(s_*^2=z^{*T}\widehat{\operatorname{Var}}(\hat{\beta})z^*\). If the log mean is approximated as normal with mean \(\hat{\eta}^*\) and variance \(s_*^2\), then the mean count is approximated as lognormal. This uses the uncertainty in the fitted linear predictor at the specified predictors and exposure; it does not add Poisson variation to \(s_*^2\).
This approximation can be used to calculate mixture moments directly, as in the preceding example. To obtain a prediction interval, one can also evaluate or simulate the mixture probabilities: draw a possible mean from the uncertainty distribution, draw a Poisson count conditional on that mean, and repeat. Alternatively, a parametric bootstrap can refit the model in repeated simulated data sets and generate future counts at the fixed exposure. The interval should be based on the resulting predictive count distribution, not merely on the endpoints of an interval for the mean.
A discrete equal-tail prediction interval is formed from the predictive count cumulative distribution function \(F(y)=P(Y^*\leq y)\): its lower endpoint is the smallest integer \(y\) with \(F(y)\geq0.025\), and its upper endpoint is the smallest integer \(y\) with \(F(y)\geq0.975\). Other interval conventions are possible, but the convention should be stated. Because counts are discrete, nominal tail probabilities are generally not attained exactly.
Common Pitfall: Treating a Mean Interval as a Count Interval
A common incorrect argument is: “The fitted mean count is \(4\), and its 95% confidence interval is \([3,5]\), so \([3,5]\) is a 95% prediction interval for the future count.” This ignores that, even if the true mean were exactly \(4\), a Poisson future count could be well below \(3\) or above \(5\). The interval for the mean describes uncertainty about a parameter or expected count; it does not describe the distribution of a future observation.
The correction is to represent uncertainty in the mean and then include the conditional count distribution. In a mixture, this is done by averaging Poisson probabilities over possible means. The total variance identity shows the two contributions explicitly: \(E[\Lambda^*]\) from conditional Poisson variation and \(\operatorname{Var}(\Lambda^*)\) from mean uncertainty. A plug-in Poisson prediction is appropriate when mean uncertainty is intentionally ignored, but it should be identified as such.
Check Your Understanding
Use the definitions and calculations above to check your understanding.
- At fixed exposure, what two sources of variation distinguish a mixture prediction from a plug-in Poisson prediction?
- If \(Y^*\mid\Lambda^*\sim\operatorname{Poisson}(\Lambda^*)\), explain why the predictive variance includes \(\operatorname{Var}(\Lambda^*)\).
- A lognormal approximation has \(\log(\Lambda^*)\sim N(m,s^2)\). Write expressions for \(E[\Lambda^*]\) and \(\operatorname{Var}(\Lambda^*)\).
- Why can a discrete 95% equal-tail prediction interval have tail probabilities that differ from 2.5%?
- Explain why an interval for an estimated mean count is not, by itself, a prediction interval for a future count.