Open
Description
Feature description
It would be great to have in ROOT's TMath or TStatistics a function to calculate the moving average and the moving median and mode of an array. Functions that were greatly used in times of COVID cases tracking.
Alternatives considered
https://www.mathworks.com/help/matlab/ref/movmean.html
https://www.mathworks.com/help/matlab/ref/movmedian.html
https://www.boost.org/doc/libs/1_84_0/doc/html/accumulators/user_s_guide.html
https://github.com/root-project/root/blob/master/interpreter/llvm-project/llvm/tools/llvm-exegesis/lib/ProgressMeter.h#L26
Additional context
No response