DiffX(Input: ITimeSeries, Lag: Integer)
Input. Variable.
Lag. The parameter sets a shift (lag) of variable points in a time period. It can take only positive values. Optional parameter. The parameter is 1 by default - previous period.
It calculates the growth of variable points to the specified period: X[t]-X[t-Lag].
Formula | Result | Application |
= DiffX({Brazil|BCA}, 2) | The rate of change of the Brazil|BCA time series observations is calculated to the period that is shifted from current to two points back. | 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. |
= DiffX(X1, 3) | The rate of change of values of the X1 factor points is calculated to the previous period that is shifted from the current to two points back. |
It can be used in model formulas of modeling container. |
See also:
Functions Available in Expression Editor │ Transformations │ IModelling.DiffX