ARIMAX model with econometric modeler
2 views (last 30 days)
Show older comments
Good evening
I built a ARIMAX model with the matlab econometric modeler toolboox. the model can be visualized by 2 plots.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/296658/image.png)
the first representing the fit model (ydata and ypredicted data) and the second the residual(ydata-ypredicted data). I generate the code of these plots to understand how the toolbox get the plot parameters. Unfortunetly the function generated didnot explain it.
I wonder if the following code is the correct code to get these parameters..
[Y2,res2] = simulate(ARIMAX_dataw1,261, 'NumPaths',1, 'X',[dataw2,dataw3]);
figure
subplot(2,1,1)
plot([Y2,dataw1])
subplot(2,1,2)
plot(res2)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/296663/image.png)
please help me.
2 Comments
Answers (1)
Stepp Gyogi
on 19 Jun 2020
I just posted another question which is about a completely different issue. However, it contains some code in which you will find examples for simulating and estimating your ARIMAX model. There is also a link to the relevant arima class, which has all the documentation I used to write that code.
Here is the link with the code:
Hope this helps!
0 Comments
See Also
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!