Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2002/ib/paper-2/12h/solution

For independent observations from a normal distribution with unknown mean and positive variance, the maximum likelihood estimation of the mean gives
Indeed , which is minimized at . The likelihood is
For fixed , differentiation in gives the maximizer . Thus the unrestricted fit has , whereas under the null hypothesis the fitted variance is . Both maximize rather than minimize the likelihood: it tends to zero at either variance endpoint when the residual sum of squares is positive.
The restricted-to-unrestricted likelihood ratio is therefore
The generalized likelihood-ratio test rejects for small , equivalently large . Under the null, is standard normal, has a chi-squared distribution with degrees of freedom, and they are independent. To see the independence, apply an orthogonal matrix to the standardized normal sample, taking its first row to be : the transformed coordinates remain independent standard normal variables, and is the sum of squares of the other coordinates. Hence has Student's t-distribution with degrees of freedom.
For this two-sided test at , the cutoff is the percentile of , namely . The data give
Since , do not reject the manufacturer's mean-hardness claim at the level. This is a failure to reject, not proof that the mean equals .

New to topics? Read the docs here!