E N D
Introduction The fit of a linear function to a set of data can be assessed by analyzing . A residual is the vertical distance between an observed data value and an estimated data value on a line of best fit. Representing residuals on a provides a visual representation of the residuals for a set of data. A residual plot contains the points: (x, residual for x). A random residual plot, with both positive and negative residual values, indicates that the line is a good fit for the data. If the residual plot follows a pattern, such as a U-shape, the line is likely not a good fit for the data. residuals residual plot 4.2.3: Analyzing Residuals
Key Concepts A residual is the distance between an observed data point and an estimated data value on a line of best fit. For the observed data point (x, y) and the estimated data value on a line of best fit (x, y0), the residual is y – y0. A residual plot is a plot of each x-value and its corresponding residual. For the observed data point (x, y) and the estimated data value on a line of best fit (x, y0), the point on a residual plot is (x, y – y0). 4.2.3: Analyzing Residuals
Key Concepts, continued A residual plot with a random pattern indicates that the line of best fit is a good approximation for the data. A residual plot with a U-shape indicates that the line of best fit is not a good approximation for the data. 4.2.3: Analyzing Residuals
Common Errors/Misconceptions incorrectly finding the residual incorrectly plotting points on the residual plot 4.2.3: Analyzing Residuals
Guided Practice Example 1 Pablo’s science class is growing plants. He recorded the height of his plant each day for 10 days. The plant’s height, in centimeters, over that time is listed in the table to the right. 4.2.3: Analyzing Residuals
Guided Practice:Example 1, continued Pablo determines that the function y = 1.73x + 1.87 is a good fit for the data. How close is his estimate to the actual data? Approximately how much does the plant grow each day? 4.2.3: Analyzing Residuals
Guided Practice: Example 1, continued Create a scatter plot of the data. Let the x-axis represent days and the y-axis represent height in centimeters. Height Days 4.2.3: Analyzing Residuals
Guided Practice: Example 1, continued Draw the line of best fit through two of the data points. A good line of best fit will have some points below the line and some above the line. Use the graph to initially determine if the function is a good fit for the data. 4.2.3: Analyzing Residuals
Guided Practice: Example 1, continued Height Days 4.2.3: Analyzing Residuals
Guided Practice: Example 1, continued Find the residuals for each data point. The residual for each data point is the difference between the observed value and the estimated value using a line of best fit. Evaluate the equation of the line at each value of x. 4.2.3: Analyzing Residuals
Guided Practice: Example 1, continued 3.6 5.33 7.06 8.79 10.52 12.25 13.98 15.71 17.44 19.17 4.2.3: Analyzing Residuals
Guided Practice: Example 1, continued Next, find the difference between each observed value and each calculated value for each value of x. -0.6 -0.23 0.14 0.01 -0.02 0.25 0.02 0.19 -0.14 -0.27 4.2.3: Analyzing Residuals
Guided Practice: Example 1, continued Plot the residuals on a residual plot. Plot the points (x, residual for x). 4.2.3: Analyzing Residuals
Guided Practice: Example 1, continued Describe the fit of the line based on the shape of the residual plot. The plot of the residuals appears to be random, with some negative and some positive values. This indicates that the line is a good line of fit. 4.2.3: Analyzing Residuals
Guided Practice: Example 1, continued Use the equation to estimate the centimeters grown each day. The change in the height per day is the centimeters grown each day. In the equation of the line, the slope is the change in height per day. The plant is growing approximately 1.73 centimeters each day. ✔ 4.2.3: Analyzing Residuals
Guided Practice Example 2 Lindsay created the table to the right showing the population of fruit flies over the last 10 weeks. 4.2.3: Analyzing Residuals
Guided Practice: Example 2, continued She estimates that the population of fruit flies can be represented by the equation y = 46x – 40. Using residuals, determine if her representation is a good estimate. 4.2.3: Analyzing Residuals
Guided Practice: Example 2, continued Find the estimated population at each x-value. Evaluate the equation at each value of x. 6 52 98 144 190 236 282 328 374 420 4.2.3: Analyzing Residuals
Guided Practice: Example 2, continued Find the residuals by finding each difference between the observed population and estimated population. 44 26 0 -22 -37 -45 -44 -30 -1 46 4.2.3: Analyzing Residuals
Guided Practice: Example 2, continued Create a residual plot. Plot the points (x, residual for x). 4.2.3: Analyzing Residuals
Guided Practice: Example 2, continued Analyze the residual plot to determine if the equation is a good estimate for the population. The residual plot has a U-shape. This indicates that a non-linear estimation would be a better fit for this data set. The shape of the residual plot indicates that the equation y= 46x – 40 is not a good estimate for this data set. ✔ 4.2.3: Analyzing Residuals