Filter a Time Series 

Mathematica provides a variety of functions for filtering a time series in order to reveal trends in the data.

The following data gives the number of accidental deaths in the United States recorded monthly.

In[1]:=
Click for copyable input
X
Out[1]=
In[2]:=
Click for copyable input
X
Out[2]=

Filter the series with a six-month window.

In[3]:=
Click for copyable input
X
In[4]:=
Click for copyable input
X
show complete Wolfram Language input
Out[5]=