I have multiple observations for individuals. My data is long. I have a columns for whether the event occurred during that observation (1 = yes and 0= No). I would now like to know how to generate a new variable to describe if the event EVER occurred (Yes) or NEVER occurred (No). Can anyone tell me how to do this. I've tried watching some stata youtube videos on panel data but I still can not solve this problem. Below is an example of my data (it is unbalanced). Sorry if my question is basic and simple - I'm new to Stata. Many thanks in advance.
ID Age Event
1 34 0
1 39 1
1 42 0
2 35 0
2 40 0
2 50 0
3 55 1
3 56 0
3 57 1