Presentation is loading. Please wait.

Presentation is loading. Please wait.

AP Statistics Section 3.2 B Residuals

Similar presentations


Presentation on theme: "AP Statistics Section 3.2 B Residuals"— Presentation transcript:

1 AP Statistics Section 3.2 B Residuals

2 One of the purposes of drawing a regression line is to predict __ based on ____. Since any prediction errors we make are errors in y, we would like to find the line that makes the vertical distances from our data points to the line as ______ as possible. The predicted response will usually not be exactly the same as the actual observed response. y x small

3 One of the first principals of data analysis is to look for an overall pattern and for striking deviations from that pattern.

4 Residuals determine how well the LSL fits the data
Residuals determine how well the LSL fits the data. A residual is the difference between an observed value of the response variable and the value predicted by the regression line.

5 Example: Refer back to section 3
Example: Refer back to section 3. 2 A and find the residual for the subject whose NEA rose by 135 calories.

6 The residual is negative because the data point lies ______ the line.
below

7 The sum of the least squares residuals is always ____.

8 The graph at the right below is the residual plot of the NEA vs Fat Gain example in Section 3.2 A. A residual plot makes it easier to study the residuals by plotting them against the explanatory variable. Because the mean of the residuals is always 0, the horizontal line at zero helps orient us. This “residual = 0” line corresponds to the regression line we drew in the section 3.2 A notes.

9 The residual plot magnifies the deviations from the line to make patterns easier to see. If the regression line captures the overall pattern of the data, there should be _________ in the residuals, such as in the graph to the left. no pattern

10 CALCULATOR: Put data in 2 lists and find LSL 2nd Y= (STATPLOT) Xlist: Explanatory variable Ylist: RESID nd STAT (List) NAMES-Scroll down to RESID ENTER GRAPH ZOOM 9

11 Here are two important things to look for when you examine a residual plot.

12 patterns fan-shaped

13 2. The residuals should be relatively small in size
2. The residuals should be relatively small in size.   Since smallness is relative, we could find the standard deviation of the residuals, which is given by the equation The standard deviation of the residuals represents the amount of error that could “consistently” occur using the LSL to make predictions.


Download ppt "AP Statistics Section 3.2 B Residuals"

Similar presentations


Ads by Google