Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | ömer limanlı <omerlimanli@yahoo.com.tr> |
To | Stata <statalist@hsphsun2.harvard.edu> |
Subject | st: Dropping Observations |
Date | Mon, 31 Mar 2014 12:18:55 +0100 (BST) |
Hello. I need help about dropping observation. I have several variables and nearly 1350 obvervations. Some observations have negative (-) values, e.g. -1, -3, for some observation. How can I drop ALL observation who have any negative values for any variables? I tried "drop if", "keep if", for example, drop if siyasigorus < 0, but it did not work or i could not do properly. * * 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/