Math Functions > Arithmetic Functions


Successive Differences

The Successive Differences function computes the difference between successive values in a regular or irregular interval time series data set.   The time series data must be of type “INST-­VAL” or “INST-­CUM.”  A value in the resultant time series is set to missing if either the current or previous value in the original time series is missing (need to have two consecutive valid values).  If the data type of the original data set is “INST-­CUM” the resultant time series data set is assigned the type "PER-­CUM,” otherwise the data type does not change.

 

To compute the successive differences for time series data sets:

  1. Choose the Arithmetic tab of the Math Functions Screen and select the Successive Differences operator.
  2. Select a data set to apply the function from the Selected Data Set pull-down list at the top of the screen or multiple data sets from the list in the lower portion of the screen.  If you include the data set selected in the top Selected Data Set, the operation on that set will only be done once.
  3. Click Compute.