Using the simple linear regression model: $ {y_i}= {\beta_0} + {\beta_1}x_i + \epsilon_i$, where E[$\epsilon_i$]=0 and var[$\epsilon_i] = \sigma^2$...
If $ \hat{y_i}= \hat{\beta_0} + \hat{\beta_1}x_i$ and
$ \hat{y_i^*}= \hat{\beta_0} + \hat{\beta_1}x_i^*$
(where $\hat{\beta_0}$ and $\hat{\beta_1}$ are ordinary least squares estimates of $\beta_0$ and $\beta_1$)
how would I go about deriving $\text{cov}$$(\hat{y_i}, \hat{y_i}^*)$?
Here is what I have been thinking:
$\text{cov}$$(\hat{y_i}, \hat{y_i}^*) = cov(\hat{\beta_0} + \hat{\beta_1}x_i, \hat{\beta_0} + \hat{\beta_1}x_i^*) = \beta_1^2 cov(x_i, x_i^*) = \beta_1^2[E[(x_i - E(x_i))(x_i^* - E(x_i^*))]] $
If the work that I've done is correct, is there any more steps that I can take?
Would it follow that:
$\text{cov}$$(\hat{y_i}, \hat{y_i}^) = \sigma^2(1/n + \bar{x}^2/S_{xx}) + (x_i^ + x_i)(-\bar{x}(\sigma^2/S_{xx})) + (x_ix_i^*)(\sigma^2/S_{xx}) = $
$(\sigma^2)[(1/n + \bar{x}^2/S_{xx}) + (x_i^* + x_i)(-\bar{x}/S_{xx}) + (x_ix_i^*/S_{xx})]$?
And if the steps I took are correct, is there any further simplification to be done?
– stats566 Apr 24 '14 at 22:07