| Rachel Straney |
The TABULATE procedure in SAS® can be used to summarize your data into clean and organized tables. This
procedure can calculate many of the descriptive statistics that the MEANS, FREQ, and REPORT procedures do, but with
the flexibility to display them in a customized tabulated format. At first, the syntax may seem difficult and overwhelming
but with practice and some basic examples you can go from zero to report ready in no time. This paper will discuss the
benefits of using PROC TABULATE and identify the kinds of reports that this procedure is best suited. An example will be
used to illustrate the syntax and statements needed to generate a complex table. The table will include multiple
classification variables as well as more than one numeric variable for several computed statistics. Readers will learn the
functions of the CLASS, VAR and TABLE statements and how to include subtotals and totals with the keyword ALL. To
make the finished table ‘report ready,’ examples of how to apply formats, labels and styles will also be shared. |