Least Squares Calculation
Using the Least Squares Formulae
Using the totals from the previous table, we can calculate the slope of the regression line:
We can also calculate the y intercept of the regression line:
Therefore, the least squares regression line is:
Here is the calculated line, plotted on the original data points: