Let U be an n × 1 vector with 1 as its first element and 0s elsewhere. Consider computing the regression of U on an n × p′ full rank matrix X. As usual, let H = X(X′X) −1 X′ be the hat matrix with elements hij.
Show that the elements of the vector of fitted values from the regression of U on X are the
h1j, j = 1, 2, . . ., n.
Show that the first element of the vector of residuals is 1 − h11, and the other elements are
−h1j, j > 1.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here