I have the following data:
I would like to drop the groups from my dataset which have only one observation, i.e. in this case groups 1,2,3,4,5,6,8 and so on.
Would you have any idea on how I could code this?
Thank you very much in advance for your suggestions!
Best,
Max
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input matcheducage 1 2 3 4 5 6 7 7 7 7 7 8 9 9 10 11 12 12 13 14 end
Would you have any idea on how I could code this?
Thank you very much in advance for your suggestions!
Best,
Max
Comment