Solution

ID: past-exam-of-the-statistics-course-of-the-university-of-oxford/2014/2/a/i/solution

For two simple statistical hypotheses with joint probability density functions and , fix a significance level . A randomized statistical test is the conditional probability of rejection given the data. Choose and, if necessary, randomization on the equality set so that
The Neyman-Pearson lemma says that this is a most powerful test among all tests with test size at most :
Thus the optimal ordering rejects where the alternative-to-null likelihood ratio is largest. On null-impossible observations with , the rejection probability is one. Randomization is dispensable whenever an ordinary threshold already attains the required test size.

New to topics? Read the docs here!