The DIF function computes the differences between data values and one or more lagged (shifted) values for time series data.
Copyright © SAS Institute, Inc. All Rights Reserved.