Reminds me very much of the very interesting work @heinrichhartman did for years with @postwait for @circonus on histograms to handle spike erosion of moving averages in time series data [link] Statistics for engineers paper by heinrich: