We have a timeseries of N measurements obtained from a Monte Carlo simulation, i.e. . Suppose (s.t. ) is the least-squares best fitted line, we attempt to minimize