Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: data suppression in Stata


From   "Chris Wallace" <Chris.Wallace@lshtm.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   Re: st: data suppression in Stata
Date   Mon, 02 Sep 2002 14:47:43 +0100

>>> rajiv.sinha@asu.edu 31/08/02 18:52:16 >>>
I need to suppress these data as follows:  since the event occured for
person 1 at time 2 I want to drop all data pertaining to him for period 3
and keep data only for period 1 and 2.  Similarly for person 2, since the
event occured at time 1, I want to drop all data after this point and keep
data only for period 1. 


* Does this do what you want?

drop if Time > Event_Time

C.


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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