I have points $(1,1) (2,2)$ and $(3,2)$. Now I wish use least-squares to fit a line through it.
The equations I get, $$ C+D=1$$ $$ C+2D=2$$ $$ C+3D=2$$ Now, of course there exists no solution to this system($Ax=b$). We are obtaining the best fit hyperplanein $\mathbb R^{2}$(,i.e., a line) for the points. This plane has the closest projections of vector $b$.
Questions:
- I can't understand what the plane in $\mathbb R^{3}$ represents on which we are projecting on. What's does it signify?
- How the the plane in $\mathbb R^{3}$ relate to the best-fit line we obtain?