simple-squiggle/node_modules/mathjs/lib/esm/expression/embeddedDocs/function/statistics/mad.js

8 lines
394 B
JavaScript
Raw Normal View History

export var madDocs = {
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']
};