Interpreting the slope and intercept
Learn to explain what a least-squares line is telling you, for Year 12 General Mathematics in Queensland (QCAA). Two numbers carry the story: the slope, the average change in the response for each extra unit of the explanatory variable, and the \(y\)-intercept, the predicted value when that variable is zero, such as an electrician's call-out fee.
You will write clear interpretations with the right units and the words "on average", work out the predicted change over several units, and decide when an intercept is meaningful and when it is an impossible value far outside the data. Next, you will use the line to predict and learn when those predictions can be trusted.
Theory
The slope and \(y\)-intercept of a least-squares line tell a story about the data. This guide for Year 12 General Mathematics in Queensland shows how to turn \(m\) and \(c\) into clear sentences with units, scale the slope, and decide when the intercept has a practical meaning.
In the least-squares line \(y = mx + c\), the slope \(m\) is the change in the predicted value of \(y\) for each one-unit increase in \(x\). Its sign gives the direction: positive means \(y\) tends to rise as \(x\) rises, negative means \(y\) tends to fall.
The \(y\)-intercept \(c\) is the predicted value of \(y\) when \(x = 0\). It only has a practical meaning if \(x = 0\) makes sense in the context and lies within (or close to) the data. Otherwise it is just the starting value that places the line.
Interpretations are statements about the data on average, so use the words "on average" or "predicted", give the units of both variables, and never say that \(x\) causes the change in \(y\).
The least-squares line:
The slope as a rate, and its units:
For a change of \(k\) units in \(x\), the predicted change in \(y\) is:
Interpreting a least-squares line in context
- Identify the variables. Name \(x\) (explanatory) and \(y\) (response) with their units.
- Interpret the slope. Use the sign for "increases" or "decreases", the size \(|m|\) with the units of \(y\), and "for each one-unit increase in \(x\)". Add "on average".
- Interpret the intercept. Say "when \(x\) is \(0\), the predicted \(y\) is \(c\)".
- Judge the intercept. Ask whether \(x = 0\) is possible and inside the data. If not, say it has no practical meaning.
- Working backwards. If you are told the average change in \(y\) per unit of \(x\) and the predicted \(y\) when \(x = 0\), those are \(m\) (negative for a decrease) and \(c\), so write \(y = mx + c\). From two points on a drawn line, \(m\) is the rise divided by the run.
Read off \(m\) and \(c\), then put each into a sentence with units.
| \(m\) | \(=\) | \(85 \text{ dollars per hour}\) |
| \(c\) | \(=\) | \(60 \text{ dollars}\) |
Slope: on average, the charge increases by \(\$85\) for each extra hour on the job.
Intercept: when the job takes \(0\) hours, the predicted charge is \(\$60\). This makes sense as a call-out fee for coming to the job.
The slope is negative, so the water level falls as the dry spell goes on.
| \(m\) | \(=\) | \(-0.35 \text{ kL per day}\) |
| \(|m|\) | \(=\) | \(0.35\) |
| \(c\) | \(=\) | \(22 \text{ kL}\) |
Slope: on average, the water in the tank decreases by \(0.35\) kL for each extra day without rain.
Intercept: when there have been \(0\) days without rain, the predicted amount of water is \(22\) kL. Since \(x = 0\) is part of the data, this has a practical meaning: the level just after rain.
| Shell width, \(x\) (cm) | 12 | 13 | 15 | 16 | 18 |
|---|---|---|---|---|---|
| Mass, \(y\) (g) | 310 | 430 | 590 | 715 | 885 |
Enter width as \(x\) and mass as \(y\). The regression mode gives:
| \(S_{xx}\) | \(=\) | \(22.8\) |
| \(S_{xy}\) | \(=\) | \(2166\) |
| \(m\) | \(=\) | \(\dfrac{2166}{22.8}\) |
| \(m\) | \(=\) | \(95\) |
| \(c\) | \(=\) | \(\bar{y} - m\bar{x}\) |
| \(c\) | \(=\) | \(586 - 95 \times 14.8\) |
| \(c\) | \(=\) | \(586 - 1406\) |
| \(c\) | \(=\) | \(-820\) |
The line is \(y = 95x - 820\).
Slope: on average, the mass increases by \(95\) g for each extra 1 cm of shell width.
Intercept: when the shell width is \(0\) cm, the predicted mass is \(-820\) g. This has no practical meaning: a crab cannot have zero width or a negative mass, and \(0\) cm is far outside the data (\(12\) to \(18\) cm).
(a) Find the predicted change in price for a house \(10\) km further from the beach.
(b) Mia says, "Moving 1 km further from the beach causes the price to drop by \(\$12.50\)." Explain her two mistakes.
(a) Multiply the slope by the change in \(x\). (b) Check the units of \(y\) and the wording.
| \(\text{change in } y\) | \(=\) | \(m \times k\) |
| \(\text{change in } y\) | \(=\) | \(-12.5 \times 10\) |
| \(\text{change in } y\) | \(=\) | \(-125\) |
| \(12.5 \text{ thousand}\) | \(=\) | \(\$12\,500\) |
(a) On average, the price is \(\$125\,000\) lower for a house \(10\) km further from the beach.
(b) Prices are in thousands, so the slope means a drop of \(\$12\,500\) per km, not \(\$12.50\). Also, the line describes an association, so she should say "on average, the price is lower", not that distance causes the drop.
Common pitfalls
Frequently asked questions
How do you interpret the slope of a least-squares line?
Say: on average, y increases (or decreases) by the size of the slope, in the units of y, for each one-unit increase in x. Use the sign of the slope to choose increases or decreases.
How do you interpret the y-intercept in context?
Say: when x is 0, the predicted value of y is c. Then check whether x = 0 is possible and inside the data. If it is not, the intercept has no practical meaning.
Why does the y-intercept sometimes not make sense?
Reaching x = 0 often means going far outside the data, where the linear trend may not hold. The intercept can then be an impossible value, such as a negative mass.
What does a negative slope mean?
A negative slope means that, on average, y decreases as x increases. It matches a negative correlation coefficient.
Does the slope show that x causes y to change?
No. The slope describes how y changes on average with x in the data. An association, however strong, does not prove that one variable causes the other.
How do you find the change in y for more than one unit of x?
Multiply the slope by the number of units. For example, a slope of -12.5 over a 10 km increase gives a predicted change of -125.