Solution

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

The symmetric continuous prior distribution gives , so the prior odds are one. Therefore the Bayes factor equals the posterior odds. Standardizing the normal posterior distribution, put
Then and . The endpoint has zero posterior probability, so the strict/non-strict split causes no additional term. Hence
In particular, positive values of the sample mean make this Bayes factor smaller, favouring the positive-mean hypothesis.

New to topics? Read the docs here!