To answer this question, we will need information about occupation and about whether the person has recently moved (or migrated.) We have previously used the variable k_occ_c for occupation. To find variables about migrants, we use lookfor move (which produced nothing) and then lookfor migrate which gives us the variable migrate.
By looking in the survey, we see that when migrate equals 1, the person have migrated in the last five years while when migrate equals 2, the person has not migrated.
We can examine the distribution of occupations for the two groups by using:
tab k_occ_c if migrate == 1
3a:code:occ |
upation | Freq. Percent Cum.
------------+-----------------------------------
01-profe | 18 24.32 24.32
02-manag | 7 9.46 33.78
03-cleri | 5 6.76 40.54
04-trans | 4 5.41 45.95
05-servi | 11 14.86 60.81
06-farmi | 2 2.70 63.51
07-artis | 4 5.41 68.92
08-produ | 2 2.70 71.62
09-opera | 4 5.41 77.03
10-labou | 17 22.97 100.00
------------+-----------------------------------
Total | 74 100.00
tab k_occ_c if migrate == 2
3a:code:occ |
upation | Freq. Percent Cum.
------------+-----------------------------------
-4 | 1 0.18 0.18
01-profe | 67 12.20 12.39
02-manag | 24 4.37 16.76
03-cleri | 54 9.84 26.59
04-trans | 35 6.38 32.97
05-servi | 84 15.30 48.27
06-farmi | 29 5.28 53.55
07-artis | 35 6.38 59.93
08-produ | 14 2.55 62.48
09-opera | 53 9.65 72.13
10-labou | 152 27.69 99.82
11-other | 1 0.18 100.00
------------+-----------------------------------
Total | 549 100.00
We see that 24.3 percent of recent migrants identify as professionals while 12.2 percent on non-migrants do so. Careful inspection of the two tables shows which occupations have the fewest (and most) migrants as a share of total respondents.