IB AA · 6D Correlation and Regression
Substitute into the regression line, then decide whether that prediction is reasonable.
Substitute
Put the x-value into y = ax + b. Write the coefficient next to the x-value in parentheses.
Strong enough
Use the line for a prediction when the absolute value of r is at least 0.7.
Inside the data
x should be between the smallest and largest x in the data, including the ends. A value outside that interval is less trustworthy.
Same kind of subject
The new case should be the same kind of subject as the data. A strong r and an x inside the interval are not enough when the subject is different.
One clear reason.
y = 2x + 5
y = 2(6) + 5
y = 12 + 5
y = 17
The absolute value of r is 0.93, which is at least 0.7, so the correlation is strong enough.
6 is between 2 and 10, so x is inside the data.
The new case is the same kind of subject as the data.
The prediction is reasonable.
Answer: y = 17. The prediction is reasonable.
y = 3x + 1
y = 3(12) + 1
y = 36 + 1
y = 37
The absolute value of r is 0.91, which is at least 0.7, so the correlation is strong enough.
12 is above 8, so x is outside the data.
The new case is the same kind of subject as the data.
The prediction is not reasonable.
Answer: y = 37. The prediction is not reasonable.
y = −2x + 40
y = −2(5) + 40
y = −10 + 40
y = 30
The absolute value of r is −0.88, which is at least 0.7, so the correlation is strong enough.
5 is between 2 and 9, so x is inside the data.
The new case is the same kind of subject as the data.
The prediction is reasonable.
Answer: y = 30. The prediction is reasonable.
y = 4x + 2
y = 4(3) + 2
y = 12 + 2
y = 14
The absolute value of r is 0.95, which is at least 0.7, so the correlation is strong enough.
3 is between 1 and 7, so x is inside the data.
The new case is the same kind of subject as the data.
The prediction is reasonable.
Answer: y = 14. The prediction is reasonable.
y = 5x + 1
y = 5(4) + 1
y = 20 + 1
y = 21
The absolute value of r is 0.18, which is below 0.7, so the correlation is not strong enough.
4 is between 1 and 8, so x is inside the data.
The new case is the same kind of subject as the data.
The prediction is not reasonable.
Answer: y = 21. The prediction is not reasonable.
y = −x + 20
y = −(1) + 20
y = −1 + 20
y = 19
The absolute value of r is −0.90, which is at least 0.7, so the correlation is strong enough.
1 is below 3, so x is outside the data.
The new case is the same kind of subject as the data.
The prediction is not reasonable.
Answer: y = 19. The prediction is not reasonable.
A weak r, the end of the data, or a different subject.
y = 2x + 3
y = 2(5) + 3
y = 10 + 3
y = 13
The absolute value of r is 0.64, which is below 0.7, so the correlation is not strong enough.
5 is between 1 and 9, so x is inside the data.
The new case is the same kind of subject as the data.
The prediction is not reasonable.
Answer: y = 13. The prediction is not reasonable.
y = 3x − 2
y = 3(8) − 2
y = 24 − 2
y = 22
The absolute value of r is 0.86, which is at least 0.7, so the correlation is strong enough.
8 is between 2 and 8, so x is inside the data.
The new case is the same kind of subject as the data.
The prediction is reasonable.
Answer: y = 22. The prediction is reasonable.
y = 2x + 4
y = 2(6) + 4
y = 12 + 4
y = 16
The absolute value of r is 0.97, which is at least 0.7, so the correlation is strong enough.
6 is between 2 and 10, so x is inside the data.
The new case is a different kind of subject from the data.
The prediction is not reasonable.
Answer: y = 16. The prediction is not reasonable.
y = −3x + 50
y = −3(16) + 50
y = −48 + 50
y = 2
The absolute value of r is −0.76, which is at least 0.7, so the correlation is strong enough.
16 is above 10, so x is outside the data.
The new case is the same kind of subject as the data.
The prediction is not reasonable.
Answer: y = 2. The prediction is not reasonable.
y = 4x + 1
y = 4(7) + 1
y = 28 + 1
y = 29
The absolute value of r is 0.42, which is below 0.7, so the correlation is not strong enough.
7 is between 4 and 12, so x is inside the data.
The new case is the same kind of subject as the data.
The prediction is not reasonable.
Answer: y = 29. The prediction is not reasonable.
y = x + 7
y = 5 + 7
y = 12
The absolute value of r is 0.88, which is at least 0.7, so the correlation is strong enough.
5 is between 1 and 9, so x is inside the data.
The new case is the same kind of subject as the data.
The prediction is reasonable.
Answer: y = 12. The prediction is reasonable.
Compare two predictions, or comment on three cases.
Same kind of subject, x = 14.
y = 2x + 1
y = 2(14) + 1
y = 28 + 1
y = 29
The absolute value of r is 0.92, which is at least 0.7, so the correlation is strong enough.
14 is between 10 and 20, so x is inside the data.
The new case is the same kind of subject as the data.
The prediction is reasonable.
Same kind of subject, x = 26.
y = 2x + 1
y = 2(26) + 1
y = 52 + 1
y = 53
The absolute value of r is 0.92, which is at least 0.7, so the correlation is strong enough.
26 is above 20, so x is outside the data.
The new case is the same kind of subject as the data.
The prediction is not reasonable.
a 70-year-old swimmer, x = 14.
The absolute value of r is 0.92, which is at least 0.7, so the correlation is strong enough.
14 is between 10 and 20, so x is inside the data.
The new case is a different kind of subject from the data.
The prediction is not reasonable.
Answer: x = 14 for the same kind of subject is reasonable, y = 29. x = 26 is not, y = 53. The a 70-year-old swimmer case is not reasonable.
For x = 4:
y = 5x + 2
y = 5(4) + 2
y = 20 + 2
y = 22
The absolute value of r is 0.90, which is at least 0.7, so the correlation is strong enough.
4 is between 3 and 9, so x is inside the data.
The new case is the same kind of subject as the data.
The prediction is reasonable.
For x = 15:
y = 5x + 2
y = 5(15) + 2
y = 75 + 2
y = 77
The absolute value of r is 0.90, which is at least 0.7, so the correlation is strong enough.
15 is above 9, so x is outside the data.
The new case is the same kind of subject as the data.
The prediction is not reasonable.
The prediction at x = 4 is more reasonable.
Answer: x = 4 gives y = 22 and is more reasonable. x = 15 gives y = 77.
y = −4x + 60
y = −4(6) + 60
y = −24 + 60
y = 36
The absolute value of r is −0.91, which is at least 0.7, so the correlation is strong enough.
6 is between 2 and 10, so x is inside the data.
The new case is the same kind of subject as the data.
The prediction is reasonable.
Answer: y = 36. The prediction is reasonable.
y = −2x + 30
y = −2(5) + 30
y = −10 + 30
y = 20
The absolute value of r is −0.25, which is below 0.7, so the correlation is not strong enough.
5 is between 1 and 8, so x is inside the data.
The new case is the same kind of subject as the data.
The prediction is not reasonable.
Answer: y = 20. The prediction is not reasonable.
y = 3x + 4
y = 3(30) + 4
y = 90 + 4
y = 94
The absolute value of r is 0.96, which is at least 0.7, so the correlation is strong enough.
30 is above 9, so x is outside the data.
The new case is the same kind of subject as the data.
The prediction is not reasonable.
Answer: y = 94. The prediction is not reasonable.
y = 2x + 8
y = 2(6) + 8
y = 12 + 8
y = 20
The absolute value of r is 0.98, which is at least 0.7, so the correlation is strong enough.
6 is between 2 and 10, so x is inside the data.
The new case is a different kind of subject from the data.
The prediction is not reasonable.
Answer: y = 20. The prediction is not reasonable.
Want to go over a scatter diagram together?
Book a Session with Amy