HW 10 Solutions
STA 211 Spring 2023 (Jiang)
Yes. Under the normality and constant variance assumptions, the distribution of \(Y | \mathbf{X}\) is \(N(\mathbf{X}\boldsymbol\beta, \sigma^2)\). The conditional expectation \(E(Y | \mathbf{X})\) is linked to thr linear predictor \(\mathbf{X}\boldsymbol\beta\) through the identity function.
Yes. The distribution of \(Y | \mathbf{X}\) is \(Pois(\lambda)\). The conditional expectation \(\lambda = E(Y | \mathbf{X})\) is linked to the linear predictor \(\mathbf{X}\boldsymbol\beta\) through the log function. This is indeed the canonical link. The relevant functions for the Poisson distribution in canonical form are
\[\begin{align*} h(y) &= \frac{1}{y!}I(y \in \{0, 1, 2, \cdots \})\\ \eta(\lambda) &= \log(\lambda) \equiv \eta \implies \lambda = e^\eta\\ T(y) &= y\\ A(\eta) &= \lambda \end{align*}\]
Yes. The distribution of \(Y\) is \(Exp(\lambda)\). The conditional expectation \(\lambda = E(Y | \mathbf{X})\) is linked to the linear predictor \(\mathbf{X}\boldsymbol\beta\) through the log function. This is not the canonical link, since the relevant functions for the Exponential distribution are
\[\begin{align*} h(y) &= I(y > 0)\\ \eta(\lambda) &= -{\lambda} \equiv \eta \implies \lambda = -\eta\\ T(y) &= y\\ A(\eta) &= -\log\left(-\eta\right) \end{align*}\]