20 lines
447 B
JavaScript

module.exports = {
'name': 'mad',
'category': 'Statistics',
'syntax': [
'mad(a, b, c, ...)',
'mad(A)'
],
'description': 'Compute the median absolute deviation of a matrix or a list with values. The median absolute deviation is defined as the median of the absolute deviations from the median.',
'examples': [
'mad(10, 20, 30)',
'mad([1, 2, 3])'
],
'seealso': [
'mean',
'median',
'std',
'abs'
]
};