Weighted median absolute deviation
weighted_mad.RdComputes the weighted MAD as the weighted median of |x - median(x, w)|,
scaled by constant (default 1.4826 for consistency with stats::mad()
under normality).
weighted_mad.RdComputes the weighted MAD as the weighted median of |x - median(x, w)|,
scaled by constant (default 1.4826 for consistency with stats::mad()
under normality).