In PROC SURVEYMEANS, when STRATA and DOMAIN statements are specified and there is more than one stratum, if there are missing values for a continuous analysis variable, then the variance estimation for the mean and related statistics will be incorrect in the Domain Analysis results for the domain(s) that have missing values. The incorrect results for the affected domain(s) include the standard error and variance of the mean, the confidence limits for the mean, the t statistic and its p-value, and the coefficient of variation.
To circumvent this problem, use the %SMSUB macro.
or you may contact Technical Support to obtain a copy of the macro.
We also have a fix available that can be applied to PROC SURVEYMEANS in Release 8.1 running on a Windows operating system. To obtain the fix, contact SAS Technical Support at (919) 677-8008 or via our web site at SAS Technical Support | SAS Support