twoflower
- 363
- 0
Homework Statement
Consider model of linear regression:
<br /> Y_i = \beta_0 + x_i \beta_1 + \epsilon_i<br />
i = 1, ..., 5, where \epsilon_i \sim \mathcal{N}(0, \sigma^2) are independent. Find expected value and variance of predicted values \widehat{Y}_i considering that observations are obtained in points 1, 2, 3, 4, 5 (ie. x_i = i for i = 1, ..., 5) and \sigma^2 = 1. Hint: remember that
<br /> \widehat{Y} = HY<br />
Homework Equations
<br /> H = X\left(X^T X\right)^{-1}X^T Y<br />
The Attempt at a Solution
My attempt is
<br /> E \widehat{Y} = \beta_0 + X\beta_1 = (\beta_0 + \beta_1, \beta_0 + 2\beta_1, \beta_0 + 3\beta_1, \beta_0 + 4\beta_1, \beta_0 + 5\beta_1)<br />
Is it correct?
Anyway, even if it is, how do I find the variance and how do I use the hint? :)
Thank you.