Presentation is loading. Please wait.

Presentation is loading. Please wait.

Residuals.

Similar presentations


Presentation on theme: "Residuals."— Presentation transcript:

1 Residuals

2 Observed Y – Predicted Y
Residuals (Error) The difference between the observed y and the predicted y Observed Y – Predicted Y Determines the effectiveness of the regression model Given to you in the chart Get by plugging into the equation

3 Residual Plots Determine
If the model is appropriate, then the plot will have a random scatter. If another model is necessary, the plot will have a noticeable pattern. Pattern = Problem!

4 Linear model appropriate or inappropriate?

5 The only way to know is to see the residual plot.
1. Does there appear to be a pattern in the residual plot? Yes, this shape is called a quadratic. 2. Does this support your original guess? You must now see that a linear model does NOT fit this data. Not scattered!

6 Linear model appropriate or inappropriate?

7 The only way to know is to see the residual plot.
1. Does their appear to be a pattern in the residual plot? Yes, it fans out as x increases. 2. Does this support your original guess? You must now see that a linear model does NOT fit this data. Fan Pattern.

8 Linear model appropriate or inappropriate?

9 The only way to know is to see the residual plot.
1. Does their appear to be a pattern in the residual plot? Yes, it looks quadratic. 2. Does this support your original guess? This was very tricky. The scale was very small. You must now see that a linear model does NOT fit this data.

10 Linear model appropriate or inappropriate?

11 The only way to know is to see the residual plot.
1. Does their appear to be a pattern in the residual plot? Yes, it seems to decrease as x increases. 2. Does this support your original guess? This was tricky. You must now see that a linear model does NOT fit this data.

12 Example 1: Calculate Residual from this data set:
Y Predicted Residuals (observed – predicted) 1 4 2 12 3 18 23 5 24 6 28 = 6.67 -2.67 = Data from TI Activity for NUMB3RS Episode 202 = = =

13 Example 1: Calculate Residual from this data set:
Y Predicted Residuals (observed – predicted) 1 4 6.67 -2.67 2 12 11.27 3 18 15.87 23 20.47 5 24 25.07 6 28 29.67 = = Data from TI Activity for NUMB3RS Episode 202 = = =

14 Good fit or not? Is there a Pattern?
There is no pattern. This makes this line a good fit.

15 Example 2: Calculate Residual Tracking Cell Phone Use over 10 days
Total Time (minutes) Total Distance (miles Predicted Total Distance Residuals (observed – predicted) 32 51 54.4 -3.4 19 30 31.9 28 47 36 56 17 27 23 35 41 65 22 37 73 54 = = = = = Data from TI Activity for NUMB3RS Episode 202 = = = = =

16 Example: Calculate Residual Tracking Cell Phone Use over 10 days
Total Time (minutes) Total Distance (miles) Predicted Total Distance Residuals (observed – predicted) 32 51 54.4 -3.4 19 30 31.9 -1.9 28 47 47.5 -0.5 36 56 61.3 -5.3 17 27 28.5 -1.5 23 35 38.8 -3.8 41 65 70.0 -5 22 37.1 3.9 37 73 63.1 9.9 54 6.5 Data from TI Activity for NUMB3RS Episode 202

17 Good fit or not? Is there a Pattern?
The plots begin to fan out in a “U” shape, so it is not a great fitting line. YES, I THINK THIS STUFF IS HARD TOO!

18 Homework : Residuals worksheet
We will go over this tomorrow in detail, I promise 


Download ppt "Residuals."

Similar presentations


Ads by Google