Drawing a scatter plot, finding the least squares regression line ŷ = a + bx on the calculator, using it to predict, and interpreting the correlation coefficient r.
1Scatter plots
A scatter plot shows whether two quantities move together. The pattern can be linear, quadratic, exponential or show no relationship at all.
2The least squares regression line
a = the y-intercept · b = the gradient
(ŷ, read ‘y-hat’, is the PREDICTED value of y)
In the exam you get a and b from the calculator's STAT mode, not by hand. Enter the x-values in one column and the y-values in the other; the calculator labels the intercept A and the gradient B, so its A is your a and its B is your b.
- 1ŷ = 13,00 + 8,86x.a = A = 13,00 and b = B = 8,86.
- 2For x = 7: ŷ = 13,00 + 8,86(7).
- 3= 13,00 + 62,02 = 75,02 ≈ 75%.Round sensibly — a test mark is not given to two decimals.
The gradient b = 8,86 means that each extra hour of study is associated with roughly 8,86 more percentage points. Interpreting the gradient in context is a standard question.
Predicting far outside the data range is unreliable. This data covers 1 to 6 hours; predicting the mark for 20 hours would give over 190%, which is nonsense. Say so if a question pushes you there.
3The correlation coefficient
r close to 1 ⇒ strong positive
r close to −1 ⇒ strong negative
r close to 0 ⇒ very weak or none
A rough scale: |r| > 0,9 very strong · 0,7 to 0,9 strong · 0,5 to 0,7 moderate · below 0,5 weak.
- 1r = 0,998 is very close to 1.
- 2There is a very strong positive linear correlation between hours studied and the mark.Say strength AND direction AND that it is linear — all three earn marks.
Correlation is not causation. A strong r shows the two move together; it does not prove one causes the other. Examiners like asking this.
Practice exercises
Work each one out, then click to reveal the answer.
- 1Using the scatter plot below, describe the type of relationship shown.
Show answer ▾Hide answer ▴
A strong positive linear relationship - 2The calculator gives A = 13,00 and B = 8,86. Write down the equation of the least squares regression line.
Show answer ▾Hide answer ▴
ŷ = 13,00 + 8,86x - 3Use the regression line to predict the mark of a learner who studies for 7 hours.
Show answer ▾Hide answer ▴
13,00 + 8,86(7) = 75,02 ≈ 75% - 4Interpret the gradient of the regression line in this context.
Show answer ▾Hide answer ▴
Each extra hour of study is associated with about 8,86 more percentage points. - 5The correlation coefficient is r = 0,998. Interpret it.
Show answer ▾Hide answer ▴
A very strong positive linear correlation - 6What is the possible range of values for r?
Show answer ▾Hide answer ▴
−1 ≤ r ≤ 1 - 7Would it be reasonable to use this line to predict the mark for 20 hours of study? Explain.
Show answer ▾Hide answer ▴
No — 20 hours is far outside the data range (1 to 6 hours) and the prediction would exceed 100%. - 8Does a strong correlation prove that studying causes higher marks?
Show answer ▾Hide answer ▴
No — correlation does not prove causation.
Quick Quiz
5 quick questions on what you just read. Take it when you feel ready.
Now practise it
Download Grade 12 past papers and worksheets on this topic.