To find the line of best fit, which of the following is minimized?
∑ni=1(yi−^yi)2
The line of best fit is obtained by minimizing the squared errors of the data values i.e. the square of the difference between the predicted and actual values of the dependent variable with respect to the independent variable.