Linear regression algorithm, part two.

a={S_xx S_y - S_x S_xy}\over \Delta. b={SS_xy - S_x S_y}\over \Delta. The equation of the line is: line=Y_LR (x)=a+bx.