Page 1 of 1

Dependencies using commands?

Posted: Thu Jun 06, 2019 11:23 am
by tvonbrasch
Hi

It is a really nice feature that one can identify dependencies in the model object,
dependancy.PNG
dependancy.PNG (28.91 KiB) Viewed 19580 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

Re: Dependencies using commands?

Posted: Thu Jun 06, 2019 12:11 pm
by EViews Matt
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).

Re: Dependencies using commands?

Posted: Thu Jun 06, 2019 10:21 pm
by tvonbrasch
That is great Matt, thank you so much!
Thomas

Re: Dependencies using commands?

Posted: Sat Nov 23, 2019 1:31 pm
by xprimexinverse
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