This is a prototype of JavaSketchpad, a World-Wide-Web component of The Geometer's Sketchpad. Copyright 1990-1997 by Key Curriculum Press, Inc. All rights reserved. Portions of this work are being funded by the National Science Foundation (awards DMI 9561674 & 9623018 ).


Sorry, this page requires a Java-compatible web browser.

Points P1 through P6 represent data points. A line is drawn through the points and from each data point to the line a square is constructed. Drag the y-intercept and slope of the line so that the sum of the areas of the squares is minimized. That line is the least squares regression line for the data. Bill Finzer, 3/95, 9/97.


Return to the JavaSketchpad Gallery.