aımnova
DashboardMy LearningCrash CoursesStudy 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
  • Crash Courses
  • Flashcards
  • Revision Guide
  • Exam Skills
  • Command Terms
  • Grade Calculator
  • Exam Timetable 2026

Aimnova

  • Features
  • Pricing
  • For Teachers
  • For Schools
  • For Parents
  • About Us
  • Blog
  • Contact
aımnova

IB study, practice and feedback built around the real exam.

TermsPrivacyCookies·© 2026 Aimnova. All rights reserved.c1e448f

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 exam-style questions, get AI feedback, and build the skills that earn top marks.

Get Started Free

Contents

  1. 1Line of best fit concept
  2. 2Least squares method
  3. 3Using regression for prediction
  4. 4Assessing 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.

Try an IB Exam Question — Free AI Feedback

Test yourself on Linear Regression. Write your answer and get instant AI feedback — just like a real IB examiner.

For data with x ranging from 10 to 50, whether using the regression line to predict y at x = 30 is interpolation or extrapolation. [1 mark]

Related Math AI HL Topics

Continue learning with these related topics from the same unit:

4.1.1Population and Samples4.1.2Data Classification4.1.3Sampling Techniques4.1.4Data Reliability and Outliers
View all Math AI HL topics
Improve your exam techniqueCommand terms, paper structure, and mark-scheme tips for Math AI HL
Previous4.4.1Scatter Diagrams and CorrelationNextSample space and probability4.5.1

87 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