I guess that you have a numeric variable showing daily dates and with a
specific date format. If so
drop if whatever < mdy(1,1,2000)
is one way to do it.
Nick
[email protected]
Diana Eastman
I have a variable called fourwk_ending that has the following format:
05DEC1998. I need to drop all the observations before 2000, i.e.
anything before 01JAN2000. Does anyone have any idea how to set up this
conditional?
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/