Line of Best Fit Statistics Example 3

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

Example 3

medium
A line of best fit for temperature (ยฐC, xx) vs ice-cream sales (units, yy) is y=12xโˆ’50y = 12x - 50. (a) Predict sales when it is 30ยฐC. (b) Below what temperature does the model predict zero or negative sales? (c) Comment on the limitation.

Solution

  1. 1
    Step 1: (a) y=12(30)โˆ’50=360โˆ’50=310y = 12(30) - 50 = 360 - 50 = 310 units. (b) Set y=0y = 0: 12xโˆ’50=0โ‡’x=5012โ‰ˆ4.212x - 50 = 0 \Rightarrow x = \frac{50}{12} \approx 4.2ยฐC. Below 4.2ยฐC the model predicts negative sales.
  2. 2
    Step 2: (c) Negative sales are impossible โ€” this shows the model's limitation outside the range of observed data. Linear models may not be valid for extrapolation beyond the data range.

Answer

(a) 310 units at 30ยฐC. (b) Below about 4.2ยฐC, the model predicts zero or negative sales. (c) The linear model breaks down outside the data range โ€” extrapolation is unreliable.
Lines of best fit are useful for prediction within the data range but can give unrealistic results when extrapolated. Real-world relationships may not be linear across all values, so interpreting predictions from a linear model requires understanding its domain of validity.

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