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