Lesson 3 of 7 · 14 min
Interpreting the slope and intercept
Say what the slope and y-intercept of a least-squares line mean in context, with units, and decide when the intercept has no practical meaning.
What you will be able to do
- Interpret the slope as the predicted change in the response variable for a one-unit increase in the explanatory variable.
- Interpret the y-intercept as the predicted response when the explanatory variable is 0.
- Decide whether the intercept is meaningful in context.
A Brisbane taxi company's fares for nine trips are plotted against the trip distance. The least-squares line is
with fare in dollars and distance in kilometres. Both numbers in that equation tell a story about how taxis charge.
Follow the line one kilometre to the right: it rises by $2.28. Follow it back to a distance of 0: it meets the vertical axis near $3.58.
Definition
The slope
The slope is the predicted change in the response variable for each increase of one unit in the explanatory variable.
For the taxis, : for each additional kilometre travelled, the fare is predicted to increase by $2.28.
A negative slope is a predicted decrease. Give the size of the change, its direction, the units and both variables.
Definition
The y-intercept
The -intercept is the predicted value of the response variable when the explanatory variable is 0.
For the taxis, : a trip of 0 km is predicted to cost $3.58 — an estimate of the fixed charge for hiring the taxi (the flagfall).
For a phone, . Which statement interprets the slope correctly?
Worked example
Interpret the slope and intercept of a taxi-fare model
For nine taxi trips in Brisbane of 3 km to 25 km, the least-squares line is
where fare is in dollars and distance is in kilometres. Interpret the slope and the -intercept in context.
Step 1: Identify the slope and intercept
and . Distance is the explanatory variable and fare is the response.
Step 2: Interpret the slope
For each additional kilometre travelled, the fare is predicted to increase by $2.28.
The slope is the change in the response for a one-unit increase in the explanatory variable. Its units are dollars per kilometre.
Step 3: Interpret the intercept
For a trip of 0 km, the fare is predicted to be $3.58.
Step 4: Decide whether the intercept is meaningful
0 km is just outside the data, but a fixed charge for hiring the taxi makes sense, so $3.58 is a reasonable estimate of the flagfall.
Taxis really do charge a fixed amount before any distance is travelled, so this intercept has a sensible meaning.
Try it yourself first, then check the working one step at a time.
Answer
Each extra kilometre is predicted to add $2.28 to the fare. A 0 km trip is predicted to cost $3.58, which estimates the fixed hiring charge (flagfall).
Method
Slope: "For each one-unit increase in , is predicted to increase/decrease by units."
Intercept: "When is 0, is predicted to be ." Then judge whether that makes sense.
Watch out for
Saying "the slope is 2.28" without the context and units.
Reversing the variables: "each extra dollar buys 2.28 km".
The intercept is a prediction at , and that can be a long way from the data — or make no sense at all. A line relating adult height to arm span has an intercept of about 20.65 cm, but no adult has an arm span of 0 cm. Before you interpret , ask two questions:
- Does make sense in context?
- Is reasonably close to the data? If not, the intercept is an extrapolation and may be unreliable.
Worked example
When the intercept has no practical meaning
For eight seasons on a Darling Downs farm with growing-season rainfall between 210 mm and 395 mm, the least-squares line is
where yield is in kilograms per hectare and rainfall is in millimetres. Interpret the slope and the -intercept, and comment on whether each is meaningful.
Step 1: Interpret the slope
For each additional millimetre of growing-season rainfall, the wheat yield is predicted to increase by 8.71 kg/ha.
Step 2: Check the slope is sensible
Over the data, 100 mm more rain is predicted to add about 871 kg/ha — a plausible effect, within the range of the data.
Step 3: Interpret the intercept
With 0 mm of rainfall, the yield is predicted to be kg/ha.
Step 4: Judge the intercept
A negative yield is impossible, and 0 mm is far below the smallest rainfall in the data (210 mm). The intercept is an extreme extrapolation and has no practical meaning; it simply positions the line.
The line only describes the association between 210 mm and 395 mm. Near 0 mm, crops wouldn't grow at all, and the relationship certainly isn't the same straight line.
Try it yourself first, then check the working one step at a time.
Answer
Each extra millimetre of rain is predicted to increase the yield by 8.71 kg/ha. The intercept, kg/ha at 0 mm, has no practical meaning: a negative yield is impossible and 0 mm is far outside the data.
Method
Interpret the slope with units and both variables.
State the intercept as a prediction at .
Ask whether 0 is possible and near the data; if not, say the intercept has no practical meaning and why.
Watch out for
Inventing a meaning for an impossible intercept.
Forgetting the units of the slope (kg/ha per mm).
Common mistake
Mixing up the variables
The slope is the change in the response per unit of the explanatory variable — never the other way round. "Each additional dollar of fare means 2.28 more kilometres" is wrong: the equation predicts fare from distance.
Using , by how many dollars is the fare predicted to increase when a trip is 5 km longer?
Exam tip
Templates that earn the marks
- Slope: "For each one-unit increase in [explanatory variable], [response variable] is predicted to increase/decrease by [units]."
- Intercept: "When [explanatory variable] is 0, [response variable] is predicted to be [units]." Then say whether this is meaningful.
Use "predicted" or "on average" — the line describes a trend, not a guarantee for every individual.
Summary
The slope is the predicted change in the response for each one-unit increase in the explanatory variable. Its sign tells you increase or decrease.
The -intercept is the predicted response when the explanatory variable is 0.
The intercept is often not meaningful: may be impossible or far outside the data.
Always interpret with the variable names, units and the word "predicted".
Finished the lesson?
Try the 2 quick checks above and the lesson completes itself, or mark it complete now.