Fitting  a straight line