Affine fit activity (Least squares)
This activitivity is accessed by the item "Affine fit" from the menu in "Scholar".
Enter a number of points between 2 and 1000. These are generated randomly and are displayed in the graphics window. The slider at the bottom varies the slope of the line passing through the mean data point and illustrates the principle of linear regression of y on x by the method of least squares.
The routine displays both the slope and the error.