find ar oder using aic

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 个评论

do you have the System Identification Toolbox?
yes, I do.

请先登录,再进行评论。

回答(1 个)

Wayne King
Wayne King 2013-3-2

1 个投票

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 个评论

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?

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Linear Model Identification 的更多信息

标签

提问:

dav
2013-3-2

Community Treasure Hunt

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

Start Hunting!

Translated by