Extending a series

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason

Riaz
Posts: 33
Joined: Wed Jul 01, 2009 1:46 am
Location: Western Australia

Extending a series

Postby Riaz » Thu May 20, 2010 1:53 am

Hi
I want to extend a quarterly data series called Y which is currently from 1985q3 to 2009q2, by 2 observations: 2009q3 and 2009q4; on its average growth rate (dlog) of the last 3 periods.
Cheers, Riaz

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

Re: Extending a series

Postby EViews Gareth » Thu May 20, 2010 7:52 am

Code: Select all

smpl 2008q4 2009q2 scalar growth = @mean(dlog(y)) smpl 2009q3 2009q4 y = (1+growth)*y(-1)
Something like that should do it.

Riaz
Posts: 33
Joined: Wed Jul 01, 2009 1:46 am
Location: Western Australia

Re: Extending a series

Postby Riaz » Thu May 20, 2010 9:09 pm

Thanks


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests