Median vs Moving Average

Median vs Moving Average

animation
analytics-ml
data-quality
Try Change Filter window size (odd) from 5 to 15.
Observe Compare Moving average and Median filter around the step change at index 25, and watch RMSE.
Explain Describe how window size affects the step change at index 25 and the response to spikes.

Technical boundaries. The clean signal is a step function plus a gentle sine over 50 samples. Both filters use available samples while their buffers fill.

NoteMedian vs Moving Average

Back to the chapter