determine order of ar model

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.

Answers (0)

Categories

Find more on Physics in Help Center and File Exchange

Asked:

on 23 Feb 2014

Community Treasure Hunt

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

Start Hunting!