Hello Floks, I am using a panel data (8 yeras, 2012-2020) where the variabler employment (yes=1, No=0) denotes whether a respondent was employed in a specific survey year. I wish to see how many times there were changes in employment i.e. from no to yes or vice versa for each individual.
Could you please help me with how create such a variable say "transition" that counts total changes for the entire timeframe. Many thanks in advance
Could you please help me with how create such a variable say "transition" that counts total changes for the entire timeframe. Many thanks in advance

Comment