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.
Hours awake and reaction times 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 reaction time y ms on hours awake x is y = 4x + 210.
Predict the reaction time after 9 hours awake.
Step by step
- Substitute x = 9.
- Evaluate.
Final answer
A predicted reaction time of about 246 ms.
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 arm span A cm on foot length F cm is A = 2.8F + 105, and the regression line of F on A is F = 0.3A − 28.
Estimate the foot length of an adult with an arm span of 170 cm.
Step by step
- Same shortcut: F wanted, so F on A.
- Put in A = 170.
Final answer
About 23 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 temperatures from 12 to 30 °C.
Comment on the reliability of predicting at (a) 18 °C and (b) 40 °C.
Step by step
- 18 is inside 12–30.
- 40 is outside 12–30.
Final answer
(a) Reliable (interpolation, inside the data). (b) Unreliable (extrapolation, 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.28.
Comment on the reliability.
Step by step
- Inside the data: interpolation.
- But r is weak.
Final answer
Although it is interpolation, the weak correlation (r = −0.28) makes the prediction 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 people y at a concert is predicted by a model; for Friday it gives y = 180. The regression line of the drinks sold, x, on the people, y, is x = 0.2y + 4.
Predict the number of drinks sold on Friday.
Step by step
- The model gives y.
- Same shortcut: x on y.
Final answer
About 40 drinks.
GDC walkthrough
Step through the exact calculator keystrokes, screen by screen, in study mode.
Example — the line of x on y
Seven students sat two tests.
| Test A (x) | 30 | 36 | 41 | 47 | 52 | 58 | 63 |
|---|---|---|---|---|---|---|---|
| Test B (y) | 31 | 43 | 38 | 51 | 47 | 61 | 60 |
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 = 0.999y − 0.516
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 tests above, the regression line of y on x is y = 0.864x + 6.90. Noah missed the first one but scored 56 on the second. A teacher solves 56 = 0.864x + 6.90 and estimates 57 for the first.
(a) Give a reason why this method is not appropriate.
(b) Use an appropriate method to show that the estimate for Noah's first score is 55, to the nearest integer.
Step by step
- (a) Wrong line.
- (b) Same shortcut: x on y.
- Put in y = 56, then round.
Final answer
(a) A y-on-x line should not be used to predict x from y. (b) x = 55.418387…, which is 55 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 = 1.5x + 4, and the line of x on y is x = 0.5y + 1.
Find the mean of x and the mean of y.
Step by step
- Put y into x.
- x̄, then ȳ.
Final answer
x̄ = 12, ȳ = 22.
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.4x + 9, and the line of x on y is x = 2y − 15.
(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 (15, 15).
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
At a beach, the hours of sunshine x and the number of visitors y (hundreds) give the regression line of y on x as y = 2x + 10 and the regression line of x on y as .
(a) On one day there are 48 hundred visitors. Estimate the hours of sunshine.
(b) Find the mean number of visitors.
Step by step
- (a) x wanted: x on y.
- (b) Same shortcut: solve together, cancel first.
Final answer
(a) 17 hours (b) 40 hundred visitors
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 — training and heart rate
A gym records the number of hours, h, that eight members train each week and their resting heart rate, R beats per minute.
| Training (h) | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 9 |
|---|---|---|---|---|---|---|---|---|
| Heart rate (R) | 78 | 75 | 74 | 70 | 68 | 66 | 61 | 59 |
(a) Find the equation of the regression line of R on h. [2]
(b) Interpret, in context, the gradient of this line. [1]
(c) By using an appropriate regression line, estimate the hours they train each week for a member with a resting heart rate of 72. [3]
(d) Write down the coordinates of the point where the two regression lines meet. [1]
Step by step
- (a) h first, R second.
- (b) Change for each 1 more.
- (c) Same shortcut: h wanted, h on R.
- Put in R = 72.
- (d) The mean point.
Final answer
(a) R = −2.38h + 80.2 (b) the resting heart rate falls by about 2.38 beats per minute for each extra hour of training a week (c) h = 3.45 hours (d) (4.75, 68.875)
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 h on R is needed, write that line, then the substitution and the value.
- (d) The lines meet at the mean point: the two means.