variable names in the regression

For making suggestions and/or requests for new features you'd like added to EViews.

Moderators: EViews Gareth, EViews Moderator

nupogodi
Posts: 53
Joined: Thu Jun 03, 2010 12:50 am

variable names in the regression

Postby nupogodi » Thu Jun 03, 2010 2:11 am

hi,

i would have a suggestion to complement the regression output syntax by the option to retrieve the list of variable names...
for example, I would like to retrieve the list of retained variable names after the stepwise regression

wfcreate u 100
series y=nrnd
series x1 =nrnd
series x2 =nrnd
series x3 =nrnd
series x4 =nrnd
series x5 =nrnd
equation reg.stepls(method=comb,nvars=3) y c @ x1 x2 x3 x4 x5
%var_name1 = reg.@name(1) 'THIS SYNTAX IS NOT AVAILABLE CURRENTLY
%var_name2 = reg.@name(2) 'THIS SYNTAX IS NOT AVAILABLE CURRENTLY

... this issue can be resolved currently by freezing the regression output table and looping through the first column, but this solution is highly cumbersome... if you know what i mean...
this kind of syntax would be helpful in case of the ordinary regression output as well

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

Re: variable names in the regression

Postby EViews Gareth » Thu Jun 03, 2010 7:57 am

Code: Select all

=reg.@varlist


Return to “Suggestions and Requests”

Who is online

Users browsing this forum: No registered users and 1 guest