I am trying to calculate teacher retention from year to year. I need to be able to figure out if a unique id is present in a consecutive year and if so, count that as teacher retention but if not count that as teacher turnover. I am able to figure out how to do this with 2 years of data but I am unable to figure out the code for multiple years of data (10 years). Would love any help I can get. I have not very proficient in Stata (a beginner) so please if you can suggest actual code that would be needed I would be very thankful.
-
Login or Register
- Log in with
Comment