BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
bncoxuk
Obsidian | Level 7

Hi everyone,

I ran the same logit model using two differnt procedures: PROC GENMOD and PROC LOGISTIC. The LOGISTIC procedure said:

NOTE: Convergence criterion (GCONV=1E-8) satisfied in Step 2.

WARNING: The information matrix is singular and thus the convergence is questionable

For the issue, the type 3 analysis results are not reasonable: some variables have 0 degrees of freedom.

In contrast, the PROC GENMOD does not have such issue. The type 3 results are normal without any unexpected values. Besides, the GENMOD is much quicker to produce the results which saved the running time by more than half.

Can anyone give some insight about the problem here? Does it mean that the PROC LOGISTIC should not be used if there is a warning messsage about the singular information matrix?

1 ACCEPTED SOLUTION

Accepted Solutions
Rick_SAS
SAS Super FREQ

If you get a "convergence is questionable" warning, then I would not use that result. Although both GENMOD and LOGISTIC estimate parameters by maximizing a log-likelihood, they might not use the same optimization method or starting conditions, so one could converge and the other not. The LOGISTIC doc says "the maximum likelihood estimation is carried out with either the Fisher scoring algorithm or the Newton-Raphson algorithm" and the default technique is Fisher scoring, which is an iteratively reweighted least squares algorithm. For details, see http://support.sas.com/documentation/cdl/en/statug/63962/HTML/default/viewer.htm#statug_logistic_sec...

View solution in original post

2 REPLIES 2
Reeza
Super User

Just because you don't get an error doesn't mean the results are statistically valid. If you're not meeting the assumptions of the model then your results will be flawed.

I'm assuming you're also using the link=logit in proc GENMOD?

Post the code used for each to make sure its a valid comparison.

Rick_SAS
SAS Super FREQ

If you get a "convergence is questionable" warning, then I would not use that result. Although both GENMOD and LOGISTIC estimate parameters by maximizing a log-likelihood, they might not use the same optimization method or starting conditions, so one could converge and the other not. The LOGISTIC doc says "the maximum likelihood estimation is carried out with either the Fisher scoring algorithm or the Newton-Raphson algorithm" and the default technique is Fisher scoring, which is an iteratively reweighted least squares algorithm. For details, see http://support.sas.com/documentation/cdl/en/statug/63962/HTML/default/viewer.htm#statug_logistic_sec...

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1952 views
  • 3 likes
  • 3 in conversation