Automating variable choice

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

miorinnovo
Posts: 199
Joined: Sun Mar 01, 2015 5:01 pm

Automating variable choice

Postby miorinnovo » Tue Feb 09, 2016 10:22 am

Is there a canned program code that would have eviews take a set of variables and run all possible combinations and permutations of equations with those variables and give you the resulting r-squareds for a specified dependent variable??

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Automating variable choice

Postby EViews Gareth » Tue Feb 09, 2016 10:28 am

Stepwise will do it (for a given number of regressors), but won't report the R^2, it will just choose the best one.

miorinnovo
Posts: 199
Joined: Sun Mar 01, 2015 5:01 pm

Re: Automating variable choice

Postby miorinnovo » Tue Feb 09, 2016 12:13 pm

Awesome, thanks. Is there something similar to chose the lowest RMSE in a pseudo forecasting program rather than the r-squared?

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Automating variable choice

Postby EViews Gareth » Tue Feb 09, 2016 12:21 pm

No.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests