Dear all,
I have a four-wave panel data with an interval of two years. The variable of interest is work and what I want is to count the transition of working status across years. For example, year 1 has five working people and that is eight in year 2, so I want to know how many working people in year 1 who stop working in year 2 and how many people who do not work in year 1 but start working in year 2. I want to do similar things for year2-year3 and year3-year4. My understanding is that my data has a total of 26 working people in all years, so the working status transition across years should match the total of working people. Any help is much appreciated. Thank you.
Data
I have a four-wave panel data with an interval of two years. The variable of interest is work and what I want is to count the transition of working status across years. For example, year 1 has five working people and that is eight in year 2, so I want to know how many working people in year 1 who stop working in year 2 and how many people who do not work in year 1 but start working in year 2. I want to do similar things for year2-year3 and year3-year4. My understanding is that my data has a total of 26 working people in all years, so the working status transition across years should match the total of working people. Any help is much appreciated. Thank you.
Data
Code:
clear input int id float(year work) 1 3 1 1 5 1 1 7 0 5 1 1 5 3 0 5 5 1 5 7 0 15 1 1 15 3 0 15 5 0 15 7 1 16 1 0 16 3 1 16 5 0 16 7 1 19 1 0 19 3 1 19 5 0 19 7 0 22 1 0 22 3 1 22 5 0 25 1 0 25 5 1 25 7 0 27 1 0 27 3 1 27 5 1 27 7 0 36 1 0 43 1 0 43 3 0 43 5 0 43 7 1 45 1 0 45 3 1 45 5 1 45 7 0 47 1 1 47 3 1 47 5 1 47 7 1 48 1 0 48 3 1 51 1 1 51 3 0 51 5 1 51 7 1 55 1 0 55 3 0 60 5 0 60 7 0 63 1 0 63 3 0 63 5 0 63 7 0 71 1 0 71 3 0 71 5 0 71 7 0 73 1 0 73 3 0 73 5 0 79 1 0 79 3 0 79 5 0 79 7 0 83 1 0 83 3 0 83 5 0 83 7 0 89 1 0 89 3 0 89 5 0 89 7 0 107 1 0 107 3 0 107 5 0 107 7 0 108 1 0 108 3 0 108 5 0 108 7 0 109 1 0 109 3 0 111 1 0 111 3 0 112 1 0 112 3 0 112 5 0 113 1 0 113 3 0 113 5 0 113 7 0 117 1 1 117 3 0 117 5 1 117 7 0 131 1 0 131 3 0 end

Comment