help with aic and bic

2 views (last 30 days)
dav
dav on 18 Nov 2014
Commented: Adam on 18 Nov 2014
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 Comment
Adam
Adam on 18 Nov 2014
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.

Sign in to comment.

Answers (0)

Categories

Find more on Wind Power 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!