Line fitting is the process of constructing a straight line that has the best fit to a series of data points.
Several methods exist, considering: