dear all,
stata 8.2 xp pro,
i have a var like this:
monopolar
bipolar
bipolar
bipolar
monopolar
nodiathrm
diathermy[2]
diathermy[2]
bipolar
monopolar
diathermy[2]
diathermy[2]
.
. <- denotes missing
.
monopolar
diathermy[2]
diathermy[2]
.
.
what i want to achieve is for every first encountered diathermy[2] to be changed to diathermy[1], while leaving the second occurence as diathermy[2]. is this possible in stata? if it can be done, would appreciate advice/help on how to achieve it.
thank you,
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/