aimnova.
DashboardMy LearningPaper MasteryStudy Plan

Aimnova site navigation

Stay in the loop

Get the latest study resources and updates

New features, study tips and exam insights — straight to your inbox.

IB Diploma

  • IB Past Papers
  • IB Study Notes
  • IB Question Bank
  • IB Mock Exams
  • IB Revision

IB Subjects

  • IB Math AA
  • IB Math AI
  • IB Economics
  • IB Business Management
  • IB Physics
  • IB Biology
  • View all IB subjects→

IB Past Papers

  • IB Math AA HL Past Papers
  • IB Math AA SL Past Papers
  • IB Math AI HL Past Papers
  • IB Math AI SL Past Papers
  • IB Economics HL Past Papers
  • IB Economics SL Past Papers
  • IB ESS Past Papers
  • View all past papers→

Study Resources

  • Study Notes
  • Question Bank
  • Mock Exams
  • Flashcards
  • Revision Guide
  • Exam Skills
  • Command Terms
  • Grade Calculator
  • Exam Timetable 2026

Aimnova

  • Features
  • Pricing
  • For Schools
  • For Parents
  • About Us
  • Blog
  • Contact
aimnova.

AI-powered study platform for smarter revision, past-paper analysis and examiner-style feedback.

TermsPrivacyCookies·© 2026 Aimnova. All rights reserved.8afc4e3

Aimnova is not affiliated with or endorsed by the International Baccalaureate Organization (IB).

NotesMath AI HLTopic 4.4Linear Regression
Back to Math AI HL Topics
4.4.22 min read

Linear Regression (Math AI HL)

IB Mathematics: Applications and Interpretation • Unit 4

Smart study tools

Turn reading into results

Move beyond passive notes. Answer real exam questions, get AI feedback, and build the skills that earn top marks.

Get Started Free

Contents

  • Line of best fit concept
  • Least squares method
  • Using regression for prediction
  • Assessing fit and residuals

Line of best fit concept

Regression line: A line that best represents the relationship between x (independent) and y (dependent) variables.

Minimizes distance from all points.

The least-squares regression line passes through the mean point (x̄, ȳ); use it to predict.

Interactive diagram

Explore the labelled diagram, charts and maps for this topic in full study mode.

Claim your free topic
ComponentMeaning
ay-intercept (value when x=0)
bslope (change in y per unit x)
xindependent variable (predictor)
ydependent variable (response)
Key idea: Regression finds the line that best fits the data pattern.

Used for prediction.

Free preview

This is the free notes preview

You're reading the free notes. Aimnova Pro unlocks the full study experience — and you can try it with your first topic free to keep:

  • FlashcardsLock in vocabulary and key terms with spaced repetition.
  • Practice questionsAnswer exam-style questions and get instant AI marking.
  • Mock exams & past-paper vaultSit full mocks and see exactly how examiners award marks.
  • Personalised study planA daily plan built around your exam date and weak areas.
Start Studying Free Full access to Aimnova Pro · cancel anytime

Least squares method

What is minimized?: Least squares minimizes sum of squared vertical distances (residuals) from points to line.

Worked example

Points (1,2), (2,3), (3,5).

Find regression line using least squares concept.

Concept

  1. Least squares finds line where sum of (observed y - predicted y)2 is smallest
  2. Formula for slope b: involves correlation r, SDx, SDy
  3. Formula for intercept a: involves means of x and y
  4. Calculator or software usually does this

Final answer

Slope measures how much y changes per unit x. Intercept is y-value at x=0.

Memorize terms 3x faster

Smart flashcards show you cards right before you forget them. Perfect for definitions and key concepts.

Try Flashcards FreeYour first topic is free to keep • No credit card required

Using regression for prediction

Worked example

Regression line: y = 1.5 + 0.8x.

Predict y when x=10.

Solution

  1. Substitute x=10 into equation
  2. y = 1.5 + 0.8(10)
  3. y = 1.5 + 8
  4. y = 9.5

Final answer

When x=10, predicted y=9.5.

Extrapolation warning: Predictions are only reliable within the range of data used.

Predicting far outside this range is risky (extrapolation).

Assessing regression fit

Residual: Difference between observed y and predicted y: residual = observed - predicted.

Worked example

At x=2: observed y=4, predicted y=3.1.

What is residual?

Solution

  1. Residual = 4 - 3.1 = 0.9
  2. Positive residual: actual point above line
  3. Negative residual: actual point below line
  4. Small residuals mean line fits well

Final answer

Residual=0.9. Point is 0.9 units above the regression line.

R-squared: R2 measures proportion of variation explained by regression.

Closer to 1 means better fit.

IB Exam Questions on Linear Regression

Practice with IB-style questions filtered to Topic 4.4.2. Get instant AI feedback on every answer.

Practice Topic 4.4.2 QuestionsBrowse All Math AI HL Topics

How Linear Regression Appears in IB Exams

Examiners use specific command terms when asking about this topic. Here's what to expect:

Define

Give the precise meaning of key terms related to Linear Regression.

AO1
Describe

Give a detailed account of processes or features in Linear Regression.

AO2
Explain

Give reasons WHY — cause and effect within Linear Regression.

AO3
Evaluate

Weigh strengths AND limitations of approaches in Linear Regression.

AO3
Discuss

Present arguments FOR and AGAINST with a balanced conclusion.

AO3

See the full IB Command Terms guide →

Related Math AI HL Topics

Continue learning with these related topics from the same unit:

4.1.1Population and Samples
4.1.2Data Classification
4.1.3Sampling Techniques
4.1.4Data Reliability and Outliers
View all Math AI HL topics

Improve your exam technique

Command terms, paper structure, and mark-scheme tips for Math AI HL

Previous
4.4.1Scatter Diagrams and Correlation
Next
Probability Fundamentals4.5.1

10 exam-style questions ready for you

Students who practice on Aimnova improve their scores by 15% on average. Get instant feedback that shows exactly how to improve your answers.

Practice Now — FreeView All Math AI HL Topics