Using the Least Squares Formulae

How to Subscribe
Individual course$25Add to cart
The page below is a sample from the LabCE course Linear Regression Analysis (retired 10/31/2024). Access the complete course and earn ASCLS P.A.C.E.-approved continuing education credits by subscribing online.

Learn more about Linear Regression Analysis (retired 10/31/2024) (online CE course)
Using the Least Squares Formulae

Using the totals from the previous page, shown again on the right, we can calculate the slope of the regression line:

b = 167/218

b (slope) = 0.766
We can also calculate the y intercept of the regression line:
17=0.766(14) + a
17= a + 10.724
17 - 10.7.24 = a
6.276 = a
Therefore, the least squares regression line is:
y = 0.766 x + 6.276
Here is the calculated line, plotted on the original data points: