Practice free
Unit 9 · Statistics and probability

Find the equation of a regression line

Grade 9 (Algebra 1) · JJ. Bivariate statistics · 30 practice questions

How this works

Put the slope and the point into y = mx + b and solve for b.

A study compares minutes of practice with the goals scored. The slope of the regression line is 3 and the line passes through the point (4, 20). What is the equation of the regression line?

Slope 3
y = 3x + b
Put in (4, 20)
20 = 3 × 4 + b
Multiply
3 × 4 = 12
b is what is left
20 − 12 = 8
Equation
y = 3x + 8

Answer: y = 3x + 8

Watch out: Adding instead: 20 + 12 = 32. b is what is left after 3 × 4: 20 − 12 = 8.

Try it

1. A study compares minutes of practice with the free throws made. The slope of the regression line is 2 and the line passes through the point (5, 19). What is the equation of the regression line?

2. A study compares minutes of practice with the free throws made. The slope of the regression line is 4 and the line passes through the point (2, 14). What is the equation of the regression line?

3. A study compares hours studied with the test score. The slope of the regression line is -3 and the line passes through the point (2, 3). What is the equation of the regression line?

Answers are checked in the free account — with a hint before the answer, and the full solution after a miss.

How to help at home

A regression line is written from two things: how steeply it rises or falls, and how high it sits when x is zero. The steepness is already given, and at the given point the steep part accounts for this much of the height: 2 × 5 = 10, so the rest of the height is what the line still has when x is zero: 19 - 10 = 9, and that number finishes the equation.

More in JJ. Bivariate statistics