Answer:
Finding the error for each observation, squaring the error and minimizing the sum
Explanation:
The regression line is a straight line which gives a description of how the dependent variable y changes as changes occur in the independent variable X. It gives a prediction of the value of Y for any given value of X.
The method of least squares is used for squaring the error and also used for minimising the sum. Therefore, when you calculate the regression line, you would be Finding the error for each observation, squaring the error and minimizing the sum.