Returns a vector whose observations are the extrapolated
percentage change of the observations over the specified lag.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Vector<double> ExtrapolatedPercentChange(
this Vector<double> vector,
int lag,
double length
)
<ExtensionAttribute>
Public Shared Function ExtrapolatedPercentChange (
vector As Vector(Of Double),
lag As Integer,
length As Double
) As Vector(Of Double)
public:
[ExtensionAttribute]
static Vector<double>^ ExtrapolatedPercentChange(
Vector<double>^ vector,
int lag,
double length
)
[<ExtensionAttribute>]
static member ExtrapolatedPercentChange :
vector : Vector<float> *
lag : int *
length : float -> Vector<float>
Parameters
- vector
- Type: Extreme.MathematicsVectorDouble
The vector to transform. - lag
- Type: SystemInt32
An integer larger than zero that specifies
the distance between the current observation and the reference observation. - length
- Type: SystemDouble
The number of periods over which to extrapolate the growth rate.
Return Value
Type:
VectorDoubleA vector.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
VectorDouble. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
The growth rate is the percentage change between quantities over time.
The extrapolated growth rate states the growth rate extrapolated over the specified number of periods.
The new vector gets the name extChangePct<n>(<name>), where
<name> is the name of the original vector and <n> .
is the length.
Reference