Reading of date format
Posted: Thu Sep 30, 2010 9:13 am
This is a similar question to that of http://forums.eviews.com/viewtopic.php?f=5&t=3085
I have a file with a numeric series contaning the following:
series03: a series with dates in the format yyyyqq and yyyy
series02: an alpha with either Q or FY
I use the following command to read the quarterly part:
wfopen jpn_fof.csv @selectif series02="Q"
but Eviews interpretes it as of monthly frequency such as 1997m01, m02, m03, m04, 1998m01, m02, m03...
I have tried to open the file and create a new series from where I could restructure the file:
wfopen jpn_fof.csv @selectif series02="Q" @genr mydates=@series(@str(series03),4)+"q"+@right(@str(series03),2)
but this doesn't work as @genr appears to accept only "series", not "alphas".
Can you please suggest a solution?
Many thanks,
Javier
I have a file with a numeric series contaning the following:
series03: a series with dates in the format yyyyqq and yyyy
series02: an alpha with either Q or FY
I use the following command to read the quarterly part:
wfopen jpn_fof.csv @selectif series02="Q"
but Eviews interpretes it as of monthly frequency such as 1997m01, m02, m03, m04, 1998m01, m02, m03...
I have tried to open the file and create a new series from where I could restructure the file:
wfopen jpn_fof.csv @selectif series02="Q" @genr mydates=@series(@str(series03),4)+"q"+@right(@str(series03),2)
but this doesn't work as @genr appears to accept only "series", not "alphas".
Can you please suggest a solution?
Many thanks,
Javier