Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Lisa Wang <lhwang0925@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | st: Drop Observations Satisfying List |
Date | Wed, 11 Sep 2013 10:54:14 +1000 |
Hi all, I have a column of dates in one dataset ("A") and my actual analysis in another dataset ("B"). I would like to drop all the observations in "B" which has a date found in dataset "A". There are about 750 or so dates in dataset "A". I am unsure how to do a drop if/ keep if when the condition could be a whole array of dates. Any suggestions would be great. Thanks in advance. Lisa * * 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/