Page 1 of 1

Multiplying series from different pages/tabs

Posted: Tue Feb 18, 2014 7:11 am
by Overtime
Hey all,

I've got a quick question. I've been through the user manuals but haven't found an answer
to my simple problem.

Basically, I want to multiply a series in my active workfile with another series in a different
page/tab from my workfile. What is the best way of doing this without copying the series to
the active page?

Thanks

Re: Multiplying series from different pages/tabs

Posted: Tue Feb 18, 2014 9:35 am
by EViews Gareth

Code: Select all

series a = page2\b * e

Re: Multiplying series from different pages/tabs

Posted: Tue Feb 18, 2014 9:52 am
by Overtime
thanks, but any reason why that wouldn't work? I get an error message effectively saying:

page2\b is not defined in "series a = page2\b * e"

I've checked the syntax, the page name, the series I'm referring and am pretty sure it is correct...

Also, I've been having a hard time saving a series to an excel file. I've tried using something like
"a.write(t=xls) path" but that doesn't seem to work (i've figured out how to save graphs and tables tho!).
I know these are basic questions, but I only started using e-views a couple of days ago! I've got all the
books but it's not entirely clear where to find what you are looking for sometimes!

Re: Multiplying series from different pages/tabs

Posted: Tue Feb 18, 2014 10:07 am
by EViews Gareth
Which version of EViews?

Re: Multiplying series from different pages/tabs

Posted: Tue Feb 18, 2014 1:49 pm
by Overtime
e-views 7

Re: Multiplying series from different pages/tabs

Posted: Tue Feb 18, 2014 1:49 pm
by EViews Gareth
Can't be done in 7.

Re: Multiplying series from different pages/tabs

Posted: Wed Feb 19, 2014 12:56 am
by Overtime
That seems somewhat deficient!

I'm actually using e-views 7.1. Is there an add-on I can install to give
e-views 7.1 this functionality?

[Edit: I'm assuming you are referring to the page functionality, what about saving a series to an excel file in e-views 7?
Can you post the syntax for that? Thx]

Re: Multiplying series from different pages/tabs

Posted: Wed Feb 19, 2014 12:59 am
by EViews Gareth
Nope.

Re: Multiplying series from different pages/tabs

Posted: Wed Feb 19, 2014 1:12 am
by Overtime
OK - well, that sucks.

Going to have to rethink the structure of the code I want to write.

Did you see my edit on the above post?

Re: Multiplying series from different pages/tabs

Posted: Wed Feb 19, 2014 7:24 am
by EViews Gareth
Use wfsave

Re: Multiplying series from different pages/tabs

Posted: Thu Feb 20, 2014 1:46 am
by Overtime
ah ok. I saw wfsave when looking through the command reference manual but didn't realise it
could save in other formats besides .prg

thanks for the help Gareth.