So those are the residuals,īut how do we plot it? Well, we would set up or axes. So six minus 5.5, that is a positive 0.5. When x equals three is six, our expected when x equals three is 5.5. The expected, two timesĢ.5 minus two is three, so this is going to be two minus three, which equals a residual of negative one. So our residual over here, once again, the actual is y equals two when x equals two. For this point right over here, the actual, when xĮquals two, for y is two, but the expected is three. 5, so we have a positive, we have a positive 0.5 residual. This point right over here? For this point here, the actual y when x equals one is one, but the expected, when x equals one for this least squares regression line, 2.5 times one minus two, well, that's gonna be. So how do I make that tangible? Well, what's the residual for So what is a residual? Well, just as a reminder, your residual for a given point is equal to the actual minus the expected. What I'm going to do now is plot the residualsįor each of these points. We actually came up with the equation of this So right over here, we have a fairly simple Going to do in this video is talk about the idea of a residual plot for a given regression and the data that it's trying to explain.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |