help with aic and bic

1 次查看(过去 30 天)
dav
dav 2014-11-18
评论: Adam 2014-11-18
Hello,
I am using the following code to find the order of an autoregressive(AR) process.
But I got same answers for both AIC and BIC. Is there anything wrong?
ptest = arxstruc(xt(1:T/2), xt((T/2)+1:T), pmaxvec);
arorder_aic = selstruc(ptest,'AIC'); % estimated AR order - p hat (by aic criterion)
arorder_bic = selstruc(ptest,'BIC');
Thanks
  1 个评论
Adam
Adam 2014-11-18
Do you expect the order to be different for the inputs you gave?
Are you actually getting the AIC and BIC evaluations out or just the ordering resulting from these? The latter may quite conceivably be the same despite the former being different for some inputs.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with Control System Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by