stats/outlier_mad_utils library

Outlier detection by MAD / Z-score — roadmap #467.

Functions

outlierIndicesByMAD(List<num> values, {double threshold = 3.5}) Set<int>
Flags indices where |x - median| / MAD > threshold. MAD=0 treated as no outliers.