Revision Notes
IB DP Mathematics: Analysis and Approaches (AA): 4.4 Linear correlation of bivariate data and the regression line of y on x – Revision Notes
Revision notes for IB Maths AA 4.4: describing correlation, Pearson's r, lines by eye, the y on x regression line, a and b in context and a 12-question self-test.
- Level
- IB
- Topic
- Statistics and probability
- Author
- Marlbridge Academic Team
- Updated
- Reviewed by
- Muhammad Ghazali Siddiqui (what this means)
Aligned to International Baccalaureate IB Diploma Programme Mathematics: Analysis and Approaches (DP Mathematics: Analysis and Approaches), First assessment 2021. Official subject brief .
Syllabus page (what it covers and how it is assessed): IB Diploma Programme Mathematics: Analysis and Approaches.
Syllabus points this page covers
DP Mathematics: Analysis and Approaches
- 4.4 Linear correlation of bivariate data and the regression line of y on x
Found an error? Report a correction.
Need help with this topic? Request a free trial class for IB Diploma Programme Mathematics: Analysis and Approaches (DP Mathematics: Analysis and Approaches).
These notes condense syllabus section 4.4 of IB DP Mathematics: Analysis and Approaches (first assessment 2021, SL and HL): linear correlation, Pearson’s r, lines of best fit and the regression line of y on x. Explanations and worked examples are in the 4.4 study guide.
Core recall
- Bivariate data: pairs (x, y) measured on the same individuals.
- Scatter diagram: independent variable on the horizontal axis.
- Describe correlation: direction (positive, negative, none) and strength (strong, weak), in context.
- Pearson’s r: −1 ≤ r ≤ 1; measures linear association only; found with technology.
- Line of best fit by eye: follows the trend and passes through the mean point (x̄, ȳ).
- Regression line of y on x: y = ax + b from technology; passes through (x̄, ȳ); predicts y from x.
Reading r
| r | Description |
|---|---|
| Close to 1 | Strong positive linear correlation |
| Positive, nearer 0 | Weak positive linear correlation |
| Close to 0 | Little or no linear correlation (a curve is still possible) |
| Negative, nearer 0 | Weak negative linear correlation |
| Close to −1 | Strong negative linear correlation |
r has no units, and swapping x and y does not change it.
Equation of a line by eye
gradient m = (ȳ − y₁)/(x̄ − x₁) using the mean point and one other point on your line
y − ȳ = m(x − x̄)
Interpreting y = ax + b in context
- a: for every one-unit increase in x, y changes by a units on average (state units and direction).
- b: predicted y when x = 0; say whether that is meaningful or an extrapolation.
Predictions
| Situation | Reliability |
|---|---|
| x inside the data range, r close to 1 or −1 | Reliable (interpolation) |
| x outside the data range | Unreliable (extrapolation) |
| Weak correlation | Unreliable whatever the x |
| Predicting x from y with the y on x line | Wrong method: use the x on y line (section 4.10) |
Key terms
| Term | Meaning |
|---|---|
| Bivariate data | Data in pairs of two variables |
| Independent variable | The variable used to predict, plotted on the x-axis |
| Mean point | (x̄, ȳ); every line of best fit and both regression lines pass through it |
| Interpolation | Predicting within the range of the data |
| Extrapolation | Predicting outside the range of the data |
| Causation | One variable directly changing the other; not shown by correlation alone |
Exam traps
- “No correlation” for a weak value of r. r = 0.3 is weak positive linear correlation.
- Forgetting “linear”. r says nothing about curved patterns.
- Causation from correlation. Name a possible third variable if asked.
- Line by eye missing the mean point.
- a and b without context or units.
- Rounded coefficients. Use stored values for predictions.
- Extrapolating without comment.
- Outliers. One point can change r dramatically: look at the scatter diagram.
Worked reminder
Eight used cars: age x (1 to 8 years) and price y (thousand dollars) give r ≈ −0.994 and y ≈ −1.48x + 19.4 from a GDC.
- Description: very strong negative linear correlation between age and price.
- Gradient: price falls by about 1.48 thousand dollars per extra year of age, on average.
- Prediction at 5.5 years: about 11.3 thousand dollars (interpolation, reliable).
- Prediction at 15 years: about −2.75 (extrapolation, impossible): the trend cannot continue.
Self-test
- Describe the correlation for r = −0.92, r = 0.15 and r = 0.68.
- A data set has r = 0.02 but the scatter diagram shows a clear U-shape. Explain.
- A line of best fit passes through the mean point (6, 40) and (0, 52). Find its equation.
- For y = 2.4x + 31, where x is years of experience and y is salary in thousands of dollars, interpret 2.4.
- In question 4, interpret 31.
- Why is it unreliable to use y = 2.4x + 31 for someone with 45 years of experience if the data covered 0 to 20 years?
- Towns with more libraries have more crimes (strong positive correlation). Does building libraries cause crime? Explain.
- Which line should be used to predict y from a given x?
- Through which point does every regression line pass?
- What does r = −1 tell you about the points?
- Why must r be quoted together with the scatter diagram?
- A regression line is y = −0.416x + 9.03 for x from 1 to 7. Predict y when x = 3.5.
Answers
- Strong negative linear; very weak (almost no) positive linear; moderately strong positive linear.
- There is a strong non-linear relationship; r measures only linear correlation.
- Gradient (40 − 52)/6 = −2, so y = −2x + 52.
- Each extra year of experience is associated with about 2.4 thousand dollars more salary, on average.
- The predicted salary for someone with no experience is about 31 thousand dollars.
- 45 is far outside the data range (extrapolation); the linear pattern may not continue.
- No: both are likely to increase with a third variable, the town’s population.
- The regression line of y on x.
- The mean point (x̄, ȳ).
- All the points lie exactly on a straight line with negative gradient.
- Outliers and curves can make r misleading; the diagram shows whether a linear model is sensible.
- −0.416 × 3.5 + 9.03 ≈ 7.57.
Frequently asked questions
Do I need to calculate r by hand? No. The guide expects r and the regression line from technology; your job is to interpret them in context.
Can I rearrange y = ax + b to predict x? No. Predicting x from y needs the regression line of x on y (section 4.10).
Where to go next
Practise with the 4.4 practice questions and then the 4.10 regression line of x on y revision notes.
Related resources
-
Study guides
IB DP Mathematics: Analysis and Approaches – Polynomials, rational functions, odd/even functions and modulus graphs (HL) Study Guide
Study guide to IB DP Maths AA HL further functions: factor theorem, roots of polynomials, rational graphs, odd/even and inverse functions, modulus.
Mathematics: Analysis and Approaches · International Baccalaureate · IB
Read guide -
Study guides
IB DP Mathematics: Analysis and Approaches (AA): 4.5 Concepts of trial, outcome, sample space, event and probability
IB Maths AA study guide to section 4.5: trials, outcomes, sample spaces, P(A) = n(A)/n(U), complements, relative frequency and expected numbers of occurrences.
Mathematics: Analysis and Approaches · International Baccalaureate · IB
Read guide -
Practice questions
IB DP Mathematics: Analysis and Approaches (AA): 4.5 Concepts of trial, outcome, sample space, event and probability – Practice Questions
Eleven original IB Maths AA questions on 4.5: sample spaces, equally likely outcomes, complements, relative frequency and expected numbers, with marked answers.
Mathematics: Analysis and Approaches · International Baccalaureate · IB
Try questions
Get free revision emails (optional)
Occasional emails with practice questions, worked explanations and links to free resources for the qualification and subjects you choose. No spam, and you can unsubscribe from any email. The free tools on this site never need an email.