SAS code: Warning [BE/BA News]

Dear Priyanka,

❝ ... But it is showing the following error ...

as the log states this is not an ERROR:, but a WARNING:. And this warning is nonsense in the context.
You request with the option ADJUST=T confidence intervals using the t-quantile without eventually necessary multiplicity adjustments.
But multiplicity adjustment is not necessary in comparing only two possible LSMeans. It would be eventually necessary if there are more than two. Proc GLM had could that figured out, but SAS in his great wisdom had decided nevertheless to throw a warning.
Note that this warning disappears if you omit the ADJUST=T option in the LSMeans statement. Doing so Proc GLM reverts to the default method for CI calculation: confidence intervals using the t-quantile without eventually necessary multiplicity adjustments, i.e. the same as with ADJUST=T, but without a warning. What a stroke of genius .

This annoying warningo-phylistic behaviour is notorious in SAS 9.2. You can observe it in numerous instances. Check if SAS does what you intend and forget the warnings if it does.

BTW: The WARNING: has nothing to do with the data set used. You will get it also with data set I.

Regards,

Detlew