The least squares regression line minimizes which of the following?
The sum of the vertical distances from points to the line
The sum of the absolute values of residuals
The sum of the squared residuals
The sum of the horizontal distances from points to the line