where ϵ1,…,ϵn are independent, identically distributed N(0,σ2),x1,…,xn are known real numbers with ∑i=1nxi=0 and α,β and σ2 are unknown.
(i) Find the least-squares estimates αand β of α and β, respectively, and explain why in this case they are the same as the maximum-likelihood estimates.
(ii) Determine the maximum-likelihood estimate σ2 of σ2 and find a multiple of it which is an unbiased estimate of σ2.
(iii) Determine the joint distribution of α,β and σ2.
(iv) Explain carefully how you would test the hypothesis H0:α=α0 against the alternative H1:α=α0.