Hacker News new | ask | show | jobs
by tw1010 3076 days ago
It's way more fun to know how to derive least squares than to memorize some formula: https://see.stanford.edu/materials/lsoeldsee263/05-ls.pdf (page 4)
2 comments

Also useful to understand least squares as a special case of maximum likelihood estimation. MLE I think is very intuitive.
I know a bit of stats, can you explain why MLE is intuitive?
[misunderstood]
You're confusing linear regression and least squares. (They're connected but not identical in that way.) Least squares gives the closest orthagonal (perpendicular) projection onto the range of the matrix. The slide is correct.