What should be the dimension of the 'X' matrix when fitting a ARIMAX(p,q) model?

2 views (last 30 days)
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!

Accepted Answer

Gowtham Uma M Jaganathan
Gowtham Uma M Jaganathan on 28 Oct 2016
Edited: Gowtham Uma M Jaganathan on 28 Oct 2016
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:

More Answers (0)

Categories

Find more on Conditional Mean Models in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!