statable Statistics for study and research

Least squares (method of least squares)

How do you place the best line through points? Least squares picks the line with the smallest sum of squared deviations. They are measured in the y direction: observed minus predicted. These are the residuals.

Example: Point at y = 10, line predicts 8: deviation 2, squared 4.

Caution: The shortest distance to the line is not what is measured. Squaring makes large deviations count more.

Open in Statable