Returns the median absolute deviation of a variable.

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

Syntax

Visual Basic (Declaration)
Public Function GetMedianAbsoluteDeviation As Double
C#
public double GetMedianAbsoluteDeviation ()
C++
public:
double GetMedianAbsoluteDeviation ()

Return Value

The median absolute deviation of the data variable.

Remarks

The median absolute deviation is the median of the absolute values of the deviation of each observation from the mean of the variable.

The use of the median eliminates the unwanted effect of extreme values. The GetAverageAbsoluteDeviation() provides a faster means of calculating a measure of scale, but is somewhat sensitive to extreme values.

See Also