Back to Exploring Two-Variable Data

Lesson PreviewLesson 6 of 9 in this unit

2.6 Linear Regression Models

Part of Exploring Two-Variable Data in AP® Statistics. Read the opening section, then create a free account for the full interactive lesson, practice, and progress tracking.

The Least-Squares Regression Line

The least-squares regression line (LSRL)

y^=a+bx\hat{y} = a + bx

Where:

  • y^{\hat{y}} (read "y-hat") = predicted value of the response variable
  • a{a} = y-intercept (predicted y{y} when x=0{x = 0})
  • b{b} = slope (change in predicted y{y} for each 1-unit increase in x{x})
  • x{x} = value of the explanatory variable
Formulas for slope and intercept:
b=r⋅sysxb = r \cdot \frac{s_y}{s_x}
a=yˉ−bxˉa = \bar{y} - b\bar{x}

Where r{r} is the correlation, sy{s_y} and sx{s_x} are the standard deviations, and xˉ{\bar{x}}, yˉ{\bar{y}} are the means.

Key fact: The LSRL always passes through the point (xˉ,yˉ){(\bar{x}, \bar{y})}.

Continue the full lesson in Stellar

Create a free account to unlock the remaining sections, checkpoints, course practice, and progress tracking for AP® Statistics.