Calculate median absolute deviation MAD
→ npm i --save stats-mad
const mad = require('stats-mad');
mad([1, 1, 2, 2, 4, 6, 9]); // → 1
MIT © Michał Jezierski
Calculate Median Absolute Deviation (MAD)
Calculate median absolute deviation MAD
→ npm i --save stats-mad
const mad = require('stats-mad');
mad([1, 1, 2, 2, 4, 6, 9]); // → 1
MIT © Michał Jezierski
Calculate Median Absolute Deviation (MAD)