Example 6: Using Preloaded Formats with Class Variables
Features:PROC MEANS statement options
COMPLETETYPES
FW=
MISSING
NONOBS
CLASS statement options
EXCLUSIVE
ORDER=
PRELOADFMT
WAYS statement
Other features:FORMAT procedure
FORMAT statement
Data set:CAKE
Details
This example does the following:
•specifies the field width of the statistics
•suppresses the column with the total number of observations
•includes all possible combinations of class variables values in the analysis even if the
frequency is zero
•considers missing values as valid class levels
•analyzes the one-way and two-way combinations of class variables
•assigns user-defined formats to the ...
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.