What should be the dimension of the 'X' matrix when fitting a ARIMAX(p,q) model?
1 次查看(过去 30 天)
显示 更早的评论
Ali Fathi Baghbadorani
2016-10-20
编辑: Gowtham Uma M Jaganathan
2016-10-28
I'm Fitting an ARIMAX(p,q) model to a time series data with one exogenous variable. What should be the length of the 'X' matrix that I need to specify?
Thanks!
0 个评论
采纳的回答
Gowtham Uma M Jaganathan
2016-10-28
编辑:Gowtham Uma M Jaganathan
2016-10-28
I believe that in your question, 'X' corresponds to the exogenous predictor variable.
If you do not specify presample response data, then the number of rows of X must be at least numel(y,2) + Mdl.P. Where 'y' is Single path of response data and Mdl.P is the ARIMAX model. Otherwise, the number of rows of X should be at least the length of y.
If the number of rows of X exceeds the number necessary, then "estimate" function uses the latest observations and synchronizes X with the response series y.
All the above mentioned information are documented in the link below:
0 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!