SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 48299: Scoring of observations with missing response not done for some binary response models in PROC GENMOD

DetailsAboutRate It

If your response is binary and you specify the DIST=BINOMIAL option in the MODEL statement, and if you also specify a CLASS statement, then observations that are missing only on the response are not scored by the OUTPUT statement. Predicted values are not computed for these observations.

There are two circumventions for this problem. The first is to use events/trials syntax in the MODEL statement. For this approach, add a variable to the data set that equals one for all observations. Use this new variable as the trials variable in the model. Create a variable that has value 1 for the event of interest and 0 otherwise. Use second new variable as the events variable. Do not include either variable in the CLASS statement. Rerun the model using the event/trials syntax with these new variables.

The second circumvention is to add the STORE statement in your PROC GENMOD step to save the fitted model. Then use the SCORE statement in PROC PLM to score the observations in the input data set.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS/STATWindows 7 Professional 32 bit9.313.29.3 TS1M09.4 TS1M2
Windows 7 Home Premium x649.313.29.3 TS1M09.4 TS1M2
Windows 7 Home Premium 32 bit9.313.29.3 TS1M09.4 TS1M2
Windows 7 Enterprise x649.313.29.3 TS1M09.4 TS1M2
Windows 7 Enterprise 32 bit9.313.29.3 TS1M09.4 TS1M2
Microsoft Windows XP Professional9.39.3 TS1M0
Microsoft Windows Server 2008 for x649.39.3 TS1M0
Microsoft Windows Server 20089.39.3 TS1M0
Microsoft Windows Server 2008 R29.39.3 TS1M0
Microsoft Windows Server 2003 for x649.39.3 TS1M0
Microsoft Windows Server 2003 Standard Edition9.39.3 TS1M0
Microsoft Windows Server 2003 Enterprise Edition9.39.3 TS1M0
Windows Vista for x649.39.3 TS1M0
64-bit Enabled AIX9.313.29.3 TS1M09.4 TS1M2
64-bit Enabled HP-UX9.313.29.3 TS1M09.4 TS1M2
64-bit Enabled Solaris9.313.29.3 TS1M09.4 TS1M2
HP-UX IPF9.313.29.3 TS1M09.4 TS1M2
Linux9.313.29.3 TS1M09.4 TS1M2
Linux for x649.313.29.3 TS1M09.4 TS1M2
Solaris for x649.313.29.3 TS1M09.4 TS1M2
Windows Vista9.39.3 TS1M0
Windows 7 Ultimate x649.313.29.3 TS1M09.4 TS1M2
Windows 7 Ultimate 32 bit9.313.29.3 TS1M09.4 TS1M2
Windows 7 Professional x649.313.29.3 TS1M09.4 TS1M2
Microsoft Windows Server 2003 Datacenter Edition9.39.3 TS1M0
Microsoft® Windows® for x649.39.3 TS1M0
z/OS9.313.29.3 TS1M09.4 TS1M2
* 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.