determine order of ar model
1 view (last 30 days)
Show older comments
I wish to determine the order of an 'ar' model to be used for forecasting data using 'forecast'. The data contains 48 observations. How do I determine the order of the model? In the figure above I've specified order(n)=23. Will it increase as the observations increase.
Also,please suggest a command that'll join the blue and red line.'hold on' doesn't work. Thanks in advance.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/157325/image.jpeg)
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!