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: 418
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 1479 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: 400
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: 418
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

xprimexinverse
Posts: 37
Joined: Fri Sep 18, 2015 11:41 am
Location: Dublin, Ireland
Contact:

Re: Dependencies using commands?

Postby xprimexinverse » Sat Nov 23, 2019 1:31 pm

EViews Matt wrote: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).


Oh wow, these two model procedures should come in really handy! Thanks for letting us know about them.
- Graeme


Return to “Models”

Who is online

Users browsing this forum: No registered users and 2 guests