Slope and r² from r

Lessons and exercises follow the school system and stay in its language.Les leçons et les exercices suivent le système scolaire et restent dans sa langue.Lektionen und Übungen folgen dem Schulsystem und bleiben in seiner Sprache.

About this lesson

Statistics (AP-aligned) › Inference for regression

To save a PDF, choose “Save as PDF” in the print dialog.

Sources and credits

Original sedifier lesson.

Written with AI assistance; every answer is checked by our math engine. Not yet reviewed by a teacher.

This lesson: CC BY-SA 4.0, © sedifier · All credits

Slope and r² from r

Inference for regression.

Discover

The regression line of height on arm span has r=0.8r = 0.8. What part of the variation in height does the line explain?

  1. r2=0.64r^2 = 0.64, about 64 %
  2. 0.80.8, 80 %

Key idea

Slope and r2r^2 from rr.

For the least-squares line of yy on xx:

b=r sysxb = r\,\dfrac{s_y}{s_x} \quad and \quad r2r^2 = fraction of the variation in yy explained by xx.

Worked example

r=0.6r = 0.6, sx=5s_x = 5, sy=10s_y = 10.

b=0.6×105=1.2b = 0.6 \times \dfrac{10}{5} = 1.2
Slope.
r2=0.36r^2 = 0.36: 36 %
Explained.

Your turn, guided

Your turn: r=0.5r = 0.5, sx=2s_x = 2, sy=8s_y = 8. Find bb.

b=2b = 2
0.5×820.5 \times \dfrac{8}{2}.

Practice ★

  1. r=15r = \frac{1}{5}, sx=9s_x = 9, sy=27s_y = 27. Find the slope of the regression line of yy on xx.
  2. r=15r = \frac{1}{5}, sx=1s_x = 1, sy=9s_y = 9. Find the slope of the regression line of yy on xx.
  3. r=45r = \frac{4}{5}, sx=6s_x = 6, sy=48s_y = 48. Find the slope of the regression line of yy on xx.

Practice ★★

  1. A regression has r=−35r = -\frac{3}{5}. What percent of the variation in yy is explained by xx?
  2. A regression has r=−710r = -\frac{7}{10}. What percent of the variation in yy is explained by xx?

Exit ticket

Two questions to check.

  1. r=15r = \frac{1}{5}, sx=9s_x = 9, sy=27s_y = 27. Find the slope of the regression line of yy on xx.
  2. r=15r = \frac{1}{5}, sx=1s_x = 1, sy=9s_y = 9. Find the slope of the regression line of yy on xx.

Summary card

r, slope and r²

  • b=r sysxb = r\,\dfrac{s_y}{s_x}.
  • r2r^2 is the share explained.

Computer output shows 'R-sq': it is this r2r^2, as a percent.

Sources and credits

Original sedifier lesson.

Written with AI assistance; every answer is checked by our math engine. Not yet reviewed by a teacher.

This lesson: CC BY-SA 4.0, © sedifier · All credits