Frank de Libero replied to Chris Wallace
>> * Does this do what you want?
>>
>> drop if Time > Event_Time
>>
> Since Rajiv wants to suppress data by person, the following
> should be used:
>
> bysort Person: drop if Time > Event_Time
Not so. The -bysort Person:- does no harm, but it's superfluous.
Forget panels, and imagine
. bysort foreign : drop if mpg > 35
Whether a car is -foreign- is immaterial to whether
-mpg- is more than 35. Similarly which -Person- we
are looking at is immaterial to the -drop-.
Nick
[email protected]
*
* 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/