How To Find Least Squares Regression Line From Computer Output. For each (x,y) point calculate x 2 and xy. This is the least squares method.
To find the line of best fit for n points: Least squares regression line from a computer output; This is the variation that is not explained by our regression model.