Parametric equations
The main cloud stays fixed. Only the highlighted point moves. Let be the least-squares slope of the main cloud, and the least-squares slope after that point is added. This page watches the one point. It does not rebuild the cloud.
The leverage drawn here is the horizontal distance from the main mean. The residual is the vertical gap from the point to the base line, , where is the base line at . A point can be isolated on either measure, or far enough on both to rewrite the trend.
Interaction
- High leverage, Large residual, High influence, and Low influence: four places for the highlighted point, to compare how one position changes the fit
- Leverage: show the horizontal distance from . Farther from the main mean means more pull on the slope
- Residual: show the vertical distance to the base line, kept separate from leverage
- Mean: mark , the center of the main cloud and the point the base line passes through
- Drag the highlighted point. Reset returns it to the start
What to notice
- A large residual is not automatically a large change in slope. A point near the main mean usually has a hard time twisting .
- A point far from can move the slope more than a point near the mean, even when the nearer point has the larger residual.
- The gray line is the trend of the main cloud. The more the new line leaves it, the more that one point may be driving the fit.
Comments
Comment with a GitHub account.