Regression

IB Maths AI · Unit 4: Statistics

Regression notes

Fact-checked by a second, independent AI review.

Key ideas of regression in IB Stats: build a linear model to describe how y changes with x, assess fit with r and R², and use the model for prediction with attention to residuals and assumptions.

Linear regression equation
y = a + b x, where b is the slope (change in y per unit x) and a is the intercept (y when x = 0).
Correlation coefficient r
Measures strength and direction of the linear relationship; values near ±1 indicate strong linear association, with sign matching the slope.
Coefficient of determination R²
Proportion of variance in y explained by x; higher R² means better fit.
Residuals and diagnostic plots
Residuals are differences between observed and predicted y; plot residuals to check linearity, homoscedasticity and normality.
Assumptions and use of regression
Assumes linear relationship, homoscedastic residuals, independence, and normally distributed residuals for inference; beware extrapolation.

Remember it: Mnemonic: R-Squared Rules — 'R' shows direction, 'R²' shows fit; use slope-intercept to predict.

Exam tip: Markers look for correct interpretation of r and R², sensible predictions within data range, residual checks for linearity, and clear statements about the model’s limits.

Syllabus checklist

  • Regression: core ideas
  • Terms and typical exam questions for "Statistics" in IB Diploma Mathematics: Applications & Interpretation

Practice questions

  1. 1. If the regression line is y = 2 + 3x, what is y when x = 4?

    Answer checked

    Show answer

    Answer: 14. y = 2 + 3×4 = 14.

  2. 2. A higher absolute value of r indicates a stronger linear relationship.

    Answer checked

    Show answer

    Answer: True. |r| closer to 1 means stronger linear association.

  3. 3. In regression, the slope of the line is called the ____.

    Answer checked

    Show answer

    Answer: gradient. The slope is often called the gradient of the line.

  4. 4. If r = 0.85, the relationship is

    Answer checked

    Show answer

    Answer: strong positive. r = 0.85 indicates a strong positive linear relationship.

  5. 5. Using y = 5 + 2x, predicted y for x = 6 is ____.

    Answer checked

    Show answer

    Answer: 17. y = 5 + 2×6 = 17.

Practise regression as a game

Hearts, combos, streaks and an AI tutor that explains every answer. Start free.

Start free

More from Unit 4: Statistics