BookmarkSubscribeRSS Feed
spraynardz90
Calcite | Level 5

I am using some logistic regression testing and I have received this message.

Not quite sure what this means...

My coefficients are pleasingly significant. I performed an AUTO CORR command to see whether autocorrelation could corrupt my results however the results are good. So is this message "Convergence criterion (GCONV=1E-8) satisfied" normal?

7 REPLIES 7
spraynardz90
Calcite | Level 5

Thanks very much. Could you please help me solve below? I have ensured my dependent variable is either 1 or 0 and my independents are different.

I received this message when performing some of my testing:problem.JPG

PGStats
Opal | Level 21

The screen image is very fuzzy, I can't read everything. The error says that among the observations where all variables are not missing (only those are considered) the dependent variable always has the same value. This could be caused by all  the logs involved, if missing values were generated when calculating them, in a previous step.

PG

PG
spraynardz90
Calcite | Level 5

I have received a warning message saying "ridging has failed to improve the log likelihood" and the validity of the fit is questionable.

I have four different dummy variables in this regression, the dependent, and three control independents. Do you think this could cause the error?

I have checked for duplicates, blanks in the dummies, and auto correlation, all seem to be OK


error.JPG
PGStats
Opal | Level 21

I would start by looking at the table produced by

proc freq data=yourData;

tables logsd*yourdum1*yourdum2*yourdum3*yourdum4 / list nocum nopercent;

run;

and check for combinations that are not well represented in your data.

PG

PG
ved_sharma
Calcite | Level 5

Hi, 

 I was searching for the meaining of GCONV=1E-8 which led me to this post. However I am not able to see your reply. I have attached the screenshot for your reference. Thanks in advance for your help.

 

Thanks,

Ved


Convergence.jpg
SteveDenham
Jade | Level 19

This note means that the relative gradient (max of the first derivatives wrt to the fixed effect parameters)/ absolute value of the objective function has reached a near zero value (0.00000001), thus you are at a maximum/minimum/saddle point of the objective function.  Changing parameter values won't improve the fit to the data.

 

Steve Denham

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

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
  • 7 replies
  • 7989 views
  • 0 likes
  • 4 in conversation