I am reading Foundations and Applications of Stats by Pruim. I am having a tough time understanding least squares regression from a vector notation standpoint. I don't have a good understanding of linear algebra.
I have a few questions:
- Why does the residual vector (red line) have to point to and end at the same point as the observation vector (black line)? I get that the red line has to be orthogonal to the model space as we look to minimize the length of the residual and so theoretically, the red line has to be the shortest distance between the model space and the black line. But if we subtract two vectors, [y - yhat], I don't get how the length and magnitude of the resulting vector has to be that specific red line?
- What does it mean by [y - y^] must be shorter than all other [y - y~]. I mean, if [y~ = y], wouldn't that lead to a vector length of 0? What other constraint or assumption am I missing?