Dear all,

I have a unbalanced Panel data set with approx. 10000 panel persons and 3 observation periods.
How can I calculate how many panel persons changed from 0 to 1 respectively 0 to 1 in a particular dummy variable during the observation period ?


For example: 0 = single; 1= being in a relationship

How many …?
=> ...persons stayed single
=> ...persons stayed in a relationship
=> ...persons changed status from single to relationship
=> ...persons changed status from relationship to single
=> ...persons changed their status twice


Thanks a lot for your help!


Kind regards,
Lena