How To Find The Least Squares Regression Line On Desmos. They discovered that the the line of “best” fit is the one that minimizes the sum of the squared residuals (the least squares regression line!). Team desmos all you have to do is click and hold your mouse button down on top of a graph, and you'll see the closest set of coordinates appear.
So what does the least squares really mean? Using this desmos etool we let students try to move the line into the “best” spot (be sure you hide the line of best fit to start). To find the line of best fit for n points: