Vector Joint Model versus Univariate Component Models
Get hourly temperature readings for May 2014 in Champaign, Illinois.
Use TimeSeriesAggregate to calculate daily minimum and maximum temperatures.
Combine them into a vector time series.
Out[4]= | |
show complete Wolfram Language inputhide input
Out[5]= | |
The first part of the data will be used to find a model, while the rest of the data will serve as a reference set for the forecast.
The temperatures are cross-correlated.
Out[7]= | |
Fit a vector model to the data.
Out[8]= | |
Forecast the next 5 days.
show complete Wolfram Language inputhide input
Out[10]= | |
Find univariate models of the same type but longer orders for both temperatures separately.
Out[11]= | |
Out[12]= | |
Combine univariate forecasts for plotting.
Out[13]= | |
Compare the forecasts.
show complete Wolfram Language inputhide input
Out[15]= | |
Plot the vector forecast and the 95% confidence bands.
show complete Wolfram Language inputhide input
Out[17]= | |
Plot the univariate forecasts and the 95% confidence bands.
show complete Wolfram Language inputhide input
Out[20]= | |
Compare both forecasts and the corresponding confidence bands.
show complete Wolfram Language inputhide input
Out[21]= | |