Solution

ID: past-exam-of-the-options-ii-course-of-the-university-of-oxford/2004/o/o4/solution

Let be densities or probability mass functions relative to a common measure, describing two simple hypotheses. A randomized hypothesis test is a measurable function , whose value is the conditional rejection probability. Fix . The Neyman-Pearson lemma states that a test with is most powerful among tests with size at most if it rejects where , accepts where , and randomizes as necessary on equality, for a threshold . Sets where are included in rejection. A likelihood-ratio quantile and boundary randomization supply such a test.
To prove optimality, let be any competitor with . Pointwise, the threshold rule makes
Integrating and rearranging gives
Thus no competitor of the permitted size has larger statistical power, proving the lemma. Randomization permits exact size when discrete observations cannot supply it with a deterministic rejection region.

New to topics? Read the docs here!