Which regression line to use for a prediction, and how to choose when a question gives you both lines. Exams give the two lines and expect you to pick the right one for the marks.
See it drawn, step by step
In My Learning, handwritten diagrams build one step at a time. Play, pause and replay each explanation until it clicks. Create your free account to try it.
Substitute the known value into the line: Once you have the regression line y = ax + b, predict a value of y by substituting the given x (and vice versa with the x-on-y line).
It's a one-step substitution.
Revision hours and scores with their regression line: read y for a given x. Inside the data (interpolation) the line is reliable; far outside it (extrapolation) it may not hold.
Interactive diagram
Explore the labelled diagram, charts and maps for this topic in full study mode.
Example — predict y
The regression line of test score y on revision hours x is y = 2.5x + 8.
Predict the score of a student who revises for 6 hours.
Step by step
- Substitute x = 6.
- Evaluate.
Final answer
A predicted score of about 23.
Use the right line for the direction: Predicting y from x → use y on x.
Predicting x from y → use x on y.
Example — two lines given: choose
For a group of adults, the regression line of mass W kg on height H cm is W = 0.6H − 45, and the regression line of H on W is H = 1.2W + 92.
Estimate the height of an adult with a mass of 65 kg.
Step by step
- Same shortcut: H wanted, so H on W.
- Put in W = 65.
Final answer
About 170 cm.
Free preview
This is the free notes preview
You're reading the free notes. Aimnova Pro unlocks the full study experience — and you can try it with your first topic free to keep:
- FlashcardsLock in vocabulary and key terms with spaced repetition.
- Practice questionsAnswer exam-style questions and get instant AI marking.
- Mock exams & past-paper vaultSit full mocks and see exactly how examiners award marks.
- Personalised study planA daily plan built around your exam date and weak areas.
When a prediction can be trusted: inside the data or outside it. The same check works for both lines, and papers ask you to comment on it.
See it drawn, step by step
In My Learning, handwritten diagrams build one step at a time. Play, pause and replay each explanation until it clicks. Create your free account to try it.
Inside the data is safe; outside is risky: Interpolation = predicting inside the range of the original data — generally reliable.
Extrapolation = predicting outside the range — unreliable, because the pattern may not continue.
Example — judge the prediction
Data was collected for revision hours from 2 to 9.
Comment on the reliability of predicting the score for (a) 5 hours and (b) 20 hours.
Step by step
- 5 hours is inside 2–9.
- 20 hours is far outside 2–9.
Final answer
(a) Reliable (interpolation, inside the data). (b) Unreliable (extrapolation, far outside the data).
Extrapolation assumes the trend continues: Outside the data the relationship may change, so an extrapolated prediction can be far off.
Practice with exam-style questions
Answer exam-style questions and get AI feedback that shows you exactly what examiners want to see in a full-marks response.
The second check: how strong the correlation is. A comment on reliability names both the range and r.
See it drawn, step by step
In My Learning, handwritten diagrams build one step at a time. Play, pause and replay each explanation until it clicks. Create your free account to try it.
Strong correlation + inside the data: A prediction is most reliable when the correlation is strong (|r| close to 1) and the x-value is within the data range.
Weak correlation makes even interpolated predictions unreliable.
Example — comment on reliability
A regression line is used to predict a value inside the data range, but the correlation coefficient is r = 0.32.
Comment on the reliability.
Step by step
- Inside the data → interpolation (good).
- But the correlation is weak.
Final answer
Although it's interpolation, the weak correlation (r = 0.32) means the prediction is still unreliable.
Check BOTH things: Mention the range (interpolation/extrapolation) and the strength of r when asked to comment.
How to get the line of x on y from your calculator, why rearranging the y-on-x line gives a different answer, and how to use the line after a model. Papers ask for the reason and for the right method.
See it drawn, step by step
In My Learning, handwritten diagrams build one step at a time. Play, pause and replay each explanation until it clicks. Create your free account to try it.
The line of x on y: The regression line of x on y, x = ay + b, comes from the GDC with the y values in the first list and the x values in the second.
Use it to estimate x from y. It is a different line from y on x, so never rearrange y on x.
Example — a model, then the line
The number of visitors y to a park on a day is predicted by a model; for tomorrow it gives y = 250. The regression line of the ice creams sold, x, on the visitors, y, is x = 0.12y + 5.
Predict the number of ice creams sold tomorrow.
Step by step
- The model gives y.
- Same shortcut: x on y.
Final answer
About 35 ice creams.
GDC walkthrough
Step through the exact calculator keystrokes, screen by screen, in study mode.
Example — the line of x on y
Six students sat two quizzes.
| Quiz 1 (x) | 8 | 12 | 15 | 19 | 22 | 26 |
|---|---|---|---|---|---|---|
| Quiz 2 (y) | 14 | 20 | 17 | 25 | 23 | 29 |
Find the equation of the regression line of x on y.
Step by step
- Same shortcut: y first, x second.
- x as the subject.
Final answer
x = 1.11y − 6.71
See it drawn, step by step
In My Learning, handwritten diagrams build one step at a time. Play, pause and replay each explanation until it clicks. Create your free account to try it.
Example — the wrong line, then the right one
For the two quizzes above, the regression line of y on x is y = 0.755x + 8.51. Mia missed the first one but scored 27 on the second. A teacher solves 27 = 0.755x + 8.51 and estimates 25 for the first.
(a) Give a reason why this method is not appropriate.
(b) Use an appropriate method to show that the estimate for Mia's first score is 23, to the nearest integer.
Step by step
- (a) Wrong line.
- (b) Same shortcut: x on y.
- Put in y = 27, then round.
Final answer
(a) A y-on-x line should not be used to predict x from y. (b) x = 23.299107…, which is 23 to the nearest integer.
Feeling unprepared for exams?
Get a clear study plan, practice with real questions, and know exactly where you stand before exam day. No more guessing.
How to find both means from the two regression lines, with or without a calculator. Papers set this on Paper 1 with fractions and on Paper 2 with decimals.
See it drawn, step by step
In My Learning, handwritten diagrams build one step at a time. Play, pause and replay each explanation until it clicks. Create your free account to try it.
Two lines, one meeting point: Both regression lines pass through the mean point, so the point where they cross is (x̄, ȳ): solve them simultaneously to find the two means.
To estimate a variable, use the line that has that variable as its subject.
Example — find the means
The regression line of y on x is y = 2x + 3, and the line of x on y is x = 0.4y + 0.6.
Find the mean of x and the mean of y.
Step by step
- Put y into x.
- x̄, then ȳ.
Final answer
x̄ = 9, ȳ = 21.
Animated graph
Watch the graph build step by step in study mode.
Example — two regression lines
For a data set, the regression line of y on x is y = 0.5x + 6, and the line of x on y is x = 1.6y − 8.
(a) Which line should be used to estimate y from a given x?
(b) Find the mean point (x̄, ȳ).
Step by step
- (a) Same shortcut: y wanted, y on x.
- (b) Solve together.
- Then ȳ.
Final answer
(a) the y-on-x line. (b) mean point (8, 10).
See it drawn, step by step
In My Learning, handwritten diagrams build one step at a time. Play, pause and replay each explanation until it clicks. Create your free account to try it.
Example — Paper 1, no calculator
For some apple trees, the age x years and the yield y kg give the regression line of y on x as y = 6x − 9 and the regression line of x on y as .
(a) A tree yields 63 kg. Estimate its age.
(b) Find the mean age of the trees.
Step by step
- (a) x wanted: x on y.
- (b) Same shortcut: solve together, cancel first.
Final answer
(a) 11 years (b) 9 years
Paper 1 or Paper 2: On Paper 2 the two lines come with decimals: substitute one into the other as above, or read the crossing point from the GDC. On Paper 1 cancel each fraction before you multiply.
An exam-style question — drinks and temperature
A shop records the highest temperature, t °C, and the number of cold drinks sold, C, on eight days.
| Temperature (t) | 14 | 16 | 18 | 20 | 22 | 25 | 27 | 30 |
|---|---|---|---|---|---|---|---|---|
| Drinks sold (C) | 42 | 50 | 55 | 61 | 66 | 75 | 79 | 88 |
(a) Find the equation of the regression line of C on t. [2]
(b) Interpret, in context, the gradient of this line. [1]
(c) By using an appropriate regression line, estimate the highest temperature for a day when 70 drinks were sold. [3]
(d) Write down the coordinates of the point where the two regression lines meet. [1]
Step by step
- (a) t first, C second.
- (b) Change for each 1 more.
- (c) Same shortcut: t wanted, t on C.
- Put in C = 70.
- (d) The mean point.
Final answer
(a) C = 2.80t + 4.38 (b) about 2.80 more cold drinks are sold for each 1 °C rise in temperature (c) t = 23.5 °C (d) (21.5, 64.5)
To get full marks
- (a) Write the line with the question's letters, a and b to 3 significant figures.
- (b) Name both variables and the change for each 1 more, with units.
- (c) Say that t on C is needed, write that line, then the substitution and the value.
- (d) The lines meet at the mean point: the two means.