I use Eviews 11 Sept 19 built 54 bit.
There seems to be a bug when converting weekly date strings to a date value in weekly frequency, as "@dateval(yearweek, "YYYY:WW") provides NA for appropriately defined data.
In contrast, as the example code below shows, the corresponding approaches for monthly, quarterly, or semiannual frequencies work as expected.
So what is wrong with the weekly frequency?
Best mamo
I have detected the following bug (see also example code below)
Code: Select all
wfcreate(page=weekly) w 2000:01 2002:52
alpha yearweek=@strdate("YYYY:WW")
series yw=@dateval(yearweek, "YYYY:WW")
' Shows only NAs!
show yw
pagecreate(page=monthly) m 2000:01 2002:12
alpha yearmonth=@strdate("YYYY:MM")
series ym=@dateval(yearmonth, "YYYY:MM")
' Shows alpha series with the expected date string!
show ym
pagecreate(page=quarterly) q 2000:01 2002:04
alpha yearquarter=@strdate("YYYY:Q")
series yq=@dateval(yearquarter, "YYYY:Q")
' Shows alpha series with the expected date string!
show yq
pagecreate(page=semian) s 2000:01 2002:02
alpha yearsemian=@strdate("YYYY:S")
series ys=@dateval(yearsemian, "YYYY:s")
' Shows alpha series with the expected date string!
show ys