RevisionPrep
Back to all FAQs

RevisionPrep FAQ

IB Maths: Correlation & Linear Regression (AI) — FAQ

Answered by RevisionPrep's IB Educators

Correlation and regression sit in Topic 4 (Statistics) of both AI SL and AI HL, and they show up almost every year in Paper 1 and Paper 2. This hub answers the exact questions students and parents ask about how it's examined, worked out, and marked — straight from an IB educator's desk.

How It's Examined

How is correlation & linear regression tested in IB Maths?

It's tested via calculator-active questions asking you to find the Pearson's correlation coefficient (r), write the regression line y on x, and interpret both in context. According to the IB Mathematics: Analysis and Approaches guide (first exams 2021, current for 2025 assessment), this sits in the SL/HL Statistics and Probability topic and appears in Paper 1 and Paper 2 for AI.

Typical question shapes:

  1. Given a bivariate data table, find r using your GDC.
  2. State whether correlation is strong/weak, positive/negative.
  3. Find the equation of the regression line of y on x.
  4. Use that line to interpolate (predict) a value — extrapolation gets penalised if unjustified.

Quick tip: the command term "comment on" almost always wants r's value plus a sentence about strength and direction, not just a number.

Is correlation & regression in AI SL, AI HL, or both?

Both — it's core content in AI SL and AI HL, not an HL-only extension. The mechanics (finding r, the regression line, interpolation) are identical at both levels; HL students just meet it alongside more statistical machinery like chi-squared tests later in the same topic.

LevelContentExtra demand
AI SLr, regression line, interpolationBasic interpretation
AI HLSame core contentOften combined with hypothesis testing in Paper 3 investigations

Does correlation & regression come up in Applications and Interpretation Paper 3?

Yes, for HL students. Paper 3 is a 60-mark extended problem-solving paper with two structured questions, and regression frequently forms part of a longer real-world modelling scenario alongside other statistics content. SL students don't sit Paper 3, so they only meet it in Papers 1 and 2.

Paper 3 questions tend to build up: first find r and the line, then ask you to justify whether a linear model is appropriate at all — often by referencing a scatter diagram or residuals qualitatively.

Concept & Method

What's the difference between correlation and causation in IB Maths?

Correlation just tells you two variables move together (measured by r, between -1 and 1); causation means one variable actually causes the change in the other. IB examiners specifically reward students who flag that a strong r value alone never proves causation — a classic follow-up mark on "comment on" questions.

Common mistake: writing "r = 0.92 shows temperature causes ice-cream sales" instead of "r = 0.92 shows a strong positive linear correlation between the two variables" — the second phrasing is what scores the mark.

How do you calculate Pearson's correlation coefficient (r) in IB Maths?

You almost never calculate r by hand in the exam — you enter the bivariate data into your GDC's statistics mode and read r off the regression screen. Examiners expect the correct value to at least 3 significant figures, plus a one-line comment on strength and direction.

Worked example: Data: x = {1,2,3,4,5}, y = {2,4,5,4,5}. On a GDC (2-variable stats, linear regression): r ≈ 0.775. Interpretation: "This indicates a moderate, positive linear correlation between x and y."

Quick tip: always check your GDC is in the right mode (LinReg, not QuadReg) — picking the wrong regression model is a common lost mark.

How do you find the equation of the regression line in IB Maths?

Enter your data into the GDC's linear regression function (y = a + bx or y = mx + c) and read off the coefficients directly — you don't derive the formula from scratch in the exam. Always state the equation using the actual variable names from the question, not generic x and y.

Worked example (same data as above): GDC gives y = 0.7 + 0.9x approximately. So if x = hours studied and y = test score, write: "score = 0.7 + 0.9(hours studied)". Then substitute a given x-value to predict y — this is the interpolation step examiners usually ask for next.

What's the difference between interpolation and extrapolation, and why does it matter for marks?

Interpolation means predicting a y-value for an x inside your original data range — this is reliable and what the regression line is built to do. Extrapolation means predicting outside that range, which examiners flag as unreliable unless the question explicitly asks you to comment on it.

Common mistake: using the regression line to predict a value way beyond the data's x-range without commenting that the prediction may be unreliable. If a question gives x from 0 to 20 and asks for a prediction at x = 50, you must note the extrapolation risk to get full marks — even if your arithmetic is correct.

Why does my regression line only work for y on x, not x on y?

Because IB AI only requires the regression line of y on x, which minimises vertical distances between points and the line — it's built to predict y from a given x, not the reverse. Using it backwards to predict x from y gives a subtly wrong answer, since the x on y line is a different line entirely.

If a question gives you an x-value and asks for the corresponding y-value, use y on x directly. If it instead gives a y-value and asks for x, you'd technically need the x on y regression line — but AI syllabus questions almost always frame it the correct way round to avoid this trap.

Grades & Common Mistakes

What mistakes do students make on correlation & regression questions?

The three recurring ones I see marking mocks: rounding r or the regression coefficients too early and losing accuracy marks, forgetting to comment on strength/direction in words (not just stating the number), and using the regression line to extrapolate without flagging the reliability issue.

3 things to check before your next mock:

  1. Have I given r to at least 3 s.f. and stated strong/moderate/weak plus direction?
  2. Have I written the regression equation using the context's actual variable names?
  3. If asked to predict outside the data range, have I commented on reliability?

Is correlation & regression an easy topic to get full marks on?

It's one of the more accessible topics in AI Statistics — the GDC does the heavy calculation, so most lost marks come from missing the written interpretation, not the maths itself. Students who practise the exact wording examiners want (strength, direction, context) tend to pick up these marks consistently.

Compare to trickier Statistics content like the chi-squared goodness-of-fit test or normal distribution inverse problems — regression questions are usually worth 4-6 marks and heavily GDC-based, making them a reliable source of marks if you know the interpretation phrasing.

Resources & Choices

Should I choose Analysis and Approaches or Applications and Interpretation if I like this kind of statistics content?

Both AA and AI cover correlation and regression at a similar level, so this topic alone shouldn't decide the choice. The bigger difference is elsewhere: AI leans more into statistical modelling, technology-driven problem-solving and real-world applications overall, while AA is more algebraic and proof-focused.

FactorAAAI
Correlation/regression depthSame core contentSame core content
Overall subject flavourAbstract, proof-basedApplied, technology-based
Best fitFurther maths/physical sciences routeBusiness, social sciences, design route

What resources help with correlation & linear regression in IB Maths AI?

Look for topic-specific worked examples with real GDC screenshots, past-paper-style questions on interpolation versus extrapolation, and mark schemes that show exactly how examiners phrase interpretation marks. Revision Notes and Topical Worksheets on revisionprep.com cover this exact Statistics sub-topic with worked GDC steps.

For a parent supporting revision: this topic is one of the quicker wins in AI Statistics because it's short, calculator-based, and heavily patterned — a Topical Worksheet with 8-10 past-paper-style questions is usually enough to consolidate it before mocks.

AI SL vs AI HL: Correlation & Regression Coverage

FeatureAI SLAI HL
Core contentr, regression line, interpolationSame core content
Paper appearancePaper 1 & 2Paper 1, 2 & 3
Extra demandBasic interpretationCombined with hypothesis testing
Typical marks per question4-64-6, or part of a 15+ mark Paper 3 scenario

For worked GDC steps, past-paper-style practice and mark-scheme phrasing on this exact topic, see the Statistics Revision Notes and Topical Worksheets for IB Maths AI on revisionprep.com.

Related reading