Regression & ANOVA Lab
Interpret correlation, fit and use least-squares regression lines, and read one-way ANOVA output.
1 Drag-the-points regression lab
Drag any point and watch the least-squares line and r update live. Pull one point far away — an outlier — and see what happens.
The blue line minimizes squared vertical residuals (red ticks show two).
Line: –
r: –
2 What to notice
- Drag a point up: the line tilts to follow, and r usually drops.
- An outlier far from the cloud can yank the whole line — regression is not resistant.
- Line up the points tightly: r marches toward ±1 and residuals shrink to slivers.