Statalist


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

RE: st: RE: RE: data management - changing every 1st encountered of a str data content of a var


From   "b. water" <[email protected]>
To   <[email protected]>
Subject   RE: st: RE: RE: data management - changing every 1st encountered of a str data content of a var
Date   Tue, 6 Jan 2009 22:17:55 +0000

dear all,
 
thank you for your suggestions:
 
david - you were right on the mark. i have sorted the data according to date, time of surgery. luckily it is not more complicated than diathermy[2] and diathermy[2]. for the others (i.e. monopolar, bipolar occurences) thankfully there are no monopolar2 or bipolar2.
 
ashim, roy - your suggestions, which were similar, are what i was looking for - i have gone through the data, everytime the the first diathermy[2] occurred, it has been replaced by diathermy[1] leaving the second occurence as diathermy[2] when i used your suggestions.
 
nick - i think my possible rather emphatic intonation of "every first occurences" statement had misled you, hence the your referral to "How can I identify first and last occurrences systematically in panel data?" on http://www.stata.com/support/faqs/data/firstoccur.html, which was not the solution that i wanted.
 
regards,
bw
 
 
_________________________________________________________________
It’s the same Hotmail®. If by “same” you mean up to 70% faster.
http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_broad1_122008
*
*   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