Notes
Variable calculated from the following variables:
- n_menage (Household number)
- pmig_region (Residence region of the current migrants)
Stata program:
sort n_menage
tab pmig_region, gen(migreg)
egen hmigeur=sum(migreg2), by(n_menage)
drop migreg2