AP Statistics · Unit 5 · 10-20% of the exam · ~9 class periods

Regression Analysis

AP Statistics Unit 5, Regression Analysis, covers two-variable quantitative data: scatterplots, correlation, linear regression models, residuals, and least-squares regression. It is worth 10-20% of the multiple-choice section and runs about 9 class periods across five topics.

AP Statistics: Unit 5 (topics 5.1 Graphical Representations Between Two Quantitative Variables, 5.2 Correlation, 5.3 Linear Regression Models, 5.4 Residuals, 5.5 Least-Squares Regression). Unit 5 is worth 10-20% of the Fall 2026 AP Statistics multiple-choice section, and inference for regression slopes was removed from the redesigned exam although it remains standard in college introductory statistics.

What Unit 5 covers

Unit 5, Regression Analysis, is about relationships in two-variable quantitative data. You describe an association between two quantitative variables, measure it with correlation, and, when a straight line fits, build a linear model that predicts one variable from the other.

The explanatory variable (the predictor) goes on the x-axis. The response variable (what you predict) goes on the y-axis. Once you fit a line, you judge how well it fits by looking at residuals, the gaps between what actually happened and what the line predicted.

This is the only unit built entirely around bivariate quantitative data, and all of it is descriptive: you fit models and check them rather than run formal inference about the slope.

How Unit 5 fits the exam

Unit 5 is worth 10-20% of the multiple-choice section and takes about 9 class periods, the fewest of the five units. It reuses ideas from earlier one-variable work, such as describing a pattern and finding a mean.

The exam is 3 hours long. Section I has 42 multiple-choice questions (50% of the score, 90 minutes). Section II has 4 free-response questions (50% of the score, 90 minutes), each worth 10 points and 12.5% of the exam score. A graphing calculator with statistical capabilities is expected, and formulas and tables are provided for both sections.

Regression content shows up in individual multiple-choice questions, a multiple-choice question set, and as part of a free-response question. Expect to read calculator output and translate it into a sentence about the real context.

The five topics in Unit 5

Unit 5 has five topics, numbered 5.1 to 5.5:

  • 5.1 Graphical Representations Between Two Quantitative Variables. Build a scatterplot from bivariate quantitative data, then describe the association by its form (linear or non-linear), direction (positive or negative), strength (strong, moderate, or weak), and unusual features such as clusters or points that do not fit the pattern.
  • 5.2 Correlation. The correlation coefficient rr (a unit-free number from -1 to 1) summarizes the strength and direction of a linear association. Values near -1 or 1 mean a strong linear association, and r=0r = 0 means no linear association. A value close to -1 or 1 does not by itself prove a line is the right model, and correlation does not necessarily imply causation.
  • 5.3 Linear Regression Models. When the form looks linear, predict the response with y^=a+bx\hat{y} = a + bx, where y^\hat{y} is the predicted response, aa is the y-intercept, and bb is the slope. Predicting inside the observed range of x-values is interpolation; predicting beyond it is extrapolation, which grows less reliable the further out you go.
  • 5.4 Residuals. A residual is the observed response minus the predicted response, residual=yy^\text{residual} = y - \hat{y}. A positive residual means the model underpredicts, and a negative residual means it overpredicts. A residual plot graphs residuals against predicted values (or the explanatory variable): apparent randomness supports a linear model, while clear curvature suggests a line is not the best fit.
  • 5.5 Least-Squares Regression. The least-squares regression line (LSRL) is the line that minimizes the sum of the squared residuals, and it passes through the point (xˉ,yˉ)(\bar{x}, \bar{y}), where xˉ\bar{x} and yˉ\bar{y} are the means of x and y. Technology reports the slope bb, the intercept aa, the correlation rr, and the coefficient of determination r2r^2.

Reading slope, intercept, and r-squared in context

Every number the calculator reports needs a sentence tied to the scenario.

  • The slope bb is the predicted change in the response variable for a one-unit increase in the explanatory variable.
  • The y-intercept aa is the predicted response when the explanatory variable equals 0. Sometimes that has no sensible meaning, because x=0x = 0 falls outside the data (extrapolation) or would give an impossible value such as a negative height.
  • The coefficient of determination r2r^2, the square of the correlation, is the proportion of the variation in the response variable that is explained by the linear relationship with the explanatory variable.

For more on these ideas, see least-squares regression line, r vs r-squared, how to interpret residual plots, and correlation vs causation.

What was removed from this unit

The Fall 2026 redesign trimmed regression down to description. Inference for regression slopes, meaning confidence intervals and hypothesis tests for the slope of a regression line, is no longer on the AP exam. Analyzing departures from linearity beyond reading a residual plot was also removed.

These topics are still standard in most college introductory statistics courses, so you may meet them later even though they are off the AP exam. On the exam, everything in Unit 5 stays at the level of fitting a line and checking it, not testing claims about the slope.

Tools for practicing regression

Work through the calculations and the visual intuition with these:

You can also return to the AP Statistics hub or review the earlier Unit 4 on inference for means.

Find the least-squares regression line, r, and r-squared

A small sample of five (x, y) pairs is (1, 2), (2, 5), (3, 4), (4, 8), (5, 6). Find the least-squares regression line, the correlation coefficient r, and the coefficient of determination r-squared.

  1. Find the sample means. xˉ=(1+2+3+4+5)/5=15/5=3\bar{x} = (1+2+3+4+5)/5 = 15/5 = 3 and yˉ=(2+5+4+8+6)/5=25/5=5\bar{y} = (2+5+4+8+6)/5 = 25/5 = 5, where xˉ\bar{x} and yˉ\bar{y} are the means of x and y.

  2. Find each deviation from the mean. For x: -2, -1, 0, 1, 2. For y: -3, 0, -1, 3, 1.

  3. Multiply the paired deviations and add them: (2)(3)+(1)(0)+(0)(1)+(1)(3)+(2)(1)=6+0+0+3+2=11(-2)(-3) + (-1)(0) + (0)(-1) + (1)(3) + (2)(1) = 6 + 0 + 0 + 3 + 2 = 11.

  4. Square the x-deviations and add them: 4+1+0+1+4=104 + 1 + 0 + 1 + 4 = 10.

  5. Slope b=11/10=1.1b = 11 / 10 = 1.1.

  6. Intercept a=yˉbxˉ=5(1.1)(3)=53.3=1.7a = \bar{y} - b\bar{x} = 5 - (1.1)(3) = 5 - 3.3 = 1.7, so the line is y^=1.7+1.1x\hat{y} = 1.7 + 1.1x, where y^\hat{y} is the predicted response.

  7. For r, also square the y-deviations and add them: 9+0+1+9+1=209 + 0 + 1 + 9 + 1 = 20. Then r=11/10×20=11/200=11/14.1421=0.7778r = 11 / \sqrt{10 \times 20} = 11 / \sqrt{200} = 11 / 14.1421 = 0.7778.

  8. The coefficient of determination is r2=(0.7778)2=0.605r^2 = (0.7778)^2 = 0.605, which also equals 121/200=0.605121/200 = 0.605.

The least-squares regression line is y^=1.7+1.1x\hat{y} = 1.7 + 1.1x, with r0.778r \approx 0.778 and r2=0.605r^2 = 0.605. About 60.5% of the variation in y is explained by its linear relationship with x. Because this is a sample, aa and bb are sample statistics.

Predict a value and find a residual

Using the line y^=1.7+1.1x\hat{y} = 1.7 + 1.1x from the previous example, predict y at x = 4 and find the residual for the observed point (4, 8). Then predict y at x = 2.5.

  1. Predict at x = 4: y^=1.7+1.1(4)=1.7+4.4=6.1\hat{y} = 1.7 + 1.1(4) = 1.7 + 4.4 = 6.1.

  2. Find the residual as observed minus predicted: residual=yy^=86.1=1.9\text{residual} = y - \hat{y} = 8 - 6.1 = 1.9.

  3. The residual is positive, so the line underpredicts the actual y at x = 4 by 1.9.

  4. Predict at x = 2.5, which is inside the observed range 1 to 5, so this is interpolation: y^=1.7+1.1(2.5)=1.7+2.75=4.45\hat{y} = 1.7 + 1.1(2.5) = 1.7 + 2.75 = 4.45.

The predicted y at x = 4 is 6.1, giving a residual of +1.9, so the model underpredicts by 1.9. The interpolated prediction at x = 2.5 is 4.45.

Frequently asked questions

How much of the AP Statistics exam is Unit 5?

Unit 5 is worth 10-20% of the multiple-choice section and takes about 9 class periods, the fewest of the five units. Regression also appears as part of a free-response question, so its weight on the exam is larger than the class-time share suggests.

Is inference for regression slopes on the new AP Statistics exam?

No. The Fall 2026 redesign removed inference for regression slopes, meaning confidence intervals and hypothesis tests for the slope, from the AP exam. It is still taught in most college introductory statistics courses, so you may encounter it later.

What is the difference between r and r-squared?

The correlation coefficient rr measures the strength and direction of a linear association and ranges from -1 to 1. The coefficient of determination r2r^2 is the proportion of variation in the response variable explained by the linear relationship, and it ranges from 0 to 1.

Do I calculate the regression line by hand on the AP exam?

The course expects you to use a graphing calculator to find the slope, intercept, rr, and r2r^2. Knowing the by-hand steps helps you understand what the calculator reports, but the exam assumes you are using technology.

Every topic in Unit 5

  1. 5.1Graphical Representations Between Two Quantitative Variables
  2. 5.2Correlation
  3. 5.3Linear Regression Models
  4. 5.4Residuals
  5. 5.5Least-Squares Regression