Lesson 17 NYS COMMON CORE MATHEMATICS CURRICULUM M2 ALGEBRA I Lesson 17: Analyzing Residuals Student Outcomes ο§ Students use a graphing calculator to construct the residual plot for a given data set. ο§ Students use a residual plot as an indication of whether the model used to describe the relationship between two numerical variables is an appropriate choice. Lesson Notes In this lesson, students use technology to generate residual plots. Students build on their knowledge of using technology to determine the least squares line for a data set. The steps for using TI-83/84 graphing calculators to create residual plots are provided in the teacher notes, which can be printed and distributed for students to follow during the lesson as a guide. Similar summaries may be needed for any graphing software or other graphing calculators that students may use. Residual plots are also analyzed to determine the appropriateness of informally fitting the linear models to the data set. Classwork Example 1 (10 minutes): Predicting the Pattern in the Residual Plot Students learn how to use the pattern in the scatter plot to predict what the residual plot will look like. Vertical MP.2 distances from the least squares line in the scatter plot are plotted as the π¦-values in the residual plot, with the π₯-coordinates remaining the same. Note that the scales on the vertical axes of the two graphs are different, and as a result, the sizes of the displacements are greatly exaggerated in the residual plot. Ask students: ο§ What will the residual plot look like? If students have trouble with this, explain each point in the scatter plot one by one. For each point, look at whether it has a positive or negative residual and whether the residual is large or small relative to the other residuals. Once they have seen two or three points in the scatter plot and how they translate to points in the residual plot, students should see how the pattern translates as a whole. Students look at the residual plot as an indication of the fit of the points to the line. Lesson 17: Analyzing Residuals This work is derived from Eureka Math β’ and licensed by Great Minds. ©2015 Great Minds. eureka-math.org This file derived from ALG I-M2-TE-1.3.0-08.2015 186 This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. NYS COMMON CORE MATHEMATICS CURRICULUM Lesson 17 M2 ALGEBRA I Example 1: Predicting the Pattern in the Residual Plot Suppose you are given a scatter plot and least squares line that looks like this: Describe what you think the residual plot would look like. If students struggle, have them look carefully at the scatter plot. Point out that moving from left to right, the points initially tend to be below the least squares line, then move above it, and then below it. The residuals are negative, then positive, and then negative again. This means that the points in the residual plot will be below the horizontal axis, then above it, and then below it again. The residual plot has an arch shape like this: Why is looking at the pattern in the residual plot important? Discuss with students that the residual plot provides another indication of the type of relationship between two variables. Example 2 (10 minutes): The Meaning of Residuals The purpose of this example is to remind students of what a residual plot is before they construct one using a calculator. If students seem comfortable with the concept of a residual plot following the previous lesson and Problem Set, this example can be covered quickly. If students need some review, this is a good opportunity to do that. Lesson 17: Analyzing Residuals This work is derived from Eureka Math β’ and licensed by Great Minds. ©2015 Great Minds. eureka-math.org This file derived from ALG I-M2-TE-1.3.0-08.2015 187 This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. NYS COMMON CORE MATHEMATICS CURRICULUM Lesson 17 M2 ALGEBRA I Example 2: The Meaning of Residuals Suppose that you have a scatter plot and that you have drawn the least squares line on your plot. Remember that the residual for a point in the scatter plot is the vertical distance of that point from the least squares line. In the previous lesson, you looked at a scatter plot showing how fuel efficiency was related to curb weight for five compact cars. The scatter plot and least squares line are shown below. Consider the following questions: ο§ What kind of residual does Point A have? Point A has a large positive residual. ο§ What kind of residual does Point B have? Point B has a small positive residual. ο§ What kind of residual does Point C have? Point C has a very large negative residual. You also looked at the residual plot for this data set: Your teacher will now show how to use a graphing calculator or graphing program to construct a scatter plot and a residual plot. Consider the following example. Lesson 17: Analyzing Residuals This work is derived from Eureka Math β’ and licensed by Great Minds. ©2015 Great Minds. eureka-math.org This file derived from ALG I-M2-TE-1.3.0-08.2015 188 This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Lesson 17 NYS COMMON CORE MATHEMATICS CURRICULUM M2 ALGEBRA I Example 3 (15 minutes): Using a Graphing Calculator to Construct a Residual Plot Even though students have already learned how to calculate the equation of the least squares line using a graphing calculator, the instructions are repeated here for completeness. In this example, students construct a scatter plot with MP.5 the least squares line and construct a residual plot using technology. The instructions shown here are for the TI-83 and TI-84 calculators and are intended as a guide only. Alternate graphing software may also be used. Most graphing programs have similar directions to those listed for the TI-83 or TI-84. Note: Students using the TI-83 or TI-84 should clear out any equations under Y = before beginning this example. Example 3: Using a Graphing Calculator to Construct a Residual Plot In an earlier lesson, you looked at a data set giving the shoe lengths and heights of ππ adult women. This data set is shown in the table below. π (Shoe Length) π (Height) inches inches π. π ππ π. π ππ π. π ππ ππ. π ππ ππ. π ππ ππ. π ππ ππ. π ππ ππ. π ππ ππ. π ππ ππ. π ππ ππ. π ππ ππ. π ππ Use a calculator to construct the scatter plot (with least squares line) and the residual plot for this data set. Lesson 17: Analyzing Residuals This work is derived from Eureka Math β’ and licensed by Great Minds. ©2015 Great Minds. eureka-math.org This file derived from ALG I-M2-TE-1.3.0-08.2015 189 This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. NYS COMMON CORE MATHEMATICS CURRICULUM Lesson 17 M2 ALGEBRA I Calculation of the equation of the least squares line: 1. 2. 3. 4. 5. 6. From the home screen, go to the statistics editor by pressing STAT, ENTER. Enter the π₯-values into L1 and the π¦-values into L2. Press 2nd, QUIT to return to the home screen. Press STAT, select CALC, select LinReg(π + ππ₯), and press ENTER. Type L1, L2, Y1 so that your entry reads LinReg(π + ππ₯) L1, L2, Y1. (Y1 is accessed by pressing VARS and selecting Y-VARS, Function, 1.) Press ENTER. The π¦-intercept, π, and the slope, π, of the least squares line are displayed on the screen. (Also, the calculator stores in its memory a list called RESID, which is used in constructing the residual plot. Furthermore, since Y1 was included in the entry, the equation of the least squares line is entered as the Y 1 equation in the Y = menu.) Construction of scatter plot: 1. 2. 3. 4. 5. 6. 7. 8. From the home screen press 2nd, STAT PLOT. Select Plot1, and press ENTER. Select On. Under Type choose the first (scatter plot) icon, for Xlist enter L 1, for Ylist enter L2, and under Mark choose the first (square) symbol. Press 2nd, QUIT to return to the home screen. Press Y =. Go to any unwanted graph equations and press CLEAR. Make sure that only Plot1 is selected (not Plot2 or Plot3). Press Zoom, select ZoomStat (option 9), and press ENTER. The scatter plot and the least squares line are displayed. Construction of residual plot: 1. 2. 3. 4. 5. 6. 7. 8. From the home screen, press 2nd, STATPLOT. Select Plot2, and press ENTER. Select On. Under Type, choose the first (scatter plot) icon, for Xlist enter L 1, for Ylist enter RESID, and under Mark choose the first (square) symbol. (RESID is accessed by pressing 2nd, LIST, selecting NAMES, scrolling down to RESID and pressing ENTER.) Press 2nd, QUIT to return to the home screen. Press Y =. First, deselect the equation of the least squares line in Y 1 by going to the = sign for Y1 and pressing ENTER. Then deselect Plot1, and make sure that Plot2 is selected. Press Zoom, select ZoomStat (option 9), and press ENTER. The residual plot is displayed. Lesson 17: Analyzing Residuals This work is derived from Eureka Math β’ and licensed by Great Minds. ©2015 Great Minds. eureka-math.org This file derived from ALG I-M2-TE-1.3.0-08.2015 190 This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Lesson 17 NYS COMMON CORE MATHEMATICS CURRICULUM M2 ALGEBRA I Note that when constructing a residual plot, you need the correct set of residuals to form the list called RESID. This is only the case if you have run the LinReg(π + ππ₯) or LinReg(ππ₯ + π) command for the data set on which you are working. Students often ask why we use LinReg(π + ππ₯) rather than LinReg(ππ₯ + π). Explain how the two forms offer different representations of a linear equation. The more common convention in statistics is that π is the π¦-intercept and π is the slope, not vice-versa. To save time and help students do the problem set, it might be worthwhile to give each student a copy of the calculator instructions. The equation of the least squares line for this example is π¦ = 32.679 + 3.1469π₯, where π₯ is the shoe length (in inches), and π¦ is the height (in inches). The scatter plot and residual plot are shown below. Scatter plot: Residual plot: Closing (5 minutes) Discuss the Lesson Summary with students. Lesson Summary ο§ After fitting a line, the residual plot can be constructed using a graphing calculator. ο§ A pattern in the residual plot indicates that the relationship in the original data set is not linear. Exit Ticket (5 minutes) Lesson 17: Analyzing Residuals This work is derived from Eureka Math β’ and licensed by Great Minds. ©2015 Great Minds. eureka-math.org This file derived from ALG I-M2-TE-1.3.0-08.2015 191 This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Lesson 17 NYS COMMON CORE MATHEMATICS CURRICULUM M2 ALGEBRA I Name Date Lesson 17: Analyzing Residuals Exit Ticket 1. If you see a random scatter of points in the residual plot, what does this say about the original data set? 2. Suppose a scatter plot of bivariate numerical data shows a linear pattern. Describe what you think the residual plot would look like. Explain why you think this. Lesson 17: Analyzing Residuals This work is derived from Eureka Math β’ and licensed by Great Minds. ©2015 Great Minds. eureka-math.org This file derived from ALG I-M2-TE-1.3.0-08.2015 192 This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Lesson 17 NYS COMMON CORE MATHEMATICS CURRICULUM M2 ALGEBRA I Exit Ticket Sample Solutions 1. If you see a random scatter of points in the residual plot, what does this say about the original data set? A random scatter of points in the residual plot tells us that a linear function is an appropriate model for the relationship between the two variables in the original data set. 2. Suppose a scatter plot of bivariate numerical data shows a linear pattern. Describe what you think the residual plot would look like. Explain why you think this. Because the relationship between the two variables is linear, the residual plot would have a random pattern. Problem Set Sample Solutions Assist those students still needing help with the calculator or statistical program. If students are using a TI graphing calculator (e.g., a TI-83 or TI-84), tell them to turn off the STAT plot for 2. The first question asks only about the least squares line and the scatter plot. Consider again a data set giving the shoe lengths and heights of ππ adult men. This data set is shown in the table below. Lesson 17: π (Shoe Length) π (Height) inches inches ππ. π ππ ππ. π ππ ππ. π ππ ππ. π ππ ππ. π ππ ππ. π ππ ππ. π ππ ππ. π ππ ππ. π ππ ππ. π ππ Analyzing Residuals This work is derived from Eureka Math β’ and licensed by Great Minds. ©2015 Great Minds. eureka-math.org This file derived from ALG I-M2-TE-1.3.0-08.2015 193 This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. NYS COMMON CORE MATHEMATICS CURRICULUM Lesson 17 M2 ALGEBRA I 1. Use your calculator or graphing program to construct the scatter plot of this data set. Include the least squares line on your graph. Explain what the slope of the least squares line indicates about shoe length and height. The slope indicates that as the shoe length increases, so does the height. The following illustrates the scatter plot and residual plot from a calculator. (Note: If it is not possible for you to observe your studentsβ work on their calculators, have them show you a sketch of each graph.) 2. Use your calculator to construct the residual plot for this data set. See plot below. 3. Make a sketch of the residual plot on the axes given below. Does the scatter of points in the residual plot indicate a linear relationship in the original data set? Explain your answer. There is no curved pattern in the residual plot, and the points in the residual plot appear to be scattered at random around the zero line. This indicates that the relationship in the original data set is linear. Lesson 17: Analyzing Residuals This work is derived from Eureka Math β’ and licensed by Great Minds. ©2015 Great Minds. eureka-math.org This file derived from ALG I-M2-TE-1.3.0-08.2015 194 This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
© Copyright 2025 Paperzz