Referencing objects across pages and workfiles

For making suggestions and/or requests for new features you'd like added to EViews.

Moderators: EViews Gareth, EViews Moderator

paues
Posts: 218
Joined: Fri Apr 15, 2011 7:16 am
Location: Stockholm, Sweden

Referencing objects across pages and workfiles

Postby paues » Wed Dec 05, 2012 9:37 am

It would be great if the EViews formula language allow the user to reference object from other pages and workfiles. My suggestion would be to use the same syntax as in the copy command, whereby the following code would work.

Code: Select all

wfcreate(wf=wf1,page=page1) a 2000 2010 series ser1=1 wfcreate(wf=wf2,page=page2) a 2000 2010 series ser2=1 wfcreate a 2000 2010 series ser3=3*wf1::page1\ser1/wf1::page2\ser2
And would yield the same result as this code:

Code: Select all

wfcreate(wf=wf1,page=page1) a 2000 2010 series ser1=1 wfcreate(wf=wf2,page=page2) a 2000 2010 series ser2=1 wfcreate a 2000 2010 copy wf1::page1\ser1 copy wf1::page2\ser2 series ser3=3*ser1/ser2
I am aware that pages with differing frequencies might pose a problem. Some suggestions for how this could be solved would be by (1) always using the default conversion, (2) adding a conversion option to the series command that could contain a list of conversion methods associated with the series in the expression in the order that they appear or (3) only allowing the syntax in case the series had the same frequency as the selected page.

(I have refered to this out elsewhere (http://forums.eviews.com/viewtopic.php?f=5&t=5864), but it seemed a good idea to post it in its right place.)

Return to “Suggestions and Requests”

Who is online

Users browsing this forum: No registered users and 2 guests