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 hmigafr=sum(migreg1), by(n_menage)
drop migreg1