Home▸AI & Machine Learning▸Influential Points in Least Squares: Leverage, the Hat Matrix and Cook Distance

Influential Points in Least Squares: Leverage, the Hat Matrix and Cook Distance

Drag one point around a regression scatter plot and watch the least-squares line react. See leverage from the hat matrix, the residual, Cook distance and the slope shift it causes, and learn why a point far out in x on the trend is harmless while a point off the trend is not. Blender-built board, data spheres and fit lines, with independent numerical checks (hat matrix, leave-one-out refits) built in.

AI & Machine Learning3DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 2D version
Influential Points in Least Squares: Leverage, the Hat Matrix and Cook Distance ↗ Open standalone

Drag one point around a regression scatter plot and watch the least-squares line react. See leverage from the hat matrix, the residual, Cook distance and the slope shift it causes, and learn why a point far out in x on the trend is harmless while a point off the trend is not. Blender-built board, data spheres and fit lines, with independent numerical checks (hat matrix, leave-one-out refits) built in.

⚙ Under the hood

Drag one point around a regression scatter plot and watch the least-squares line react. See leverage from the hat matrix, the residual, Cook distance and the slope shift it causes, and learn why a point far out in x on the trend is harmless while a point off the trend is not. Blender-built board, data spheres and fit lines, with independent numerical checks (hat matrix, leave-one-out refits) built in.

RegressionLeverageCook DistanceHat MatrixOutliers

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)