Stats.Average Absolute Deviation Method
Returns the mean absolute deviation from the mean of a variable.
Definition
Namespace: Numerics.NET.Statistics
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
The mean absolute deviation of the data variable.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public static double AverageAbsoluteDeviation(
this Vector<double> values
)
Parameters
Return Value
DoubleThe mean absolute deviation of the data variable.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type Vector<Double>. 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).Remarks
The mean absolute deviation is the mean of the absolute values of the deviation of each observation from the mean of the variable.