Chapter 8: Problem 2
Suppose that random variables \(Y_{g j}, j=1, \ldots, n_{g}, g=1, \ldots, G\), are independent and that they satisfy the normal linear model \(Y_{g j}=x_{g}^{\mathrm{T}} \beta+\varepsilon_{g j}\). Write down the covariate matrix for this model, and show that the least squares estimates can be written as \(\left(X_{1}^{\mathrm{T}} W X_{1}\right)^{-1} X_{1}^{\mathrm{T}} W Z\), where \(W=\operatorname{diag}\left\\{n_{1}, \ldots, n_{G}\right\\}\), and the \(g\) th element of \(Z\) is \(n_{g}^{-1} \sum_{j} Y_{g j} .\) Hence show that weighted least squares based on \(Z\) and unweighted least squares based on \(Y\) give the same parameter estimates and confidence intervals, when \(\sigma^{2}\) is known. Why do they differ if \(\sigma^{2}\) is unknown, unless \(n_{g} \equiv 1 ?\) Discuss how the residuals for the two setups differ, and say which is preferable for modelchecking.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.