Interpolation

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt

javiersan
Posts: 184
Joined: Mon Jan 19, 2009 8:18 am

Interpolation

Postby javiersan » Tue Jul 20, 2010 3:57 am

Hi,

Say I have a series like:

series cc=a/b

there are gaps in cc and I want to fill them through linear interpolation so I do

cc.ipolate f

now f has the full series but it has lost the "remarks" for cc which were "a/b" and has now "cc.ipolate f". Is there a way of keeping the history of the transformations to the cc series?

If I do

cc.ipolate cc

Eviews does not like it.

Any suggestions?

Thanks,

Javier

fmgoto
Posts: 76
Joined: Thu Jan 15, 2009 5:01 am
Location: Brasilia, Brazil

Re: Interpolation

Postby fmgoto » Tue Jul 20, 2010 5:34 am

Why dont you work with different series? Try calling them "cc_1"!

javiersan
Posts: 184
Joined: Mon Jan 19, 2009 8:18 am

Re: Interpolation

Postby javiersan » Tue Jul 20, 2010 6:24 am

Because I want to keep the history of the transformations of the series.

Regards,

Javier

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13307
Joined: Tue Sep 16, 2008 5:38 pm

Re: Interpolation

Postby EViews Gareth » Tue Jul 20, 2010 6:59 am

Do the interpolation into a new series, then copy the remarks across by setting the new series\' remarks equal to the old one\'s. I\'m on my phone, so can\'t check the exact syntax, but something along the lines of:

Code: Select all

%desc = cc.@description
f.label(d) {%desc}
Follow us on Twitter @IHSEViews

javiersan
Posts: 184
Joined: Mon Jan 19, 2009 8:18 am

Re: Interpolation

Postby javiersan » Tue Jul 20, 2010 8:17 am

Thanks Gareth.


Return to “Programming”

Who is online

Users browsing this forum: Majestic-12 [Bot] and 26 guests