Specify the table options. CLASSDATA= and EXCLUSIVE restrict the class level
combinations to those that are specified in the CLASSES data set.
proc tabulate data=energy format=dollar12.
classdata=classes exclusive;
Specify subgroups for the analysis. The CLASS statement separates the analysis by
values of Region, Division, and Type.
class region division type;
Specify the analysis variable. The VAR statement specifies that PROC TABULATE
calculate statistics on the Expenditures variable.
var expenditures;
Define the table rows and columns. The TABLE statement creates a row for each
formatted value of Region. Nested within each ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.