Africans make up the largest proportion of urban residents, as the account for over 55% of all urban residents. One possible approach to obtain this answer is to use the tabulate command with a qualifier. By entering the following into STATA:
tab race if rural == 0
This command produces the following table in STATA,
19 |
:population |
group | Freq. Percent Cum.
------------+-----------------------------------
01-afric | 1128 55.24 55.24
02-colou | 388 19.00 74.24
03-india | 119 5.83 80.07
04-white | 407 19.93 100.00
------------+-----------------------------------
Total | 2042 100.00
Using the tabulate command we produce a frequency distribution of the race
variable, although by adding a qualifier to this command we are able to restrict
the distribution to urban residents. From the table we can see that Africans
make up the largest percentage of the urban population.