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: