Dear all,
I have a dataset with repeated values for variable id, say, id =[1 1 1 2 2 3 4 4 5 5 5] and for each observation a variable year that may be different for observations with the same id. Now I want to drop all observations with a certain value for id if one them has year<10. Can anyone help me out?
Best,
Marco
I have a dataset with repeated values for variable id, say, id =[1 1 1 2 2 3 4 4 5 5 5] and for each observation a variable year that may be different for observations with the same id. Now I want to drop all observations with a certain value for id if one them has year<10. Can anyone help me out?
Best,
Marco
Comment