Week 15: and and
Week 15: and and
Week 15: and and
Week 15
Question 1
specific data 𝑋𝑖 inside the sample. As for data 𝑋0 outside the sample, the relation is 𝑌̂0 = 𝑋0 𝑏.
̂𝟎 ), 𝐕𝐚𝐫(𝒀𝟎 − 𝒀
(1) Please use the above variables to find the formula for 𝐕𝐚𝐫(𝒀 ̂𝟎 ), and 𝐕𝐚𝐫(𝒀𝒊 − 𝒀̂𝒊 ),
with Var(𝑌𝑖 ) = 𝜎 2 .
Answer 1
̂𝟎 ) and 𝐕𝐚𝐫(𝒀𝒊 − 𝒀̂𝒊 ), we can find that the variance of data outside the sample
(2) Comparing 𝐕𝐚𝐫(𝒀𝟎 − 𝒀
is larger than that inside the sample. The reason is related to the covariance between data and
coefficients of the regression line. Because the data 𝒀𝒊 inside influences the value of coefficient 𝐛, the
variance of errors between 𝒀𝒊 and 𝒀̂𝒊 is expected to be less than that between 𝒀𝟎 and 𝒀
̂𝟎 .