Dependencies using commands?

For technical support, tips and tricks, suggestions, or any other information regarding the EViews model object.

Moderators: EViews Gareth, EViews Moderator

tvonbrasch
Posts: 412
Joined: Fri Apr 15, 2011 5:35 am

Dependencies using commands?

Postby tvonbrasch » Thu Jun 06, 2019 11:23 am

Hi

It is a really nice feature that one can identify dependencies in the model object,
dependancy.PNG
dependancy.PNG (28.91 KiB) Viewed 795 times


The down dependencies I have managed to find using the SPEC command, however, is there a way to identify the UP-tree using commands, i.e. the endogenous variables that depend on the reference variable? (If not, can you please add this functionality?)
Thomas

EViews Matt
EViews Developer
Posts: 384
Joined: Thu Apr 25, 2013 7:48 pm

Re: Dependencies using commands?

Postby EViews Matt » Thu Jun 06, 2019 12:11 pm

Hello,

There is a pair of undocumented model procedures for returning upwards and downwards dependencies. model.@depends("foo") returns a string containing the variables that "foo" depends on (downward), and model.@upends("foo") returns a string containing the variables that depend on "foo" (upward).

tvonbrasch
Posts: 412
Joined: Fri Apr 15, 2011 5:35 am

Re: Dependencies using commands?

Postby tvonbrasch » Thu Jun 06, 2019 10:21 pm

That is great Matt, thank you so much!
Thomas


Return to “Models”

Who is online

Users browsing this forum: No registered users and 1 guest