Loading...
Loading...
Paste a data set and see not just the fitted line, but the diagnostics that reveal whether any single point is quietly controlling the result.
One pair per line as x, y. 6 points read.
ŷ = 5.178 + 0.3677x, R² = 0.3009
| x | y | Residual | Leverage | Cook's D |
|---|---|---|---|---|
| 1 | 3 | -2.546 | 0.3247 | 0.3792 |
| 2 | 5 | -0.914 | 0.2473 | 0.0299 |
| 3 | 6 | -0.282 | 0.1957 | 0.002 |
| 4 | 9 | 2.351 | 0.1699 | 0.1119 |
| 5 | 10 | 2.983 | 0.1699 | 0.1802 |
| 12 | 8 | -1.591 | 0.8925 | 16.0547 |
Rows shaded amber have leverage above 2p/n = 0.667; rows shaded red have Cook's distance above 1, a common threshold for an influential point. Try removing the last point in the default example and watch the slope, R², and every diagnostic change, exactly the effect described in leverage, outliers and Cook's distance.