Another way to control the format of crosstabulations is to limit the output of the FREQ procedure to a few specific statistics. Remember that when crosstabulations are run, PROC FREQ produces tables with cells that contain:
You can use options to suppress any of these statistics. To control the depth of crosstabulation results, add any combination of the following options to the TABLES statement:
Suppose you want to use only the percentages of proc format; value wtfmt low-139='< 140' 140-180='140-180' 181-high='> 180'; run; proc freq data=clinic.diabetes; tables sex*weight / nofreq norow nocol; format weight wtfmt.; run; |
|
|
Notice that Percent is the only statistic that remains in the table's legend box. |