Key ideas
- Product moment correlation coefficient (r): measures the strength of a linear relationship, −1 ≤ r ≤ 1.
- Regression line of y on x: used to estimate y from x (when x is the independent variable).
- The regression line passes through (x̄, ȳ).
- Interpolation (within the data range) is more reliable than extrapolation.
- Correlation does not imply causation.
- A transformation (e.g. ln x or x²) may give a better linear model if the scatter is curved.
Worked example
| x | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|
| y | 2 | 4 | 5 | 4 | 5 |
Using the GC: r ≈ 0.775; regression line y = 0.6x + 2.2.
Estimate y when x = 3.5: 0.6(3.5) + 2.2 = 4.3 (interpolation, reliable if r is reasonably high).
Estimating y at x = 6 gives 5.8, but this is extrapolation and less reliable.
Common mistakes
- Using the y-on-x line to estimate x from y.
- Saying r close to 0 means "no relationship" (there may be a non-linear one).
Try these
- Why is extrapolation unreliable?
- A regression line is y = 2.5x + 10, with x̄ = 6. Find ȳ.
- Two variables have r = −0.95. Describe the correlation.
Show answers
- The linear relationship may not hold outside the range of the data
- ȳ = 2.5(6) + 10 = 25
- Strong negative linear correlation