Lag(Input: ITimeSeries, Value: Integer)
Input. Variable.
Value. The parameter sets a shift (lag) of variable points in a time period. It can take only positive values. Optional parameter. By default the parameter is set to 1 - shift by one point.
It shifts the variable forward to the specified number of points in the time period.
Formula | Result | Application |
= Lag({Brazil|BCA}, 2) | The Brazil|BCA factor observations are moved by two points forward in time period. | It can be used in formulas of calculated series of time series database and model formulas of modeling container that is a child of the time series database. |
= Lag(X1, 3) | The X1 factor points are shifted by three points forward at time period. |
It can be used in model formulas of modeling container. |
See also:
Functions Available in Expression Editor │ Transformations │ IModelling.Lag