AvgDev in Statistics, the avgdev function in PixelMath, and the Image.avgDev() and Math.avgDev() methods in PJSR, all of them refer to the mean absolute deviation from the median:
(http://forum-images.pixinsight.com/20120706/avgdev.png)
As for the MAD function (median absolute deviation from the median), there is no predefined method to compute it in PJSR. I'll implement it in version 1.8.0. It is indeed easy to write a JavaScript routine to calculate it.