Knowledge and Data Management White Papers
What Happened to My Data?: Understanding How Results Are Affected When Formatting Is Applied to Classification Variables
Overview Classification variables are used to group observations that have the same values. In the REPORT procedure, ORDER, GROUP, and ACROSS variables are classification variables. In the TABULATE, SUMMARY, and MEANS procedures, a CLASS variable is a classification variable. Because the classification process groups individual values, when a formatted value is used for classification the results might be unexpected. This paper explains how classification variable values are handled when a FORMAT statement or FORMAT option is applied. Topics include grouping observations with one classification variable and with multiple classification variables. The supporting examples focus on Base SAS reporting procedures, PROC REPORT, PROC TABULATE, PROC SUMMARY, and PROC MEANS.
| Publisher | SAS Institute | File Format | |
|---|---|---|---|
| Date Published | July 2007 | ||
| Format | White Papers | ||
| Topics | |||



