Returns a vector whose observations are the average absolute deviation
of a range of observations from observations of another vector.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Vector<double> MovingAverageAbsoluteDeviation(
this Vector<double> vector,
int length,
Vector<double> mean
)
<ExtensionAttribute>
Public Shared Function MovingAverageAbsoluteDeviation (
vector As Vector(Of Double),
length As Integer,
mean As Vector(Of Double)
) As Vector(Of Double)
public:
[ExtensionAttribute]
static Vector<double>^ MovingAverageAbsoluteDeviation(
Vector<double>^ vector,
int length,
Vector<double>^ mean
)
[<ExtensionAttribute>]
static member MovingAverageAbsoluteDeviation :
vector : Vector<float> *
length : int *
mean : Vector<float> -> Vector<float>
Parameters
- vector
- Type: Extreme.MathematicsVectorDouble
The vector to transform. - length
- Type: SystemInt32
The number of observations in the range. - mean
- Type: Extreme.MathematicsVectorDouble
A vector containing the mean from which the deviation
is calculated.
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 new vector gets the name MAAD<length>(<name>), where
<name> is the name of the original vector.
Reference