What should be the dimension of the 'X' matrix when fitting a ARIMAX(p,q) model?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Ali Fathi Baghbadorani
el 20 de Oct. de 2016
Editada: Gowtham Uma M Jaganathan
el 28 de Oct. de 2016
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 comentarios
Respuesta aceptada
Gowtham Uma M Jaganathan
el 28 de Oct. de 2016
Editada: Gowtham Uma M Jaganathan
el 28 de Oct. de 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:
0 comentarios
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!