PchX

Syntax

PchX(Input: ITimeSeries, Lag: Integer)

Parameters

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.

Description

It calculates the rate of change of variable points to the specified period.

Example

Formula Result Application
= PchX({Brazil|BCA},3)

The rate of change of Brazil|BCA factor observations is calculated to the period shifted from current by three points.

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.
= PchX(X1,2)

The rate of change of X1 factor points is calculated to the previous period shifted from current by two points.

It can be used in model formulas of modeling container.

See also:

Functions Available in Expression Editor │ TransformationsIModelling.PchX