Mean Absolute Deviation

Global Algorithm - One-Dimensional Algorithm

Mean Absolute Deviationalgorithm is commonly used as a robust measure of the variability of data. The basic formulat is stated as follows:

MAD=Median[(|Y1Median(Y)|,|Y2Median(Y)|,,|YNMedian(Y)|)T,

where Yi denotes the ith element of the input data vector Y. || returns the absolute value and T denotes the transpose of the vector. Median algorithm returns the Median value of Y.

Input Parameters

Parameter Type Constraint Description Remarks
Y YRN NN Input data vector of length N  

Output Parameters

Parameter Type Constraint Description Remarks
MAD MADR      

Tool Support

  • Matlab

    For details refer to the online documentation of the function ‘mad’.

Single Steps using the Algorithm

References

  • F. Mosteller, J. Tukey, Data Analysis and Regression, Upper Saddle River, NJ: Addison-Wesley, 1977.
  • L. Sachs, Applied Statistics: A Handbook of Techniques, New York: Springer-Verlag, 1984.