Consider the linear regression model
Yi=α+βxi+εi
for i=1,…,n, where the non-zero numbers x1,…,xn are known and are such that x1+…+xn=0, the independent random variables ε1,…,εn have the N(0,σ2) distribution, and the parameters α,β and σ2 are unknown.
(a) Let (α^,β^) be the maximum likelihood estimator of (α,β). Prove that for each i, the random variables α^,β^ and Yi−α^−β^xi are uncorrelated. Using standard facts about the multivariate normal distribution, prove that α^,β^ and ∑i=1n(Yi−α^−β^xi)2 are independent.
(b) Find the critical region of the generalised likelihood ratio test of size 5% for testing H0:α=0 versus H1:α=0. Prove that the power function of this test is of the form w(α,β,σ2)=g(α/σ) for some function g. [You are not required to find g explicitly.]