Returns a NumericalVariable whose observations are the exponential growth rate of the observations over the specified lag.

Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Function GetGrowthRate ( _
	lag As Integer _
) As NumericalVariable
C#
public NumericalVariable GetGrowthRate (
	int lag
)
C++
public:
NumericalVariable^ GetGrowthRate (
	int lag
)

Parameters

lag (System.Int32)
An integer larger than zero that specifies the distance between the current observation and the reference observation.

Return Value

A NumericalVariable.

Remarks

The exponential growth rate is the percentage change between quantities where growth compounds continuously at every instant of time.

The new variable gets the name expGrowth<n>(<name>), where <name> is the name of the original variable and <n> . is the length.

Exceptions

ExceptionCondition
ArgumentOutOfRangeExceptionlag is less than or equal to zero.