Interpreting the slope and intercept
Learn to explain what a least squares line is telling you in Year 12 VCE General Mathematics. Two numbers carry the story: the slope, the average change in the response for each extra unit of the explanatory variable, and the intercept, the predicted value when that variable is zero, such as a plumber's call-out fee in Echuca.
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. You will also see why a strong trend is not proof of a cause, before using the line to make predictions.
Theory
The slope and intercept of a least squares line tell a story about the data. This Year 12 General Mathematics guide for students in Victoria shows how to turn \(b\) and \(a\) into clear sentences with units, scale the slope to other changes, and decide when the intercept has a practical meaning.
In the least squares line \(y = a + bx\), the slope \(b\) is the change in the predicted value of the response variable for each one-unit increase in the explanatory variable. Its sign gives the direction: positive means \(y\) tends to rise as \(x\) rises, negative means \(y\) tends to fall.
The intercept \(a\) is the predicted value of the response variable when the explanatory variable is \(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 number that places the line.
Interpretations describe 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, in symbols and in context:
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 the explanatory variable (\(x\)) and the response variable (\(y\)) with their units.
- Interpret the slope. Use the sign for "increases" or "decreases", the size \(|b|\) with the units of \(y\), and "for each one-unit increase in \(x\)". Add "on average".
- Scale if asked. For a change of \(k\) units in \(x\), multiply: \(b \times k\). Convert units if \(y\) is in thousands or \(x\) is in minutes.
- Interpret the intercept. Say "when \(x\) is \(0\), the predicted \(y\) is \(a\)".
- Judge the intercept. Ask whether \(x = 0\) is possible and inside the data. If not, say it has no practical meaning.
Compare with \(\text{response} = a + b \times \text{explanatory}\), then put each value into a sentence with units.
| \(b\) | \(=\) | \(90 \text{ dollars per hour}\) |
| \(a\) | \(=\) | \(70 \text{ dollars}\) |
Slope: on average, the charge increases by \(\$90\) for each additional hour on the job.
Intercept: when the job takes \(0\) hours, the predicted charge is \(\$70\). This makes sense as a call-out fee for coming to the job.
(a) Interpret the slope.
(b) By how much is the water predicted to fall over two weeks without rain?
(c) Interpret the intercept.
The slope is negative, so the water level falls as the dry spell goes on.
| \(b\) | \(=\) | \(-0.4 \text{ kL per day}\) |
| \(\text{change}\) | \(=\) | \(b \times 14\) |
| \(\text{change}\) | \(=\) | \(-0.4 \times 14\) |
| \(\text{change}\) | \(=\) | \(-5.6\) |
| \(a\) | \(=\) | \(25 \text{ kL}\) |
(a) On average, the water in the tank decreases by \(0.4\) kL for each additional day without rain.
(b) Over \(14\) days the water is predicted to fall by \(5.6\) kL.
(c) When there have been \(0\) days without rain, the predicted amount of water is \(25\) 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 | 425 | 575 | 695 | 855 |
Enter shell width as \(x\) and mass as \(y\). The regression mode gives:
| \(S_{xx}\) | \(=\) | \(22.8\) |
| \(S_{xy}\) | \(=\) | \(2052\) |
| \(b\) | \(=\) | \(\dfrac{S_{xy}}{S_{xx}}\) |
| \(b\) | \(=\) | \(\dfrac{2052}{22.8}\) |
| \(b\) | \(=\) | \(90\) |
| \(\bar{x}\) | \(=\) | \(14.8\) |
| \(\bar{y}\) | \(=\) | \(572\) |
| \(a\) | \(=\) | \(\bar{y} - b\bar{x}\) |
| \(a\) | \(=\) | \(572 - 90 \times 14.8\) |
| \(a\) | \(=\) | \(572 - 1332\) |
| \(a\) | \(=\) | \(-760\) |
The line is \(\text{mass} = -760 + 90 \times \text{width}\).
Slope: on average, the mass increases by \(90\) g for each additional centimetre of shell width.
Intercept: when the shell width is \(0\) cm, the predicted mass is \(-760\) 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 \(8\) km further from the beach.
(b) Mia says, "Moving 1 km further from the beach causes the price to drop by \(\$14.50\)." Explain her two mistakes.
(a) Multiply the slope by the change in distance. (b) Check the units of the price and the wording.
| \(\text{change}\) | \(=\) | \(b \times k\) |
| \(\text{change}\) | \(=\) | \(-14.5 \times 8\) |
| \(\text{change}\) | \(=\) | \(-116 \text{ thousand dollars}\) |
| \(14.5 \text{ thousand}\) | \(=\) | \(\$14\,500\) |
(a) On average, the price is \(\$116\,000\) lower for a house \(8\) km further from the beach.
(b) Prices are in thousands, so the slope means a drop of \(\$14\,500\) per km, not \(\$14.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, the response increases (or decreases) by the size of the slope, in the units of the response, for each one-unit increase in the explanatory variable. Use the sign of b to choose increases or decreases.
How do you interpret the intercept in context?
Say: when the explanatory variable is 0, the predicted value of the response is a. Then check whether x = 0 is possible and inside the data. If it is not, the intercept has no practical meaning.
Why does the 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, the response decreases as the explanatory variable 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 -14.5 over an 8 km increase gives a predicted change of -116.