Using the Least Squares Formulae

How to Subscribe
MLS & MLT Comprehensive CE Package
Includes 139 CE courses, most popular
$95Add to cart
Pick Your Courses
Up to 8 CE hours
$50Add to cart
Individual course$20Add to cart
The page below is a sample from the LabCE course Linear Regression Analysis. Access the complete course and earn ASCLS P.A.C.E.-approved continuing education credits by subscribing online.

Learn more about Linear Regression Analysis (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 (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:

Here is the calculated line, plotted on the original data points: