Subject to status and availability in your area, Binary option skew and Conditions apply. Specify that the _TYPE_ variable contain character values. TYPE_ variable in the output data set is a character representation of the binary value of _TYPE_. The length of the variable equals the number of class variables.
When you specify more than 32 class variables, _TYPE_ automatically becomes a character variable. Their data type and format must match the corresponding class variables in the input data set. The PRELOADFMT option in the CLASS statement ensures that PROC MEANS writes all user-defined format ranges or values for the combinations of class variables to the output, even when a frequency is zero. Using COMPLETETYPES does not increase the memory requirements. Descending has no effect if you specify NWAY. By default, PROC MEANS treats observations with negative weights like observations with zero weights and counts them in the total number of observations. If PROC MEANS truncates column labels in the output, then increase the field width.
Specify PRINTIDVARS to display the value of the ID variables in the output. If you omit MISSING, then PROC MEANS excludes the observations with a missing class variable value from the analysis. This column corresponds to the _FREQ_ variable in the output data set. In operating environments where the overhead of FPE recovery is significant, NOTRAP can improve performance. Note that normal SAS FPE handling is still in effect so that PROC MEANS terminates in the case of math exceptions. When you specify class variables, NWAY corresponds to the combination of all class variables.
If you specify a TYPES statement or a WAYS statement, then PROC MEANS ignores this option. If you use PRELOADFMT in the CLASS statement, then the order for the values of each class variable matches the order that PROC FORMAT uses to store the values of the associated user-defined format. By default, PROC FORMAT stores a format definition in sorted order. Use the NOTSORTED option to store the values or ranges of a user defined format in the order that you define them. This order depends on your operating environment. For multiway combinations of the class variables, PROC MEANS determines the order of a class variable combination from the individual class variable frequencies.