Skip to main content
WAMathematics ApplicationsSyllabus dot point

How do we fit the best straight line to bivariate data and read meaning from it?

Fit a least-squares line using technology, interpret the slope and intercept in context, and predict while distinguishing interpolation from extrapolation.

How to fit the least-squares regression line with technology, interpret its slope and intercept in real units, predict with the equation, and judge interpolation against extrapolation.

Generated by Claude Opus 4.77 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this dot point is asking
  2. Fitting the line
  3. Interpreting the coefficients
  4. Predicting
  5. Why extrapolation fails

What this dot point is asking

You must fit the line, write its equation, interpret the two coefficients in context with units, use the line to predict, and judge the reliability of each prediction.

Fitting the line

The least-squares line is the straight line for which the sum of the squared vertical distances from the data points is as small as possible. In this course you fit it with technology, entering the explanatory list and the response list and reading off aa and bb.

Interpreting the coefficients

Interpretation must use the real variable names and units.

  • Slope bb. For each one-unit increase in the explanatory variable, the response variable changes by bb units on average. State whether it rises or falls.
  • Intercept aa. The predicted response when the explanatory variable is zero. This is only meaningful if x=0x = 0 is sensible in the context.

Predicting

Substitute an xx value into the equation to predict yy.

  • Interpolation predicts for an xx inside the range of the data. It is usually reliable.
  • Extrapolation predicts for an xx outside the range. It is risky, because the linear pattern may not continue.

Why extrapolation fails

A least-squares line is only evidence for the pattern over the range that produced it. Pushed far beyond that range it can give impossible answers such as a negative value or a score above the maximum, which is why predictions must always be checked against the data range and against common sense.