Clear Filters
Clear Filters

find ar oder using aic

6 views (last 30 days)
dav
dav on 2 Mar 2013
I have a data set y. I need to find the best ar order using AIC.
Can some one help me with the code please?
thanks
  2 Comments
Wayne King
Wayne King on 2 Mar 2013
do you have the System Identification Toolbox?
dav
dav on 2 Mar 2013
yes, I do.

Sign in to comment.

Answers (1)

Wayne King
Wayne King on 2 Mar 2013
You can use aic() in the System Identification Toolbox.
The steps:
-- Create models for given AR orders using arx()
-- Use aic() on the models to compare
  1 Comment
dav
dav on 2 Mar 2013
thank yo for your input. Actually i have to use this inside a loop. so i need a function that does this automatically and calculate the best order.
can you help me with it please?

Sign in to comment.

Categories

Find more on Linear Model Identification 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!