Page 1 of 1
Importing: not in default mode
Posted: Wed Jan 09, 2013 11:55 am
by 88fr.leo
Good evening, I need to import a serie in %change mode, not in default mode. Then, eviews can calculate an index by itself, is that possible?
Thx
Re: Importing: not in default mode
Posted: Wed Jan 09, 2013 12:00 pm
by EViews Gareth
You'll need a value for the first year, but assuming you have that, just import the %change series, then calculate a new series off of it (here I'm seeding the X series at a value of 100, and assuming XCHANGE is the name of the %change series)
Code: Select all
smpl @first @first
series x = 100
smpl @first+1 @last
x = x(-1)*(1+xchange)
Re: Importing: not in default mode
Posted: Wed Jan 09, 2013 1:51 pm
by gio.ortolani
what about the % change signaled in the link below? is that possible to import series in that mode?
https://www.dropbox.com/s/oqilo5ua1euemvq/pch.png
Re: Importing: not in default mode
Posted: Wed Jan 09, 2013 1:58 pm
by EViews Gareth
Same thing.
Re: Importing: not in default mode
Posted: Thu Jan 10, 2013 4:11 am
by gio.ortolani
my range starts in 1980, but my Excel starts in 2012. i would like to maintain unaltered the sample from 1980 to 2011 that already exists in EViews and import only from 2012 to EViews. if I write @pch(series) in the code, it will be useless? i'm afraid that, in my case, the code you wrote won't help me.
Re: Importing: not in default mode
Posted: Thu Jan 10, 2013 9:12 am
by EViews Gareth
Start the sample at the period you want to adjust then, rather than the first period in the workfile.