In Equations 1 and 2, n is the number of observations in the time series, i is the earlier value in the time series sequence,j is later value in the time series sequence, and yrepresents the measurements at times i or j .