Resample Time Series
TimeSeriesResample can be used to subsample/upsample a time series, as well as to create a regularly spaced time series.
Subsample a time series.
In[1]:= | ![]() X |
Out[1]= | ![]() |
In[2]:= | ![]() X |
Out[2]= | ![]() |
Out[3]= | ![]() |
Get a monthly time series.
In[4]:= | ![]() X |
Out[4]= | ![]() |
Resample the time series with explicit monthly increment.
In[5]:= | ![]() X |
Out[5]= | ![]() |
Both time series have identical time-value pairs but different MinimumTimeIncrement.
In[6]:= | ![]() X |
Out[6]= | ![]() |
In[7]:= | ![]() X |
Out[7]= | ![]() |
In[8]:= | ![]() X |
Out[8]= | ![]() |
In[9]:= | ![]() X |
Out[9]= | ![]() |
Resample an irregular time series to create a regularly spaced time series.
In[10]:= | ![]() X |
Out[10]= | ![]() |
In[11]:= | ![]() X |
Out[11]= | ![]() |
Out[12]= | ![]() |