This is one of the most popular methods of fitting a mathematical trend.
The least squares method is a statistical procedure to find the best fit for a set of data points by minimizing the sum of the offsets or residuals of points from the plotted curve.
The line of best fit is a line from which the sum of the deviations of various points is zero.
This is the best method for obtaining the trend values.
It gives a convenient basis for calculating the line of best fit for the time series. It is mathematical method for measuring trend.
Further the sum of the squares of these deviations would be least when compared with other fitting methods.