What should be the dimension of the 'X' matrix when fitting a ARIMAX(p,q) model?
조회 수: 2 (최근 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!