Updating an event rate
The number of events in each time window is Poisson with an unknown rate . The prior on is a Gamma distribution with shape 2 and rate 1, with density proportional to (prior mean 2).
Over 72 independent windows, a total of 684 events is observed. Find the posterior mean of .
Fractions, decimals with at least 3 significant digits, and expressions such as sqrt(2)/2, e^-1 or pi/4.
Multiply the prior density by the likelihood .
A Gamma distribution with shape and rate has mean .
h
s Shown after a correct answer. Revealing it first marks the problem as seen, not solved.
Idea. The Gamma prior is conjugate to the Poisson likelihood: the posterior is again a Gamma, with the total count added to the shape and the number of windows added to the rate.
Step 1: the posterior. a Gamma distribution with shape and rate .
Step 2: its mean.
Interpretation. The posterior mean is a weighted average of the prior mean 2 and the sample mean , with weights and : The prior counts like one window's worth of data, so 72 windows swamp it.