I have MORG data where I am interested to see the percentage of Blacks across regions in the US (I am using 1979-2004 cross sections that I merged together into one dataset). The categorical variable (byte) for region is called 'region' and contains 9 US regions (numbered 1 to 9). I also have a variable for race, containing 21 different races. I am only interested in the percentage of Blacks in the sample, race == 2.
I tried using the command:
tab region race, row
but have too many values. Do I need to construct some kind of formula to obtain the percentages? What command can I use?
I tried using the command:
tab region race, row
but have too many values. Do I need to construct some kind of formula to obtain the percentages? What command can I use?
Comment