Event counts are Poisson. You use a Gamma prior with shape and rate , whose density is . You observe counts . What are the posterior, its mean, the MAP estimate and the MLE?
Probability and statistics, Conjugate priors
Level L3 Intermediate. Length Medium. Nature Mat Mathematical.
What's being asked
Showing the Gamma prior is conjugate to the Poisson likelihood and comparing point estimates.
Key idea
Posterior , which is Gamma.
Steps
- Write the likelihood, dropping constants: .
- Multiply by the prior: posterior . This is again a Gamma density, so the prior is conjugate.
- Update the parameters: and , so shape and rate . The posterior is Gamma.
- Posterior mean (shape divided by rate): .
- MAP is the mode, .
- MLE is the sample mean, . The prior pulls the estimate towards the prior mean .
Common mistakes
- Using the shape as instead of .
- Mixing up rate and scale parameterisations. With scale the formulas change.
- Quoting the mean as the MAP estimate. For a Gamma they differ: the mode is .
How long your answer should be
Half a page; 4–5 minutes.
Last checked on 4 December 2026.
Read this
Previous in Probability and statistics: A website gets visitors per hour. Each visitor independently spends an amount with mean and variance . Using the laws of total expectation and total variance, what are the mean and variance of the hourly revenue ? What are the values for ?
Next in Probability and statistics: If and , show that is exponential with rate . How does this give a way to sample, and what is for , ?