Linear Regression (Least Squares)
A lightweight execution-visualization book.
Least Squares
Data as an Exact Table
What Fit Means
Residuals and the Error We Minimize
The Normal Equations
Building the Normal Equations
Solving Exactly
The Fitted Line and Zero-Sum Residuals
Plug In One x
Another Fit
One Row Can Move the Fit
Fitting Is Not Predicting