Page 1 of 1

Creating a YTD monthly series

Posted: Sun Sep 30, 2012 5:47 am
by DBel2012
Hi,

I'm new to Eviews. I want to create a YTD montly series «Y» based on series «X». How do I do that?

Thanks!

Re: Creating a YTD monthly series

Posted: Mon Oct 01, 2012 7:37 am
by EViews Gareth
What frequency is X?

Re: Creating a YTD monthly series

Posted: Tue Oct 02, 2012 6:20 am
by DBel2012
Hi,

Problem finally solved, after finding tips from other posts.

For instance, one way of creating a monthly year-to-date series (y) for a monthly series (x), one can use the @recode function : y=@recode(@month=1,x,y(-1)+x)

If the series x is a quarterly series, then y=@recode(@quarter=1,x,y(-1)+x)

Hope this can help new Eviews users like me