Line of best fit

First taught in Grades 6–8

Definition

A line of best fit is a straight line drawn through a scatter plot that best represents the trend of the data.

02468100246810Hours studiedScore (×10)
The orange line follows the upward trend of the points.
Advertisement

It is also called a trend line. A good line of best fit:

  • follows the direction of the data;
  • has about as many points above it as below it;
  • passes close to as many points as possible.

Using it to predict: the line above has equation about . For 5.5 hours of study, it predicts a score of about , or 61.

In high school, the line of best fit is found exactly with least-squares regression, which makes the residuals as small as possible. The correlation coefficient tells you how well the line fits.

Advertisement