Usage Note 532: Availability of ID variables in OUT= data set of PROC UNIVARIATE
Beginning with SAS 7, when both the ID and OUTPUT statements are
specified in PROC UNIVARIATE, the ID variables will no longer appear in
the output data set.
Prior to SAS 7, the values of the ID variables were placed in the
OUT= data set. The values of the ID variables were taken from either the
first observation in the data set or, if a BY statement was used, from
the first observation in the current BY group. Since it can be
misleading to label summary statistics with a single value of another
variable, this change was made to improve the integrity of the output
data set.
Beginning with SAS 9.1, the IDOUT option in the PROC UNIVARIATE statement
will duplicate this default result from releases prior to SAS 7.
If a variable or set of variables are constant for the entire data set
or within each BY group, then it is reasonable to use them as ID
values. In this case, specify the ID variable(s) in a BY statement to
produce the same result in the OUT= data set in SAS 7 through
SAS 9.0.
Operating System and Release Information
| SAS System | Base SAS | Microsoft Windows 95/98 | 8 TS M0 | |
| OpenVMS VAX | 8 TS M0 | |
| Solaris | 8 TS M0 | |
| HP-UX | 8 TS M0 | |
| z/OS | 8 TS M0 | |
| 64-bit Enabled Solaris | 8 TS M0 | |
| OS/2 | 8 TS M0 | |
| CMS | 8 TS M0 | |
| 64-bit Enabled AIX | 8 TS M0 | |
| 64-bit Enabled HP-UX | 8 TS M0 | |
| Microsoft Windows NT Workstation | 8 TS M0 | |
| OpenVMS Alpha | 8 TS M0 | |
| Tru64 UNIX | 8 TS M0 | |
| AIX | 8 TS M0 | |
*
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.
| Type: | Usage Note |
| Priority: | |
| Topic: | Analytics ==> Distribution Analysis SAS Reference ==> Procedures ==> UNIVARIATE Analytics ==> Nonparametric Analysis Analytics ==> Descriptive Statistics
|
| Date Modified: | 2008-01-29 09:42:38 |
| Date Created: | 1999-04-02 00:00:00 |