Hi ,
In the example below i want to tell the data to keep all rows until my variable "uitbetaald" equals the value 1. So i want to drop all rows after this. It does not seem like a dificult problem but i cant find the answer.
Thanks in advance!
----------------------- copy starting from the next line -----------------------
------------------ copy up to and including the previous line ------------------
In the example below i want to tell the data to keep all rows until my variable "uitbetaald" equals the value 1. So i want to drop all rows after this. It does not seem like a dificult problem but i cant find the answer.
Thanks in advance!
----------------------- copy starting from the next line -----------------------
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input float(uitbetaald lastevent) 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 1 16 end
Comment