a least-squares fitting of a simple regression model minimizes the sum of the squares of the perpendicular distances from the data points to the regression line.