Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Date variable not working


From   Ghazal Zulfiqar <gmzulfiqar@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Date variable not working
Date   Mon, 17 Jun 2013 14:27:09 -0400

Hi Statalisters,
Please help! In my panel dataset I am using  date variables in %tq format from 2006q4 to 2012q4. I want to drop 2006q4 from my dataset now and I am typing: drop if date==date("2006q4", "YQ") and it just wont work! 

Appreciate any help you can provide.

Thanks,
Ghazal Zulfiqar
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index