variable names in the regression
Posted: 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
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