Page 1 of 1

Equation access in model

Posted: Thu May 23, 2013 12:20 am
by Katjes
Using EViews 8, assume:

Code: Select all

%model="m" model {%model} {%model}.merge eq_v1 {%model}.merge eq_v2 {%model}.append x=y+c string test={%model}.@endoglist 'Lists all Endogeneous variables
While test lists all variables (v1, v2, x), I'm only interested in a string including v1 and v2.
Is there a way to access the equations in a model?

Re: Equation access in model

Posted: Thu May 23, 2013 7:52 am
by EViews Gareth
model.@linklist will give you all linked objects in the model. In your case, that is the list of equations.

Re: Equation access in model

Posted: Tue Mar 19, 2019 4:54 pm
by Phil09
How do I return a text string containing names of equations in model.@linklist?

Re: Equation access in model

Posted: Tue Mar 19, 2019 4:55 pm
by EViews Gareth
Not sure I understand, but:

Code: Select all

mystring = mymodel.@linklist