Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: Date variable not working


From   Ghazal Zulfiqar <[email protected]>
To   [email protected]
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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index