![The running median as a time series smoother](https://blogs.sas.com/content/iml/files/2021/05/timesmooth3-600x336.png)
When data contain outliers, medians estimate the center of the data better than means do. In general, robust estimates of location and sale are preferred over classical moment-based estimates when the data contain outliers or are from a heavy-tailed distribution. Thus, instead of using the mean and standard deviation of