Practice free
Unit 11 · Probability and statistics

Find the equation of a regression line

Grade 11 (Algebra 2) · SS. Bivariate statistics · 30 practice questions

How this works

The regression line always passes through (mean of x, mean of y), so use that point to find the intercept.

A study relates hours of sunshine (x) to ice creams sold (y). The regression line has a slope of 3, the mean of x is 12, and the mean of y is 50. What is the equation of the regression line?

Line passes through the means
(12, 50)
Slope times mean x
3 × 12 = 36
Intercept
50 − 36 = 14
Equation
y = 3x + 14

Answer: y = 3x + 14

Watch out: Using the mean of y as the intercept: y = 3x + 50. The line passes through (12, 50), so b = 50 − 3 × 12 = 14.

Try it

1. A study relates the number of ads run (x) to the units sold (y). The regression line for the data set has a slope of 3, the mean of x is 10, and the mean of y is 50. What is the equation of the regression line?

2. A study relates the number of hours studied (x) to the test score (y). The regression line for the data set has a slope of 8, the mean of x is 12, and the mean of y is 108. What is the equation of the regression line?

3. A study relates the number of hours studied (x) to the test score (y). The regression line for the data set has a slope of 8, the mean of x is 12, and the mean of y is 114. 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 pinned in two ways: the slope says how steeply it climbs, and the line has to run through the point made by the two means. So put the mean of x through the slope: 3 × 10 = 30, and walk that step back from the mean of y: 50 - 30 = 20, which is the height the line starts from.

More in SS. Bivariate statistics