Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2017/ii/paper-4/27k/d/solution

Use the convention that the likelihood ratio is maximized alternative likelihood divided by null likelihood. The alternative excludes zero, but its supremum agrees with the unrestricted maximum, even on the exceptional sample . Completing the square gives
Under the null, , so exactly for every . Equivalently is distributed as for . With the reciprocal likelihood-ratio convention the statistic is instead.
Wilks theorem predicts a limiting chi-squared distribution with degrees of freedom equal to the difference of parameter dimensions, here , under regularity and an interior null point of the unrestricted model. This example strengthens the asymptotic conclusion to an exact finite-sample identity.

New to topics? Read the docs here!