BA 3316 · Regression, Day 1

Beat the computer

Drag the two orange handles to move the line. Each orange square is one residual, squared. Make the total area as small as you can.

Scatterplot of the data with your adjustable line and squared residuals.

On a keyboard: Tab to a handle, then use the up and down arrows (hold Shift for bigger steps).