BookmarkSubscribeRSS Feed
vetdiazlira
Calcite | Level 5

. I was running SAS and I tried to calculate odd ratios of some variables of my dataset using proc logistic but I received a message that the model could not be fitted. After going into the SAS manuals  and I was guided by SAS to set a new singular value to fit the model to my dataset. I checked the SAS manual and understood that the default singular value is 10-9 , then I changed the singular value for that value to 1 stepwise, I did this lots of times and in each time I used 10 times greater value (i.e. 10-9. 10-7, etc…). Finally SAS  said that the model was converged but it dint give me any value in the tables,  It only showed  “.” Rather than values.  How do I fix this please? Can I use Proc genmod rather than proc logistic to sort out the data with the odd ratios? Or it is better to use logistic?. many thanks

2 REPLIES 2
Ksharp
Super User

As far as I know proc genmod is designed for Possion Regssion . But you could try proc PROBIT  which is almost like proc logistic , just have different Link Founction .

Xia Keshan

stat_sas
Ammonite | Level 13

Seems like some linear combination of the explanatory variables are perfectly predicting the dependent variable. Nothing wrong with proc logistic and nothing will be improved using proc genmod or other procedures. Check your dummy variables seems like there is a complete association between dependent variable and some of the dummy variables.


hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

What is Bayesian Analysis?

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1094 views
  • 0 likes
  • 3 in conversation