No R packages are permitted for use in this assignment.
-
If \(P\) is a symmetric and idempotent matrix, show that the Pythagorean relationship holds:
\[ \|y\|^2 = \|Py\|^2 + \|(I - P)y\|^2. \]
- Let \(G : \mathbb{R}^p \to \mathbb{R}\) defined by \(G(\beta) := (y - X\beta)'W(y - X\beta)\). Derive an expression for \(\nabla_\beta G(\beta)\).
-
Suppose that \(Y_i \sim \text{Binomial}(p, n_i)\) for \(i \in \{1, \ldots, N\}\), and assume that \(Y_1, \ldots, Y_N\) are independent.
- Write this as a linear model.
- Find the BLUE of \(p\).
- Find the MLE of \(p\). How does the variance of the MLE compare to the variance of the BLUE?
-
Suppose that \(Y_1, \ldots, Y_n \overset{\text{iid}}{\sim} \text{Uniform}(0, 2\theta)\), and define \(U_i := Y_i - \theta\) for \(i \in \{1, \ldots, n\}\).
- Find the mean and variance of \(U := (U_1, \ldots, U_n)'\).
- Show that \(Y := (Y_1, \ldots, Y_n)'\) is generated according to a linear model that satisfies the Gauss-Markov assumptions.
- Find the BLUE of \(\theta\), and denote the BLUE by \(\hat{\theta}_{\text{OLS}}\).
- Find \(c\) so that the estimator \(\hat{\theta} = cY_{(n)}\) is unbiased for \(\theta\), where \(Y_{(i)}\) denotes the \(i\)th order statistic, and compute the variance of \(\hat{\theta}\).
- Compare the variances of \(\hat{\theta}_{\text{OLS}}\) and \(\hat{\theta}\), and provide intuition for your finding.
- Show that if \(X\) is a \(p\)-dimensional random vector with mean \(\mu\) and covariance \(\Sigma\), \(A\) is a \(p \times p\) matrix, and \(Y = X'AX\), then \(E(Y) = \text{tr}(A\Sigma) + \mu'A\mu\).
-
For a random vector \(Y\), with finite second moment, verify the following properties.
- \(E(a'Y) = a'E(Y)\), for a fixed vector \(a\).
- \(\text{Var}(a'Y) = a'\text{Var}(Y)a\), for a fixed vector \(a\).
- \(\text{Cov}(a'Y, c'Y) = a'\text{Var}(Y)c\), for fixed vectors \(a\) and \(c\).
- \(\text{Var}(A'Y) = A'\text{Var}(Y)A\), for a fixed matrix \(A\).