Least Squares Fitting from Wolfram MathWorld
Least-squares regression is often used for scatter plots (the word ''scatter'' refers to how the data is spread out in the x-y plane). Look at the graph below, the straight line shows the potential relationship between the independent variable and the dependent variable. The ultimate goal of this method is to reduce this difference between the observed