AP Statistics regression cheat sheet
By Jude Wallis · Published
Describe a scatterplot by form, direction, strength, and unusual features. The least-squares line is , where and . A residual is observed minus predicted, and is the share of variation in the line explains.
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). Regression is Unit 5, topics 5.1 through 5.5, of the Fall 2026 AP Statistics course. Inference for a regression slope and the old topic on analyzing departures from linearity were removed in the redesign.
Describing a scatterplot
The explanatory variable goes on the x-axis and the response variable goes on the y-axis.
| Feature | What to state | Words to use |
|---|---|---|
| Form | The overall shape of the pattern | Linear, nonlinear (curved) |
| Direction | Whether tends to rise or fall as increases | Positive, negative |
| Strength | How closely the points follow the pattern | Strong, moderate, weak |
| Unusual features | Points or groups that depart from the pattern | Clusters, points far from the trend |
Sentence pattern: "There is a [strength], [direction], [form] association between [explanatory variable] and [response variable]. As [x] increases, [y] tends to [increase or decrease]." Add any unusual features in context. "Tends to" marks the pattern as a general tendency across individuals.
Correlation
| Fact about | Detail |
|---|---|
| Range | |
| Sign | Positive for a positive association, negative for a negative one; it matches the sign of the slope |
| Strength | Closer to or means a stronger linear association; means no linear association |
| Units | None. Changing the units of or does not change |
| What it measures | Linear association only. A strong curved relationship can have near 0 |
| Linearity | A value of near or does not by itself show that a linear model is appropriate. Check the scatterplot and the residual plot |
| Causation | A strong correlation does not show that changes in cause changes in |
Technology reports . See how to find r by hand for where the number comes from, and correlation vs causation.
The least-squares regression line
| Item | Formula or fact |
|---|---|
| Model | |
| Slope | |
| Intercept | |
| Criterion | The line that makes the sum of the squared residuals as small as possible |
| Mean point | The line passes through |
| Prediction | Substitute a value of to get |
| Extrapolation | Predicting for an outside the range of the data; the prediction becomes less reliable the further outside it is |
("y-hat") is the predicted value of the response, is the y-intercept, is the slope, and are the sample means, and and are the sample standard deviations. In practice and come from technology, such as the regression calculator. See least-squares regression line.
Interpretation sentences
| Quantity | Sentence pattern |
|---|---|
| Slope | "For each additional 1 [unit of x], the predicted [y] [increases or decreases] by [b] [units of y]." |
| Intercept | "When [x] is 0 [units], the predicted [y] is [a] [units of y]." |
| Correlation | "There is a [strength], [direction] linear association between [x] and [y]." |
| Coefficient of determination | "About [ as a percent] of the variation in [y] is explained by the linear relationship with [x]." |
| Residual | "The actual [y] was [amount] [units] [above or below] the value predicted by the line." |
| Prediction | "The model predicts a [y] of [value with units] when [x] is [value]." |
Three cautions:
- Write "predicted" in the slope and intercept sentences. The line gives a predicted value, and individual observations vary around it.
- The intercept may have no reasonable meaning when is far outside the data or when the value is impossible in context.
- is the square of . To recover from , take the square root and attach the sign of the slope.
See how to interpret the slope of a regression line and r vs r-squared.
Residuals and residual plots
| Residual | Position of the point | The line |
|---|---|---|
| Positive | Above the line | Underpredicted the response |
| Negative | Below the line | Overpredicted the response |
| Zero | On the line | Predicted the response exactly |
A residual plot graphs the residuals against the explanatory variable or against the predicted values.
| Residual plot shows | Conclusion |
|---|---|
| Points scattered randomly above and below 0, with no pattern | A linear model is appropriate |
| A curved pattern | A linear model is not appropriate |
A residual has the units of the response variable. See how to interpret residual plots.
What the Fall 2026 framework includes
Unit 5 has five topics: scatterplots (5.1), correlation (5.2), linear regression models and prediction (5.3), residuals (5.4), and least-squares regression (5.5). Everything in the sections above belongs to those topics.
The College Board's list of topics removed for the Fall 2026 course affects regression in two ways:
- Inference for the slope of a regression line (the old Unit 9) was removed. The course has no confidence interval and no significance test for a slope.
- The old topic on analyzing departures from linearity was removed, so the course has no topic on transforming data to achieve linearity. Curvature in a residual plot is still used as evidence that a linear model is not appropriate.
Build the line from summary statistics and find a residual
For 30 students, hours studied () has mean 5 and standard deviation 2, exam score () has mean 70 and standard deviation 8, and the correlation is . The scatterplot is linear. Find the least-squares line, predict the score for a student who studied 6 hours, find the residual for a student who studied 6 hours and scored 78, and interpret .
Slope: .
Intercept: .
Line: .
Prediction at : points.
Residual: points. The residual is positive, so the line underpredicted this student's score.
Coefficient of determination: .
The line is . For each additional hour studied, the predicted exam score increases by 3 points. The predicted score at 6 hours is 73, the residual for the student who scored 78 is 5 points, and about 56% of the variation in exam score is explained by the linear relationship with hours studied.
Interpret a fitted line and spot extrapolation
A least-squares line for predicting the price of a used car of one model, in thousands of dollars, from its age in years is . It was fit to cars from 1 to 10 years old, and . Interpret the slope, find , find the residual for a 5-year-old car that sold for 13.6 thousand dollars, and comment on a prediction for a 15-year-old car.
Slope: for each additional year of age, the predicted price decreases by 1.8 thousand dollars.
Correlation: , and the slope is negative, so .
Prediction at : thousand dollars.
Residual: thousand dollars. The residual is negative, so the line overpredicted this car's price.
At : thousand dollars, a negative price. Age 15 is outside the 1 to 10 years used to fit the line, so this is extrapolation.
Slope: the predicted price drops by 1.8 thousand dollars per year of age. . The 5-year-old car's residual is thousand dollars. The prediction for a 15-year-old car is an extrapolation and gives an impossible negative price, so it should not be used.
Frequently asked questions
What is the difference between r and r-squared?
gives the direction and strength of a linear association and lies between and . is the proportion of the variation in the response that the linear relationship with the explanatory variable explains, and it lies between 0 and 1.
Does a high correlation mean a line is the right model?
No. Data that follow a curve can still have close to 1. The form is judged from the scatterplot and the residual plot. A curved pattern in the residual plot shows that a linear model is not appropriate.
Is inference for a regression slope part of the course?
No. The College Board lists inference for slopes among the topics removed for the Fall 2026 course. Unit 5 describes and interprets the relationship without a confidence interval or a significance test for the slope.