In a linear regression model, is the hat matrix H orthogonal to the residual?

74 Views Asked by At

I think they are orthogonal since $\hat{\epsilon} = (I-H)Y$ so $H\hat{\epsilon} = HY-HY = 0$, but is this the correct proof and how can think of this geometrically?