Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: xplore
See also: median quantile var

Quantlet: mad
Description: Compute a scale estimate based on the median absolute deviation.

Usage: y = mad(x)
Input:
x a numeric array
Output:
y for each column in x, it contains the median absolute deviation

Example:
library("xplore")
randomize(101)
mad(normal(100))

Result:
Contents of y

[1,]  0.96729



Author: P. Cizek, 20001124
(C) MD*TECH Method and Data Technologies, 05.02.2006