Labs / Mathematics

Least Squares Fit

Every point casts a little square whose area is its squared distance from your line. Grab the two handles and tilt the line until the total shaded area is as small as it can be — that is exactly what “least squares” means. Add your own points by clicking, then hit snap to see the true best fit.

y = 0.30x + 5.00SSR 0r 0

What to try