Sample starting from last non-missing observation
Posted: Mon Mar 28, 2011 9:37 am
I have a dated, quaterly workfile. I want to use the "smpl" command to make my sample start at the last non-missing observation of a variable x.
Using @ilast(x) gives me the observation ID, rather than the date of the observation. Typing "smpl @ilast(x) @end" therefore yields an "illegal date" error message.
Is there a simple way to tell eviews to begin the sample at the last known value of variable x?
Using @ilast(x) gives me the observation ID, rather than the date of the observation. Typing "smpl @ilast(x) @end" therefore yields an "illegal date" error message.
Is there a simple way to tell eviews to begin the sample at the last known value of variable x?