Professional Documents
Culture Documents
Abstract— This article presents a classical type of solution to As discussed in the book of West and Harrison [4], in
the time series prediction competition, the CATS benchmark, the sixties, Kalman filter type recursive estimators were also
which is organized as a special session of the IJCNN 2004 used in Bayesian community and it is not clear if theory of
conference. The solution is based on sequential application of
the Kalman smoother, which is a classical statistical tool for Kalman filtering or theory of dynamic linear models (DLM)
estimation and prediction of time series. The Kalman smoother was the first. Although these theories were originally derived
belongs to the class of linear methods, because the underlying from slightly different starting points, they are equivalent. This
filtering model is linear and the distributions are assumed article approaches the Bayesian filtering problem in Kalman
Gaussian. Because the time series model of the Kalman smoother filtering point of view, because of its useful connection to the
assumes that the densities of noise terms are known, these are
determined by cross-validation. theory and history of stochastic optimal control.
P− T
k+1 = Ak Pk Ak + Qk
Ck = Pk ATk [P−
k+1 ]
−1
−450
400 420 440 460 480 500
msk = mk + Ck [msk+1 − Ak mk ]
Psk = Pk + Ck [Psk+1 − P− T
k+1 ]Ck , Fig. 1. Data 400–500 (black) and the result of prediction with the long term
starting from last time step T , with msT = mT and PsT = PT . model (gray).
0.5 400
0 350
−0.5 300
−1 250
0 1000 2000 3000 4000 5000 1950 2000 2050
Fig. 3. Estimated filter coefficients for the AR-model. Fig. 5. Prediction over missing data at 1981 – 2000. The gray line is the
long term prediction result and black line is the combined long and short term
prediction result.
160 80
140 60
40
120
20
100
0
80 −20
60 −40
−60
40 2950 3000 3050
20 Fig. 6. Prediction over missing data at 2981 – 3000. The gray line is the
long term prediction result and black line is the combined long and short term
0 prediction result.
950 1000 1050
Fig. 4. Prediction over missing data at 981 – 1000. The gray line is the long
term prediction result and black line is the combined long and short term
prediction result.
approximation of the signal and the short term prediction
catches the local periodicity ignored by the long term model.
IV. C ONCLUSIONS
Although all the used models were linear (and dynamic) in
A. Summary of the Results nature they seem to model well this non-linear time series. It
In this article we applied the classical Kalman smoother is likely that by using non-linear state space models (filtering
method for estimating the long term and short term statistical models) the prediction results would be better, but it is very
models for the CATS benchmark time series. The results hard to judge what kind of model is really the best. This
indicate that the long term prediction gives a very good overall judgment naturally also depends on the criterion used.
350 [5] M. H. Hayes, Statistical Digital Signal Processing and Modeling. John
Wiley & Sons, Inc., 1996.
[6] J. M. Bernardo and A. F. M. Smith, Bayesian Theory. John Wiley &
300 Sons, 1994.
250
200
150
100
50
3950 4000 4050
Fig. 7. Prediction over missing data at 3981 – 4000. The gray line is the
long term prediction result and black line is the combined long and short term
prediction result.
60
40
20
−20
−40
−60
−80
−100
−120
4900 4920 4940 4960 4980 5000
Fig. 8. Prediction over missing data at 4981 – 5000. The gray line is the
long term prediction result and black line is the combined long and short term
prediction result.
ACKNOWLEDGMENT
The authors would like to thank Ilkka Kalliomäki for his
help on proofreading the article.
R EFERENCES
[1] R. E. Kalman, “A new approach to linear filtering and prediction prob-
lems,” Transactions of the ASME, Journal of Basic Engineering, vol. 82,
pp. 34–45, March 1960.
[2] A. H. Jazwinski, Stochastic Processes and Filtering Theory. Academic
Press, 1970.
[3] Y. Bar-Shalom, X.-R. Li, and T. Kirubarajan, Estimation with Applications
to Tracking and Navigation. Wiley Interscience, 2001.
[4] M. West and J. Harrison, Bayesian Forecasting and Dynamic Models.
Springer-Verlag, 1997.