![]() | ![]() | ![]() | ![]() | ![]() |
When the OBSMARGINS= or OM= option is specified in an LSMEANS, LSMESTIMATE, or SLICE statement, and the response variable is in the CLASS statement variable list in front of the class variables that also appear in the MODEL statement, the following modeling procedures generate incorrect results:
SAS/QC Software
SAS/STAT Software
When the SAS/STAT postfitting procedure, PROC PLM, uses an item store that is generated by any of the above procedures or by the GLIMMIX procedure under the same conditions, and an OM-data-set is used, the least squares means results are also incorrect.
The LSMEANS, LSMESTIMATE, and SLICE statements with the OM= option generate incorrect results. The rest of the results are correct.
To circumvent the problem, specify the response variable after all of the CLASS statement variables that also appear in the MODEL statement.
For example, the following syntax produces incorrect least squares means results:
Any permutation of the class variables that places the response variable after the model variables avoids the problem. Here is an example:
Click the Hot Fix tab in this note to access the hot fix for this issue.
Product Family | Product | System | Product Release | SAS Release | ||
Reported | Fixed* | Reported | Fixed* | |||
SAS System | SAS/STAT | 64-bit Enabled AIX | 9.2 | 9.2 TS1M0 | ||
64-bit Enabled HP-UX | 9.2 | 9.2 TS1M0 | ||||
64-bit Enabled Solaris | 9.2 | 9.2 TS1M0 | ||||
Linux for x64 | 9.2 | 2020.1.1 | 9.2 TS1M0 | Viya | ||
Linux | 9.2 | 9.2 TS1M0 | ||||
OpenVMS on HP Integrity | 9.2 | 9.2 TS1M0 | ||||
Microsoft® Windows® for x64 | 9.2 | 9.2 TS1M0 | ||||
Windows Vista | 9.2 | 9.2 TS1M0 | ||||
Microsoft Windows XP Professional | 9.2 | 9.2 TS1M0 | ||||
Microsoft Windows Server 2003 Standard Edition | 9.2 | 9.2 TS1M0 | ||||
Microsoft Windows Server 2003 Enterprise Edition | 9.2 | 9.2 TS1M0 | ||||
Microsoft Windows Server 2003 Datacenter Edition | 9.2 | 9.2 TS1M0 | ||||
Microsoft Windows XP 64-bit Edition | 9.2 | 9.2 TS1M0 | ||||
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 | 9.2 TS1M0 | ||||
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 | 9.2 TS1M0 | ||||
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 | 9.2 TS1M0 | ||||
HP-UX IPF | 9.2 | 9.2 TS1M0 | ||||
z/OS | 9.2 | 9.2 TS1M0 |