Page 1 of 1

@Varlist of equation

Posted: Tue Jun 04, 2013 5:58 am
by Katjes
We try to identify the elements of each equation
however, if the equation is specified with the following:

Code: Select all

eq_Y.ls dlog(Y)=c(33)+c(34)*dlog(Y(-1)) eq_Y.@varlist
the results that we get is

Code: Select all

DLOG(Y) Y(-1) Y(-2)
Which is not our equation!!

When we define the equation by the following

Code: Select all

eq_Y.ls dlog(Y) c dlog(Y(-1)) eq_Y.@varlist
we get which is perfect

Code: Select all

DLOG(Y) C DLOG(Y(-1))
We now that @spec is also possible, but we need a list of variables of the equation without coefficients.

Re: @Varlist of equation

Posted: Tue Jun 04, 2013 7:30 am
by EViews Gareth
Unfortunately there isn't a way to do that.

Re: @Varlist of equation

Posted: Tue Jun 04, 2013 8:35 am
by Katjes
And what is the reason, why the @varlist command produces a wrong list?

Re: @Varlist of equation

Posted: Tue Jun 04, 2013 10:05 am
by EViews Gareth
@varlist doesn't produce a "wrong list". It produces a list of all of the variables on the right hand side of the equation, when the equation is specified by expression.