Event counts are Poisson(λ). You use a Gamma prior with shape α=2 and rate β=1, whose density is ∝λα−1e−βλ. You observe counts 3,5,4. 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 ∝λα+∑xi−1e−(β+n)λ, which is Gamma(α+∑xi, β+n).

Steps

  1. Write the likelihood, dropping constants: ∏ie−λλxi∝λ∑xie−nλ.
  2. Multiply by the prior: posterior ∝λα−1+∑xie−(β+n)λ. This is again a Gamma density, so the prior is conjugate.
  3. Update the parameters: ∑xi=12 and n=3, so shape =2+12=14 and rate =1+3=4. The posterior is Gamma(14,4).
  4. Posterior mean (shape divided by rate): 14/4=3.5.
  5. MAP is the mode, (shape−1)/rate=13/4=3.25.
  6. MLE is the sample mean, 12/3=4. The prior pulls the estimate towards the prior mean α/β=2.

Common mistakes

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 N∼Poisson(λ) visitors per hour. Each visitor independently spends an amount Xi with mean μ and variance σ2. Using the laws of total expectation and total variance, what are the mean and variance of the hourly revenue Y=∑i=1NXi? What are the values for λ=10, μ=3, σ2=4?
Next in Probability and statistics: If U∼Uniform(0,1) and λ>0, show that Y=−ln⁡(U)/λ is exponential with rate λ. How does this give a way to sample, and what is Y for λ=2, U=0.3?