Solution

ID: past-exam-of-the-statistics-course-of-the-university-of-oxford/2017/3/a/i/solution

Let . The Bernoulli distribution likelihood function is . Multiplication by the beta distribution prior density and Bayes' theorem give
Recognizing the normalized beta distribution,
This is Beta-binomial conjugacy; the same update applies whether the data are recorded as the individual Bernoulli trials or their success count.

New to topics? Read the docs here!