simple-squiggle

A restricted subset of Squiggle
Log | Files | Refs | README

mad.js (394B)


      1 export var madDocs = {
      2   name: 'mad',
      3   category: 'Statistics',
      4   syntax: ['mad(a, b, c, ...)', 'mad(A)'],
      5   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.',
      6   examples: ['mad(10, 20, 30)', 'mad([1, 2, 3])'],
      7   seealso: ['mean', 'median', 'std', 'abs']
      8 };