SAS Note 001429

From: tsdlist@UNX.SAS.COM
Date: Mon Dec 20 1999 - 10:09:14 EST


>>>>>>>> SAS Notes -- Copyright (c) 1991 - 1999 by SAS Institute Inc. <<<<<<<<

SAS Note: 001429 ***ALERT NOTE*** Product: STAT

Title: Incorrect results when a stratum contains all missing values

Keywords:
INCORRSTAT INCORROUT ALL MISSING VALUES STRATA STRATUM MIN MAX RANGE DF
PR>|T| CLM CLSUM

When the MISSING option is omitted from the PROC SURVEYMEANS statement
and a STRATA statement is specified, if a categorical analysis variable
contains all missing values in one or more strata then the MIN, MAX,
RANGE, DF, PR|T|, CLM and CLSUM will be incorrect.

These same results will be incorrect when a continuous analysis variable
contains all missing values in one or more strata, even when the MISSING
option is specified.

Note that all other results are correct for either type of analysis
variable and with or without the MISSING option.

To circumvent this problem, run the variable by itself omitting any
strata with all missing values or merge these observations into any
non-empty stratum. Note that if the all-missing strata are deleted then
those observations will not be included in NMISS. If the all-missing
strata are merged into another strata then those observations will be
included in NMISS. In either case, the all-missing strata will not be
included in the total number of strata.

Reported Releases:
+------------REPORTED------------+ +------FIXED-----+
System Version Level Version Level

AIX/R 7 P1
AIX/R 8 M0
CMS 7 P1
CMS 8 M0
DigitUnx 7 P1
DigitUnx 8 M0
HP800 7 P1
HP800 8 M0
IABI 8 M0
MIPS ABI 8 M0
MVS 7 P1
MVS 8 M0
OS/2 7 P1
OS/2 8 M0
Solaris 7 P1
Solaris 8 M0
VMS 7 P1
VMS 8 M0
VMS/AXP 7 P1
VMS/AXP 8 M0
WIN/NT 7 P1
WIN/NT 8 M0
Win95 7 P1
Win95 8 M0
Win98 7 P1
Win98 8 M0



This archive was generated by hypermail 2b29 : Mon Jan 10 2000 - 10:10:21 EST