Page 1 of 1

Problem in translating a year-week string into a date series

Posted: Thu May 20, 2021 6:02 am
by mamo
Dear Eviews team,

I use Eviews 12 March 2021 built.

I am wondering why the program code below does not provide the expected result in the series "date" (rather, gives -1 for the series date).

Best,
mamo

Code: Select all

wfcreate u 52 alpha yw="2021-"+@str(@trend+1, "i02") series date=@dateval(yw, "yyyy-ww") show date

Re: Problem in translating a year-week string into a date series

Posted: Thu May 20, 2021 7:15 am
by EViews Gareth
EViews does not use week numbers as a valid date format.