Hello everyone,
I am quite new to stata so please forgive me if this is a silly question
I have used the tab command to create a table which looks something like this
which gives me a table that looks like this
and so on....
I was wondering if there is a way to graph this on a cumulative frequency plot where I can see which industry codes are in the top and bottom quartiles? As in Industry Letter on X axis and the cumulative frequency on Y.
The codes I try to use tell me that because industry codes are string they cannot be used.
Any help is appreciated!!
I am quite new to stata so please forgive me if this is a silly question
I have used the tab command to create a table which looks something like this
Code:
tab industrycode if dummyvariable==1, sort
Code:
Industry | Freq. Percent Cum. ------------+----------------------------------- A | 294 31.99 31.99 D | 90 9.79 41.78 Z | 67 7.29 49.08 Q | 63 6.86 55.93 P | 55 5.98 61.92 C | 51 5.55 67.46 N | 50 5.44 72.91 G | 40 4.35 77.26
I was wondering if there is a way to graph this on a cumulative frequency plot where I can see which industry codes are in the top and bottom quartiles? As in Industry Letter on X axis and the cumulative frequency on Y.
The codes I try to use tell me that because industry codes are string they cannot be used.
Any help is appreciated!!
Comment