Lesson 5.2 - Linear Regression & Residuals
Key Question: How should colleges evaluate test scores?
Content: ŷ = a + bx | Interpolation & Extrapolation | Residuals & Residual Plots
Alignment: CED Topics 5.3-5.4
Video
Course Resources
Resources for teaching our AP® Statistics curriculum.
- Lesson Flow - timing and flow of class, using our lesson materials
- Pacing Guide - pacing our units, with daily or block schedules
- CED Alignment Guide - aligning our lessons to the AP® Statistics Course and Exam Description
Teaching Resources
Resources for teaching with Skew The Script.
- Discussion Norms - our model discussion norms for the classroom
- Letter to Parents - letter to share with parents about our nonpartisan approach
- Teaching Math on Civic Topics - tips for teaching math lessons that cover civic topics
Lesson Notes
Lesson-specific insights from the creators of this lesson.
Generally, higher income students tend to perform better on standardized tests, like the SAT and ACT. This could be due to several factors, including the ability to move to areas with higher performing schools and to afford test prep tutoring. So, this raises a question for colleges evaluating applicants: how should they consider and compare student test scores?
- Identify the slope and y-intercept in a linear regression model
- Use a linear regression model to make predictions, differentiating between extrapolation and interpolation
- Calculate and interpret residuals
- Determine the appropriateness of a linear regression model based on a residual plot
Before proceeding: Familiarize yourself with the lesson materials linked above (e.g. handout, handout key, slides, video). Then, for additional background and teaching tips from the lesson creators, check out the sections below.
- After introducing the Key Question (“How should colleges evaluate test scores?”), the lesson shifts to a smaller and more accessible data set involving attendance and test scores. Students use this context to learn about linear regression models, predictions, and residuals, so that they can use these concepts to reconsider the Key Question later in the lesson. Providing this framing early – that students will return to the Key Question later in the lesson, after learning some useful tools during the earlier parts of the lesson – can help maintain student engagement throughout the lesson.
- This lesson focuses on using and evaluating linear models. The mechanics of calculating the least-squares regression line are intentionally deferred to a later lesson, so that the emphasis remains on interpretation and model evaluation. If students ask about the mathematical mechanics of how linear regression models are fit to data, you can reassure them that the topic will be covered in the next lesson.
- In AP Statistics, if students are asked to analyze a residual plot, the plot is almost always provided for them. Therefore, students can focus on understanding how to interpret these graphs rather than learning to construct them.
- When interpreting regression models, encourage students to include context throughout their explanations. Predictions and residuals should all be interpreted using the variables being studied, rather than described only in mathematical terms.
First, download this lesson's Handout Key and read through its Discussion Question section. Then, check out our model discussion norms and the additional background notes below.
- In 2020, the University of California released a report examining the role of standardized tests in admissions. Since then, the university system has adopted a test-blind admissions policy. More recently, faculty have begun reexamining the role of standardized testing, citing concerns about college-level academic readiness. In 2026, the UC Academic Senate officially created a faculty work group to evaluate the return of standardized testing. This evolving discussion provides an authentic context for exploring how statistical models can be used to evaluate the college admissions process.
- The discussion question creates an opportunity to consider how residuals can be used to evaluate student performance relative to predictions, rather than relying solely on raw scores. Because residuals measure the difference between an observed value and the value predicted by a model, they provide a way to compare outcomes after accounting for factors included in the model. In this context, residuals represent how much a student overperformed or underperformed relative to the score predicted based on their family income.
- The lesson intentionally avoids presenting a single “correct” answer to the fairness question. Instead, the goal is to evaluate the strengths and weaknesses of a proposed model and consider how different assumptions can influence conclusions.
- The data displayed at the very beginning of the lesson slide deck are originally from Chetty et al (2025) – a landmark study that provides a uniquely detailed window into the relationships between standardized test scores and student backgrounds.
- The attendance and test score data set provides a simpler context for introducing linear regression concepts. Because the relationship is strong and has relatively few data values, students can focus on interpreting models, making predictions, and understanding residuals. Then, students can apply this understanding to the more complex data set about income and test scores in the Discussion Question.
- Real student-level data test score data is privacy-protected. So, in the Discussion Question, simulated data is provided that closely matches the key summary statistics from the real UC Academic Council report. For the years the report analyzed the SAT, the maximum score on the test was 2400. So, the simulated data uses that scale.
- Students may wonder why statisticians typically write linear regression models in the form ŷ = a + bx rather than y = mx + b. This notation helps maintain consistency with more complex multiple regression models (beyond the scope of this course), which take the form of: ŷ = a + \( b_{1}x_{1} \) + \( b_{2}x_{2} \) + \( b_{3}x_{3} \) + …
- It is critical to distinguish between y and ŷ and to use the notation accurately. For a given x-value, y represents the observed value while ŷ represents the value predicted by the model. This distinction helps reinforce the concept that models are not perfect representations of reality. Instead, they provide useful approximations based on available information. The aphorism “All models are wrong, but some are useful” provides a helpful summary of this idea.
Student Supports
Lesson-specific resources to support all learners.
- It can be challenging to remember the order of subtraction for residuals (y − ŷ). A helpful pneumonic: “In AP Statistics, the residuals are Actual minus Predicted.”
- Scatterplots often do not begin at the origin, which is an important consideration when interpreting the y-intercept. A helpful guidance to students is to ask them whether the graph displays x = 0. If it doesn’t, the y-intercept is not actually visible in the graph.
- For helping students distinguish between interpolation and extrapolation, ask them to identify the observed interval of x-values for any scatterplots they analyze – regardless of whether they’re specifically asked about interpolation or extrapolation. Developing this habit will help them quickly distinguish interpolation from extrapolation in future questions.
- Vocabulary used in the context of the lesson may include words that are unfamiliar or have several meanings. In particular, the following mathematical terms may need clarification or a definition provided:
- Slope
- y-intercept
- Interpolation
- Extrapolation
- Residual
- Underestimate
- Overestimate
- In addition, the following contextual terms may need clarification or a definition provided:
- Standardized test
- Income
- College admissions
- For distinguishing between the terms interpolation and extrapolation, it can help to emphasize the prefixes: interpolation relates to prediction inside the domain of observed x-values, and extrapolation relates to prediction beyond the most extreme x-values.