Least Squares Line

You are given four points and a line controlled by sliders m and b. Manipulate the sliders to minimize the sum of the squares of the residuals. Click the checkboxes to show/hide the squares and the linear regression line.

Sorry, the GeoGebra Applet could not be started. Please make sure that Java 1.4.2 (or later) is installed and active in your browser (Click here to install Java now)

John Gresham, PhD, Created with GeoGebra