4.1.3 Frequency tables using percentages
The tabulate
-command can also be used to show frequency distributions through percentages. This is done through the following options:
-
rowpct
: row percentages (share of row total) -
colpct
: column percentages (share of column total) -
cellpct
: cell percentages (share of total summed over all inner cells) -
freq
: frequency values (default, only used in combination with percentage presentations)
More options can be combined in the same command expression, e.g. to show both frequencies and row percentages in the same table (see example #4 below).
Examples: