Page 1 of 1

Strange sample setting behaviour in an undatead paneel workfile

Posted: Mon Sep 28, 2020 2:20 am
by mamo
Dear Eviewers,

I use Eviews 11 Sept 2019 built 64 bit.

I detected some strange results when trying to set constrained samples in an undated panel page (details in the code below).
Is this a bug?
Best, mamo

Code: Select all

wfcreate a 2000 2010 2 pagestruct dateid crossid ' The following line works as expected smpl @all if crossid=1 '' Unexpectedly, the following line '' gives the warning message: '' "Sample contains no observations" '' Why is this so?' ' smpl @all if dateid=2009 '' The following line does not yield a warning '' But neither does it deliver the expected result: '' the page sample does not change ' smpl @all if dateid>2005 '' Why?

Re: Strange sample setting behaviour in an undatead paneel workfile

Posted: Mon Sep 28, 2020 7:44 am
by EViews Gareth
dateid is a date number, not a year number.

The year 2009 is actually the number 733407.

Re: Strange sample setting behaviour in an undatead paneel workfile

Posted: Mon Sep 28, 2020 11:07 pm
by mamo
All clear,
many thanks for the quick reply.
mamo