Line of Best Fit Statistics Example 1

Follow the full solution, then compare it with the other examples linked below.

Example 1

easy
A scatter plot shows the relationship between hours studied (x) and test score (y). The data points generally trend upward. A line of best fit has equation y=5x+40y = 5x + 40. (a) Interpret the slope. (b) Predict the score for a student who studies 8 hours.

Solution

  1. 1
    Step 1: (a) The slope is 5, meaning for each additional hour studied, the predicted test score increases by 5 points.
  2. 2
    Step 2: (b) Substitute x=8x = 8: y=5(8)+40=40+40=80y = 5(8) + 40 = 40 + 40 = 80.
  3. 3
    Step 3: The predicted score is 80. This is an interpolation if 8 hours is within the range of the data, or an extrapolation if it is outside the data range.

Answer

(a) Each additional hour of study is associated with a 5-point increase in test score. (b) Predicted score for 8 hours: 80.
The line of best fit summarises the linear relationship between two variables. The slope represents the rate of change, and the y-intercept is the predicted value when x=0x = 0. Predictions are most reliable within the range of observed data (interpolation) and less reliable outside it (extrapolation).

About Line of Best Fit

The line of best fit (trend line) is the straight line that best represents the overall trend in a scatter plot by minimizing the sum of squared vertical distances between the line and all data points. Its equation enables predictions for new x-values.

Learn more about Line of Best Fit โ†’

More Line of Best Fit Examples