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

st: Dropping observations

From   Ermias Ogbai Weldemicael <>
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'


Ermias O. Weldemicael
PhD student
University of Melbourne

*   For searches and help try:

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