Statalist


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

st: Dropping observations


From   Ermias Ogbai Weldemicael <[email protected]>
To   [email protected]
Subject   st: Dropping observations
Date   Thu, 17 Sep 2009 22:48:19 +1000 (EST)

Dear Stata users,

I am trying to drop observation from one variable. The variable contains
four digit values (e.g. 0011 8944 4500 3512..). Is it possible to drop an
observation by if condition of the first digit..or first two digits. Like
'drop if value starts with 00'

Thanks,

Ermias O. Weldemicael
PhD student
University of Melbourne



*
*   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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index