Length of X vector in ARMAX/ARIMAX/SARIMAX model
古いコメントを表示
Hello everyone,
I want to create a time series model with exogenous inputs to predict future values of the measured time series. To do so I am using an ARIMAX model. Right now I have 8496 data points in my Y and my X vector. But when I want to estimate my model matlab tells me that my X vector must contain at least 8525 data points. So I got a few options now:
I can add a few more values at the end of my X vector (those values would be more recent then all the values that I used above). I can add a few more values at the beginning of my X vector (those values would represent pretty "old" data).
The results differ only slightly. But what is the right way??
Thanks a lot!
採用された回答
その他の回答 (1 件)
Esmail
2014 年 11 月 6 日
0 投票
I've had the same problem yesterday. I think if you are going to 'estimate' a ARMAX(p,q) modell you have to add P old values at the beginning of your X. But if you are interested to 'simulate' a new values based on a already estimated model you have to add new X-values by numObs at the end of your X. I case of having lots of X parameters (as in my case) it would be more convenient to adapt the length of your Y values to the model. Meaning:
For estimate a ARIMAX(p,q): Y=Y(p:end,:) For a simulataion based on a ARIMA model by numObs: Y=Y(1:end-numObs,:)
カテゴリ
ヘルプ センター および File Exchange で Conditional Mean Models についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!