Madc

From Eigenvector Research Documentation Wiki
Revision as of 11:48, 5 December 2019 by Lyle (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

The madc function is a scale estimator given by the Median Absolute Deviation (with finite sample correction factor). It is defined as:

madc(x)= b_n 1.4826 med(|x_i - med(x)|)

with b_n a small sample correction factor to make the mad unbiased at the normal distribution. It can resist 50% outliers. If x is a matrix, the scale estimate is computed on the columns of x. The result is then a row vector. If x is a row or a column vector, the output is a scalar.

This function is part of LIBRA: the Matlab Library for Robust Analysis, available at:
http://wis.kuleuven.be/stat/robust.html
Written by S.Verboven

Synopsis

result = madc(x);

Inputs

  • x either a data matrix with n observations in rows, p variables in columns or a column vector of length n.

See Also

auto, box_filter, datafit_engine, windowfilter