Problem Note 3815: PROC MEANS/SUMMARY may generate incorrect weighted statistics with
multiple VAR statements
PROC MEANS/SUMMARY may generate incorrect weighted statistics when no
CLASS statement is specified and there are multiple VAR statements with
and without the WEIGHT= option. The order of the variables on the VAR
statement is significant. In order to encounter this problem, the
variables appearing on the VAR statements have to be interleaved based
on their relative position in the input data set. For example, if the
analysis variables are in the order X1-X4 in the input data set, with
the following statements you would encounter the problem:
VAR X1 X3 / WEIGHT=W;
VAR X2 X4;
Where as with:
VAR X1 X2 / WEIGHT=W;
VAR X3 X4;
you would not encounter the problem.
A Technical Support hot fix for Release 8.1 TSLEVEL TS1M0 for this
issue is available at:
http://www.sas.com/techsup/download/hotfix/81_sbcs_prod_list.html#003815
This problem is corrected in Release 8.2 TSLEVEL 2M0 and beyond.
Operating System and Release Information
| SAS System | Base SAS | Microsoft Windows 95/98 | 8.1 TS1M0 | 8.2 TS2M0 |
| Microsoft Windows 2000 Datacenter Server | 8.1 TS1M0 | 8.2 TS2M0 |
| Microsoft Windows 2000 Server | 8.1 TS1M0 | 8.2 TS2M0 |
| Microsoft Windows 2000 Professional | 8.1 TS1M0 | 8.2 TS2M0 |
| Solaris | 8.1 TS1M0 | 8.2 TS2M0 |
| OpenVMS VAX | 8.1 TS1M0 | 8.2 TS2M0 |
| Microsoft Windows 2000 Advanced Server | 8.1 TS1M0 | 8.2 TS2M0 |
| 64-bit Enabled Solaris | 8.1 TS1M0 | 8.2 TS2M0 |
| OS/2 | 8.1 TS1M0 | 8.2 TS2M0 |
| IRIX | 8.1 TS1M0 | 8.2 TS2M0 |
| z/OS | 8.1 TS1M0 | 8.2 TS2M0 |
| ABI+ for Intel Architecture | 8.1 TS1M0 | 8.2 TS2M0 |
| 64-bit Enabled HP-UX | 8.1 TS1M0 | 8.2 TS2M0 |
| OpenVMS Alpha | 8.1 TS1M0 | 8.2 TS2M0 |
| HP-UX | 8.1 TS1M0 | 8.2 TS2M0 |
| CMS | 8.1 TS1M0 | 8.2 TS2M0 |
| 64-bit Enabled AIX | 8.1 TS1M0 | 8.2 TS2M0 |
| Tru64 UNIX | 8.1 TS1M0 | 8.2 TS2M0 |
| AIX | 8.1 TS1M0 | 8.2 TS2M0 |
| Microsoft Windows NT Workstation | 8.1 TS1M0 | 8.2 TS2M0 |
*
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: | Problem Note |
| Priority: | alert |
| Date Modified: | 2002-05-08 15:31:38 |
| Date Created: | 2000-11-09 10:16:39 |