Usage Note 58340: The naming of some percentage statistics in the output data set created by PROC TABULATE has changed
If a percentage statistic is requested for an analysis variable with PROC TABULATE, the original variable name is appended as a suffix to the associated output data set variable name beginning in the third maintenance release of SAS® 9.4 (TS1M3).
To illustrate the change, use the following sample code:
proc tabulate data=sashelp.class out=out;
class sex;
var age height;
table sex, height*colpctsum age*pctsum<height>;
run;
proc print data=out;
run;
In SAS® 9.3, the variable names are:
Height_PctSum_0
Age_PctSum_1
In SAS 9.4, the variable names are:
Height_PctSum_0_Height
Age_PctSum_1_Height
This change is to prevent different denominator crossings from resolving to the same data set variable, which can result in incorrect data.
If the percentage statistic name in the output data set can exceed 32 characters, then the name becomes Pctn<n> or Pctsum<n>. This is also documented in Usage Note 45710, "Naming convention for statistics in an output data set created by PROC TABULATE."
Operating System and Release Information
SAS System | Base SAS | 64-bit Enabled Solaris | 9.4 TS1M3 | |
64-bit Enabled AIX | 9.4 TS1M3 | |
Windows 7 Ultimate x64 | 9.4 TS1M3 | |
Windows 7 Ultimate 32 bit | 9.4 TS1M3 | |
Windows 7 Professional x64 | 9.4 TS1M3 | |
Windows 7 Professional 32 bit | 9.4 TS1M3 | |
Windows 7 Home Premium x64 | 9.4 TS1M3 | |
Windows 7 Home Premium 32 bit | 9.4 TS1M3 | |
Windows 7 Enterprise x64 | 9.4 TS1M3 | |
Windows 7 Enterprise 32 bit | 9.4 TS1M3 | |
Microsoft Windows Server 2012 Std | 9.4 TS1M3 | |
Microsoft Windows Server 2012 R2 Std | 9.4 TS1M3 | |
Microsoft Windows Server 2012 R2 Datacenter | 9.4 TS1M3 | |
Microsoft Windows Server 2012 Datacenter | 9.4 TS1M3 | |
Microsoft Windows Server 2008 for x64 | 9.4 TS1M3 | |
Microsoft Windows Server 2008 R2 | 9.4 TS1M3 | |
Microsoft Windows Server 2008 | 9.4 TS1M3 | |
Microsoft Windows 10 | 9.4 TS1M3 | |
Microsoft Windows 8.1 Pro x64 | 9.4 TS1M3 | |
Microsoft Windows 8.1 Pro 32-bit | 9.4 TS1M3 | |
Microsoft Windows 8.1 Enterprise x64 | 9.4 TS1M3 | |
Microsoft Windows 8.1 Enterprise 32-bit | 9.4 TS1M3 | |
Microsoft Windows 8 Pro x64 | 9.4 TS1M3 | |
Microsoft Windows 8 Pro 32-bit | 9.4 TS1M3 | |
Microsoft Windows 8 Enterprise x64 | 9.4 TS1M3 | |
Microsoft Windows 8 Enterprise 32-bit | 9.4 TS1M3 | |
Microsoft® Windows® for x64 | 9.4 TS1M3 | |
z/OS 64-bit | 9.4 TS1M3 | |
z/OS | 9.4 TS1M3 | |
HP-UX IPF | 9.4 TS1M3 | |
Linux for x64 | 9.4 TS1M3 | |
Solaris for x64 | 9.4 TS1M3 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Date Modified: | 2016-06-17 14:20:43 |
Date Created: | 2016-06-06 13:28:32 |