- Tom Ahlschwede
- Linear Regression
Use Sliders a and b to set a 'Trial' line of best fit. The areas of the squares have the same value as the residual squared for each data point. The goals is to minimize the total area of these squares. When you think you have it smallest, click on "Show Regression Line." The yellow line that shows up is a horizontal line located at the sum of the squares. Make this line as low as possible to minimize the total area.