Poisson-gamma conjugacy (source code)

= Poisson-gamma conjugacy
{c}

For a Poisson observation of mean $\theta$ and a gamma prior with shape $\alpha$ and rate $\lambda$, the posterior is gamma with shape $\alpha+X$ and rate $\lambda+1$.