Line of Least(?) Squares
twitter: @farrarscott web: www.scottfarrar.com
1. Drag points P_1 and P_2 to try to find a line of best fit.
2. Check "Show Squared Residuals" to reveal extra information.
3. Check "Show Line of Least Squares" to see the answer.
4. Check "Show Squared y deviations" to observe a piece of how R^2 is calculated.
5. data points A, B, C, D, E can be dragged as well to observe other cases.