Solution

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

Let and , assuming both are positive. The prior odds are . Given data , the posterior odds are
With conditional joint likelihood , define the hypothesis-conditional marginal densities
The Bayes factor for relative to is . The normalizations matter: the prior distribution within each hypothesis must have total probability one. Bayes' theorem now gives
Converting posterior odds to posterior probability therefore gives

New to topics? Read the docs here!