Scatter plots: 7 questions solved step by step
What this lesson covers
- A scatter plot shows whether two numerical variables change together, and how closely.
- An association between two variables does not show that one causes the other.
The data: an Ōrewa dairy, 10 summer days
- Across (x): maximum temperature, in °C.
- Up (y): ice creams sold that day.
- Temperature may explain sales, so it goes across.
- Answer in context, with units, for these 10 days.
| °C | Sold | °C | Sold |
|---|---|---|---|
| 18 | 16 | 24 | 25 |
| 19 | 15 | 26 | 12 |
| 20 | 19 | 27 | 34 |
| 22 | 20 | 28 | 33 |
| 23 | 25 | 30 | 37 |
Question 1 · Achieved
- Describe the trend in context.
- Quote values from the data.

Q1: the trend
- Read the whole cloud.
- Say "tend": not every day.
- 18 °C: 16 ice creams sold
- 30 °C: 37 ice creams sold
- cloud rises left to rightbottom left to top right
- direction: positive
- Hotter days: sales tend to rise
Question 2 · Achieved
- Describe the strength and scatter.
- Name any unusual point.

Q2: strength and scatter
- Strong: close to a line.
- Unusual: keep it, explain.
- 9 of 10 dots near a straight line
- strength: strong; form: linear
- scatter: even from 18 to 30 °C
- unusual: 26 °C, only 12 sold
- 24 °C: 25 sold; 27 °C: 34 sold
- 12 is less than half of 25
- keep it: rain? closed early?
- Strong, linear, 1 unusual day
Try it: strength and scatter
Question 3 · Merit
- A trend line drawn by eye passes
- Through (18, 14) and (30, 38).
- Find its equation. What does
- The gradient mean in context?

Q3: the trend line
- Gradient = rise ÷ run.
- Then substitute for c.
- m = (38 − 14) ÷ (30 − 18)rise ÷ run
- = 24 ÷ 12 = 2
- y = 2x + c
- 14 = 2 × 18 + cuse (18, 14)
- 14 = 36 + c, so c = −22
- y = 2x − 22
- 2 × 30 − 22 = 38the other point
- about 2 more sold per extra 1 °C
- c = −22: no meaning at 0 °C
Question 4 · Merit
- Use y = 2x − 22 to predict sales
- On a 25 °C day.
- Interpolation or extrapolation?
- How reliable is it?
Q4: predict for 25 °C
- Substitute x = 25.
- Then check the range.
- y = 2 × 25 − 22
- = 50 − 22 = 28
- data: 18 °C to 30 °C
- 25 °C is inside: interpolation
- strong, dots close to the line
- but only 10 days, one dairy
- About 28 ice creams sold
Question 5 · Merit, in context
- A winter day has a maximum of 6 °C.
- Use y = 2x − 22 to predict sales.
- Does the prediction make sense?
Q5: predict for 6 °C
- Calculate, then question it.
- No winter days in the data.
- y = 2 × 6 − 22
- = 12 − 22 = −10
- −10 ice creamssales cannot be negative
- 6 °C is outside 18 to 30 °C
- extrapolation: no winter data
- The line cannot predict winter
Try it: why not predict outside the data
Question 6 · Excellence
- The owner says the 26 °C day
- Proves the trend line is useless.
- Use the line to evaluate her claim.

Q6: is the line useless?
- Predicted versus actual.
- Compare the other days.
- 2 × 26 − 22 = 30predicted
- 12 − 30 = −18actual − predicted
- other 9 days: within 2 of line
- 24 °C: line 26, sold 25
- 27 °C: line 32, sold 34
- 1 day far off, 9 days close
- "The line is useless"fits 9 days of 10
- The line fits normal days well
Question 7 · Excellence
- A medical centre near the beach saw
- More sunburn on high-sales days.
- "Ice creams cause sunburn."
- Evaluate the claim.
Q7: association or cause?
- Look for a third variable.
- Associated is not caused.
- sales and sunburn rise together
- that is an association
- third variable: hot, sunny days
- sun means more ice creams sold
- sun means more sunburn cases
- "Ice creams cause sunburn"not shown by this data
- observational, not an experiment
- Associated with, not caused by
Try it: the dairy's line
Common mistakes
- As temperature rises, ice cream sales rise.Say sales "tend to" rise and quote values, 16 sold at 18 °C and 37 at 30 °C, because not every day fits the pattern.
- On a 6 °C day the dairy will sell 2 × 6 − 22 = −10 ice creams.6 °C is outside the 18 to 30 °C data, so this is extrapolation; −10 is impossible and the line cannot predict winter sales.
- The 26 °C day with 12 sales doesn't fit, so delete it.Keep an unusual point and suggest a possible reason, such as rain or closing early.
- More sunburn on high-sales days, so ice creams cause sunburn.That is an association, not cause: hot, sunny weather raises both, and the data is observational.
What answered all seven
- Describe, fit, predict, judge, and never claim a cause.
| Step | How |
|---|---|
| Direction | positive, negative or none |
| Strength | how close dots are to a line |
| Unusual | name it, keep it, give a reason |
| Line | gradient first, then c |
| Predict | inside the data: interpolate |
| Outside | extrapolation: do not trust |
| Cause | say "associated with" |
Challenge
A Wellington shop recorded rainfall (mm) and umbrellas sold on 12 days; rainfall ranged from 2 mm to 16 mm. A trend line drawn by eye passes through (4, 30) and (16, 90), with x = rainfall and y = umbrellas sold. (a) Find its equation and explain the gradient in context. (b) The owner says: "If it rains twice as much, I sell twice as many umbrellas." Use the line to test this at 4 mm and 8 mm, and explain why it fails. (c) She hopes to sell 100 umbrellas in a day. How much rain does the line say she needs, and should she trust it?
Hint
Gradient = rise ÷ run, then substitute a point to find c. For (b), ask what the line gives at x = 0 and why that matters when you double x.
Answer
(a) y = 5x + 10: about 5 more umbrellas for each extra 1 mm of rain (b) 4 mm gives 30 and 8 mm gives 50, not 60, because the line does not pass through (0, 0) (c) 18 mm, but that is outside the 2 to 16 mm data, so it is extrapolation and not reliable
Step by step
- Gradient = (90 − 30) ÷ (16 − 4) = 60 ÷ 12 = 5, so about 5 more umbrellas are sold for each extra 1 mm of rain.
- Using (4, 30): 30 = 5 × 4 + c, so c = 10 and the line is y = 5x + 10.
- At 4 mm the line gives 30; at 8 mm it gives 50, which is not double 30.
- Doubling only works for a line through (0, 0); here the extra 10 in y = 5x + 10 does not double, so sales grow by 5 per mm but do not double when rain doubles.
- For 100 sold: 100 = 5x + 10 gives x = 18 mm, which is beyond the wettest day recorded (16 mm), so it is extrapolation and should not be trusted.
Full working
- m = (90 − 30) ÷ (16 − 4) = 60 ÷ 12 = 5rise ÷ run
- 30 = 5 × 4 + c, c = 10substitute (4, 30)
- y = 5x + 10check: 5 × 16 + 10 = 90
- x = 4: y = 30; x = 8: y = 5050 is not 2 × 30 = 60
- 100 = 5x + 10, x = 90 ÷ 5 = 18 mmrearrange
- 18 mm > 16 mmoutside the data: extrapolation
- y = 5x + 10; doubling fails (30 to 50); 18 mm, not reliable
Six cars of the same model are listed for sale. Age (years) and asking price (thousands of dollars): (2, 27), (4, 20), (5, 18), (7, 14), (9, 10), (10, 7). Liam draws a trend line by joining the youngest and oldest cars. Aroha draws y = −2x + 28 by eye through the middle of the cloud. (a) Find the equation of Liam's line. (b) For each line, add up how far each car's price is from the line, ignoring signs. Which line fits better? (c) Explain what went wrong with Liam's method, and use the better line to predict the price of a 6-year-old car.
Hint
For each car, put its age into the line, then find the gap between the line's price and the real price. Look closely at the 2-year-old car: is it typical?
Answer
(a) y = −2.5x + 32 (b) Liam's total is 4.5, Aroha's is 4, so Aroha's fits better (c) Liam's line is set by the unusual 2-year-old car; Aroha's line predicts about $16 000
Step by step
- Liam's gradient is (7 − 27) ÷ (10 − 2) = −20 ÷ 8 = −2.5, and 27 = −2.5 × 2 + c gives c = 32.
- Liam's line misses the six prices by 0, 2, 1.5, 0.5, 0.5 and 0: a total of 4.5.
- Aroha's line misses them by 3, 0, 0, 0, 0 and 1: a total of 4, so Aroha's line fits better.
- The 2-year-old car is about $3000 above the trend of the others (maybe a higher model). Joining the end points lets one unusual car tilt the whole line; a line by eye follows the whole cloud.
- Aroha's line at 6 years: −2 × 6 + 28 = 16, so about $16 000, an interpolation inside the 2 to 10 year data. The gradient −2 means about $2000 less for each extra year of age.
Full working
- Liam: m = (7 − 27) ÷ (10 − 2) = −2.5rise ÷ run
- 27 = −2.5 × 2 + c, c = 32, so y = −2.5x + 32substitute (2, 27)
- Liam gaps: 0 + 2 + 1.5 + 0.5 + 0.5 + 0 = 4.5line values 27, 22, 19.5, 14.5, 9.5, 7
- Aroha gaps: 3 + 0 + 0 + 0 + 0 + 1 = 4line values 24, 20, 18, 14, 10, 8
- 4 < 4.5Aroha's line fits better
- y = −2 × 6 + 28 = 166 is inside 2 to 10 years
- Aroha's line; a 6-year-old car about $16 000
A teacher records five Year 11 students' typing practice (x hours a week) and the time each takes to type a set page (y minutes): (2, 19.5), (4, 16.5), (6, 15.0), (8, 14.0) and (10, 13.5). She draws the trend line y = 20 − 0.75x. (a) For each student, find the residual: the actual time minus the time the line predicts. (b) Describe the pattern in the residuals, and explain what it tells you about the shape of the relationship. (c) Use the line to predict the time of a student who practises 14 hours a week. Is a real student who practises 14 hours likely to be faster or slower than this? Use the data to explain.
Hint
A residual is positive when the point is above the line. If a straight line suited the data, the residuals would be scattered with no pattern. Look at how much time each extra 2 hours of practice saves.
Answer
(a) +1.0, −0.5, −0.5, 0 and +1.0 minutes. (b) Positive at both ends and negative in the middle: the points bend away from the line, so the relationship is curved, with each extra 2 hours saving less time (3, 1.5, 1, then 0.5 minutes). (c) The line predicts 9.5 minutes. A real student is likely to be slower than that: the savings are shrinking, so times are levelling off well above 9.5 minutes, and 14 hours is outside the data, so the line is being extrapolated.
Step by step
- Work out the line's prediction at each x, then subtract it from the actual time.
- The residuals are not scattered: they go plus, minus, minus, zero, plus. That curved pattern means a straight line is the wrong shape.
- Find the time saved for each extra 2 hours: it keeps getting smaller, so the real relationship flattens out.
- The line keeps falling at 0.75 minutes per hour forever, so beyond the data it predicts times that are too fast.
- 14 hours is also outside the 2 to 10 hours of data, which makes the prediction even less reliable.
Full working
- line at 2, 4, 6, 8, 10: 18.5, 17.0, 15.5, 14.0, 12.520 − 0.75x
- residuals: 19.5 − 18.5 = +1.0, 16.5 − 17.0 = −0.5, 15.0 − 15.5 = −0.5actual minus line
- 14.0 − 14.0 = 0, 13.5 − 12.5 = +1.0
- savings per 2 hours: 3.0, 1.5, 1.0, 0.5 minutesshrinking, so curved
- (c) 20 − 0.75 × 14 = 20 − 10.5 = 9.5 minutes
- (a) +1.0, −0.5, −0.5, 0, +1.0; (b) curved pattern; (c) 9.5 minutes, but a real student is likely slower
Practise this
Report a mistake
More in AS 91944
Statistical enquiry: PPDAC and investigative questions6 min
Planning data collection and sources of variation6 min
Comparing groups: box plots, shift and overlap6 min
Scatter plots: describing a relationship between two variables6 min
Writing a statistics conclusion: Achieved to Excellence6 min
Statistical enquiry: 7 questions solved step by step10 min
Comparing groups: 6 questions solved step by step11 min
Scatter plots: 7 questions solved step by step10 minIs your child on track?
Take the free placement test