I have 13 regressors and I have to find the best combination based on the Akaike Information Criterion. Being new to programming in EViews, the closest way I found was by using stepls combinatory, but it yields the model that presents the largest Rsquare, instead of the lowest AIC. How could I change that? If not possible, any tips on solving my problem? I also saw some programs involving for loops but they don't seem suitable for the case where we have 13 regressors (over 8000 equations). Any help would be extremely appreciated.
Thank you!
Help with stepls combinatory?
Moderators: EViews Gareth, EViews Jason, EViews Moderator

 Fe ddaethom, fe welon, fe amcangyfrifon
 Posts: 11777
 Joined: Tue Sep 16, 2008 5:38 pm
Re: Help with stepls combinatory?
It doesn't matter, i could use 1 of them or all 13, i just have to found the smallest AIC. That's the problem: i need to run through ALL possible combinations of the 13... the ones that only use 1, the ones that use 2, and so on.

 Fe ddaethom, fe welon, fe amcangyfrifon
 Posts: 11777
 Joined: Tue Sep 16, 2008 5:38 pm
Re: Help with stepls combinatory?
ok, that's not cominbatorial then.
I have a hunch that for a fixed number of regressors, minimising AIC is the same as maximising R^2 (in a linear regression). So you could just run STEPLS for each number of regressors, then compare the AICs from the chosen ones.
I have a hunch that for a fixed number of regressors, minimising AIC is the same as maximising R^2 (in a linear regression). So you could just run STEPLS for each number of regressors, then compare the AICs from the chosen ones.
Follow us on Twitter @IHSEViews
Re: Help with stepls combinatory?
That's what i thought too... and i did exactly that. I used stepls combinatorial to run all models and compared the AIC's. Unfortunately, our hunch is not right: maximizing Rsquared is not necessarily the same thing as minimizing AIC, so I could not rely on that result.
Who is online
Users browsing this forum: mvictor96 and 5 guests