Solution

ID: past-exam-of-the-mathematical-and-computational-biology-course-of-the-university-of-cambridge/2025/paper-1/6/b/solution

The beta distribution prior density is proportional to . By Bayes' theorem, its product with the likelihood function gives the posterior density
This is again a beta distribution, namely
Thus the beta family is a conjugate prior family for the geometric distribution. The update is an instance of beta-geometric conjugacy: counts of observed successes and failures are added to the two beta parameters.

New to topics? Read the docs here!