Problem Note 53945: Partial specification of ESTIMATE statement in the GENMOD procedure can be nonestimable in ordinal models
If you fit an ordinal logistic model using the DIST=MULT and LINK=CLOGIT options, and if you give only a partial specification of an estimable ESTIMATE or CONTRAST statement, then the complete set of coefficients that PROC GENMOD constructs can be incorrect producing a nonestimable result. Construction of a nonestimable specification can occur when it involves the intercept for any logit other than the first. For example, the following partially specified ESTIMATE statements attempt to estimate the LS-mean for the first level of A in each of the three cumulative logits when Y has four levels. PROC GENMOD completes the specification by adding coefficients for the B and A*B effects. However, the coefficients that it constructs are correct only in the first ESTIMATE statement for the first logit. The coefficients that it constructs for the B effect are incorrect in the last two ESTIMATE statements and are nonestimable. The coefficients of the completed specifications are displayed by the E options.
proc genmod;
class A B;
model Y = A B A*B / dist=mult link=clogit;
estimate "A1 @ Y1" Intercept 1 0 0 A 1 0 / e;
estimate "A1 @ Y2" Intercept 0 1 0 A 1 0 / e;
estimate "A1 @ Y3" Intercept 0 0 1 A 1 0 / e;
run;
One way to avoid the problem is to provide a complete specification:
estimate "A1 @ Y2" Intercept 0 1 0 A 1 0 B .3333333 .3333333 .3333333 A*B .3333333 .3333333 .3333333 0 0 0 / e;
Alternatively, you can use the LSMEANS statement:
lsmeans A / e;
Another way around the problem is to fit the model in PROC LOGISTIC. The following statements fit the same model and the single ESTIMATE statement with the CATEGORY=SEPARATE option provides the estimates for all three logits:
proc logistic;
class A B / param=glm;
model Y = A B A*B;
estimate "A1" Intercept 1 A 1 0 / e category=separate;
run;
Operating System and Release Information
SAS System | SAS/STAT | Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M3 SP4 | |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 SP4 | |
z/OS | 9.1 TS1M3 SP4 | 9.4 TS1M3 |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M3 SP4 | |
Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Server | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Professional | 9.1 TS1M3 SP4 | |
Microsoft Windows NT Workstation | 9.1 TS1M3 SP4 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 SP4 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP4 | |
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP4 | |
Microsoft Windows XP Professional | 9.1 TS1M3 SP4 | |
Windows Vista | 9.1 TS1M3 SP4 | |
Windows Vista for x64 | 9.1 TS1M3 SP4 | |
64-bit Enabled AIX | 9.1 TS1M3 SP4 | 9.4 TS1M3 |
64-bit Enabled HP-UX | 9.1 TS1M3 SP4 | 9.4 TS1M3 |
64-bit Enabled Solaris | 9.1 TS1M3 SP4 | 9.4 TS1M3 |
HP-UX IPF | 9.1 TS1M3 SP4 | 9.4 TS1M3 |
Linux | 9.1 TS1M3 SP4 | 9.4 TS1M3 |
Linux on Itanium | 9.1 TS1M3 SP4 | 9.4 TS1M3 |
OpenVMS Alpha | 9.1 TS1M3 SP4 | 9.4 TS1M3 |
Solaris for x64 | 9.1 TS1M3 SP4 | 9.4 TS1M3 |
Tru64 UNIX | 9.1 TS1M3 SP4 | 9.4 TS1M3 |
*
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: | high |
Topic: | Analytics ==> Categorical Data Analysis Analytics ==> Regression SAS Reference ==> Procedures ==> GENMOD
|
Date Modified: | 2016-09-28 11:08:39 |
Date Created: | 2014-08-19 10:37:19 |