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 518 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