This program demonstrates linear regression. Given n data points, it uses the least squares algorithm to generate and plot a regression line among the points.
To run the demo:
- Click the mouse in the graph panel to set from 2 up to 100 data points.
- Click the Regression line button to plot the regression line.
- You can add more data points and click the Regression line button again.
- Click the Reset button to start over.