Work with Time Series Containing Missing Data
Thanks to the symbolic nature of Mathematica the values of time series may be any expressions. In particular, the expression Missing[…] is reserved to annotate missing observations, and Mathematica provides a special handling for it.
The time series of temperatures readings in Champaign, Illinois on May 14, 2014.
In[1]:= | ![]() X |
Out[1]= | ![]() |
In[2]:= | ![]() X |
Out[2]= | ![]() |
Out[940]= | ![]() |
The missing values are treated as symbolic expressions.
In[3]:= | ![]() X |
Out[3]= | ![]() |
Use MissingDataMethod option to specify how to fill in the missing value.
In[4]:= | ![]() X |
In[5]:= | ![]() X |
Compare means.
In[6]:= | ![]() X |
Out[6]= | ![]() |