TITLE(mad @@ Median Absolute Deviation)
USAGE(
mad(x, center, constant=1.4826, na.rm=FALSE)
)
ALIAS(mad)
DESCRIPTION(
LANG(mad) provides a scale estimate based on the
median absolute deviation.
The actual value calculated is
LANG(constant * (median(abs(x - center))))
with the default value of
LANG(center) being LANG(median(x)).
PARA
If LANG(na.rm) is LANG(TRUE) then LANG(NA)
values are stripped from LANG(x) before computation takes place.
If this is not done then an LANG(NA) value in
LANG(x) will cause LANG(mad) to return LANG(NA).
)
