Tips: | You can use multiple CLASS statements.
Some CLASS statement options are also available in the PROC MEANS statement. They affect all CLASS variables. Options that you specify in a CLASS statement apply only to the variables in that CLASS statement. |
See: | For information about how the CLASS statement groups formatted values, see Formatted Values. |
Examples: | Computing Descriptive Statistics with Class Variables Using the BY Statement with Class Variables Using a CLASSDATA= Data Set with Class Variables Using Multilabel Value Formats with Class Variables Using Preloaded Formats with Class Variables Computing a Confidence Limit for the Mean Computing Different Output Statistics for Several Variables Computing Output Statistics with Missing Class Variable Values Identifying an Extreme Value with the Output Statistics Identifying the Top Three Extreme Values with the Output Statistics |
If you specify the ORDER=FORMATTED option, then PROC MEANS ignores the GROUPINTERNAL option and uses the formatted values.
Computing Output Statistics with Missing Class Variable Values
Using MLF with ORDER=FREQ might not produce the order that you expect for the formatted values. You might not get the expected results when you used MLF with CLASSDATA and EXCLUSIVE because MLF processing requires that each TYPE be computed independently. Types other than NWAY might contain more levels than expected.
Use the ASCENDING option to order values by ascending frequency count.
To include all ranges and values of the user-defined formats in the output, even when the frequency is zero, use COMPLETETYPES in the PROC statement.