Code:
* Example generated by -dataex-. To install: ssc install dataex clear input int Grants long(year apptype_grp sex age) float european_union 4 1 1 0 1 0 19 1 1 0 2 0 2 1 1 1 1 0 33 1 1 1 2 0 2 1 1 1 3 0 1 1 1 0 1 0 11 1 1 0 2 0 3 1 1 0 3 0 6 1 1 1 1 0 19 1 1 1 2 0 4 1 1 1 3 0 1 1 1 0 1 0 3 1 1 0 2 0 3 1 1 1 1 0 6 1 1 1 2 0 1 1 1 1 3 0 1 1 1 0 1 0 19 1 1 0 1 0 26 1 1 0 2 0 4 1 1 1 1 0 25 1 1 1 2 0 2 1 1 1 3 0 7 1 1 0 1 0 11 1 1 0 2 0 2 1 1 1 1 0 5 1 1 1 2 0 1 1 1 1 3 0 2 1 1 0 1 0 5 1 1 0 2 0 4 1 1 1 1 0 8 1 1 1 2 0 1 1 1 1 3 0 2 1 1 0 1 0 3 1 1 0 2 0 2 1 1 1 1 0 1 1 1 1 2 0 1 1 1 0 2 0 1 1 1 1 2 0 1 1 1 1 2 0 1 1 1 0 1 0 1 1 1 1 2 0 3 1 1 0 1 0 3 1 1 0 2 0 1 1 1 0 3 0 4 1 1 1 2 0 1 1 1 1 3 0 2 1 1 0 1 0 4 1 1 0 2 0 3 1 1 1 2 0 1 1 1 0 1 0 6 1 1 0 2 0 1 1 1 1 1 0 8 1 1 1 2 0 1 1 1 1 2 0 4 1 1 0 1 0 3 1 1 0 2 0 1 1 1 1 1 0 2 1 1 1 2 0 1 1 1 1 3 0 6 1 1 0 1 0 10 1 1 0 2 0 3 1 1 1 2 0 1 1 1 1 3 0 2 1 1 0 2 0 3 1 1 0 1 0 10 1 1 0 2 0 1 1 1 1 1 0 11 1 1 1 2 0 17 1 1 0 1 0 73 1 1 0 2 0 5 1 1 0 3 0 9 1 1 1 1 0 51 1 1 1 2 0 13 1 1 1 3 0 2 1 1 1 2 0 3 1 1 0 2 0 2 1 1 1 1 0 3 1 1 1 2 0 26 1 1 0 1 0 60 1 1 0 2 0 6 1 1 0 3 0 11 1 1 1 1 0 39 1 1 1 2 0 20 1 1 1 3 0 4 1 1 1 4 0 3 1 1 0 2 0 1 1 1 0 1 0 2 1 1 0 2 0 1 1 1 1 1 0 1 1 1 1 2 0 1 1 1 1 3 0 5 1 1 0 1 0 3 1 1 0 2 0 5 1 1 1 2 0 1 1 1 1 3 0 8 1 1 0 1 0 32 1 1 0 2 0 9 1 1 0 3 0 1 1 1 1 1 0 17 1 1 1 2 0 end label values year year label def year 1 "2005", modify label values apptype_grp apptype_grp label def apptype_grp 1 "Naturalisation", modify label values sex gender label def gender 0 "Female", modify label def gender 1 "Male", modify label values age AGE label def AGE 1 "18-29", modify label def AGE 2 "30-49", modify label def AGE 3 "50-69", modify label def AGE 4 ">70", modify label values european_union EU label def EU 0 "non-EU", modify
0 Response to calculating proportions by groups
Post a Comment