Let , and . Conditional independence gives the Poisson distribution's likelihoodMultiply by the prior gamma distribution's density and discard factors independent of :Normalizing with the gamma function identifiesHere is the shape and is the rate, not the scale. This is conjugate prior updating for a Poisson distribution.
The mean of a shape-rate gamma distribution is shape divided by rate. Hence the posterior mean isBoth weights are positive and sum to one. This is a convex combination of the prior mean and the sample mean, provingFor it lies strictly between them if the two means differ, and equals both if they agree. The rate acts as the prior weight relative to the observed exposure units.
Let be the cumulative distribution function of a gamma distribution with shape and rate ; explicitly,The posterior distribution is continuous and has positive density on , so its quantiles give the requested equal-tailed credible interval:Equivalently, , so the endpoints can be written as the corresponding chi-squared distribution quantiles divided by . Either form excludes posterior probability from each tail.
No. A permitted counterexample is with all observed counts zero. Then and the posterior distribution is an exponential distribution with rate , whose density decreases strictly from the left boundary. Its equal-tailed credible interval isHere . This excludes values just above zero whose posterior density is larger than that of retained values near , violating the highest-density criterion. The actual highest posterior density interval starts at the support boundary and solves :Writing zero as the endpoint causes no problem because a single point has zero posterior probability. Thus even within the gamma family the two intervals need not agree. More generally, for an interior unimodal gamma distribution, highest-density endpoints have equal densities, whereas equal-tailed endpoints need not.
Articles by others on the same topic
There are currently no matching articles.
