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.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.