I fitted a model using Proc logistic and also added some diagnostics graphs to look for influential observations. I know that in Proc reg I can use the ID statement so the graph will show my id variable. How can I do that Proc logistic? I can see that some cases are influential but I cannot actually look at the case itself since there is no identifier. Any tips on how to address this problem?
Hi ekruger.
It depends of your SAS/STAT version.
Since SAS/STAT 12.1 we have ID statement on PROC LOGISTIC. It is used in the same way of PROC REG:
You can see the "what's new" documentation about this here:
SAS/STAT(R) 12.1 User's Guide
Enhancements
LOGISTIC Procedure
Currently, we are on SAS/STAT 13.2, and you can see this documentation here:
Hope this helps.
Regards,
Carlos
I use Enterprise Guide 5.1 and Base SAS 9.3 so that may be the problem.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.