BookmarkSubscribeRSS Feed
jojo
Obsidian | Level 7

 I got a warning when I ran the following code. I have tried to use aggregate option, but it is not working. appreciate it for any inputs/suggestion on the reason and solutions.

PROC GENMOD data=data descending;

Class trt classvars;

MODEL avalc = trt classvars contvars/dist=binomial link=Identity alpha=0.10;

Estimate 'xx'trt 1 -1/alpha=0.05;

run;

 

WARNING: The relative Hessian convergence criterion of 0.0027102422 is greater than the limit of 0.0001. The

convergence is questionable.

WARNING: The procedure is continuing but the validity of the model fit is questionable.

3 REPLIES 3
PaigeMiller
Diamond | Level 26

Google "Hessian convergence is questionable"

 

Lots of discussion on this topic, including 

https://groups.google.com/forum/m/#!topic/comp.soft-sys.sas/uXDWNF_oL6U

 

Which says "The implication is that PROC GENMOD has reached a local maximum in this function rather than a global maximum."

--
Paige Miller
jojo
Obsidian | Level 7

Thank you! I have gone through the discussion, but it does seems to provide any solutions. They tried many solutions, but none of them can fixe the issue.

 

My goal is to get risk difference and CI between the treatment group from Estimate statement (link=identify). I tried link = logit, the warning disappeared, but need to convert OR to RD and get the confidence interval. Does anyone have a reference for calculating RD and CI from OR?

StatDave
SAS Super FREQ

See this note which describes using the NLMeans macro to estimate the risk difference. The identity link does not assure that the predicted values from the model are valid probabilities, so errors like this are common when not using the canonical link (logit). 

sas-innovate-2024.png

 

Time is running out to save with the early bird rate. Register by Friday, March 1 for just $695 - $100 off the standard rate.

 

Check out the agenda and get ready for a jam-packed event featuring workshops, super demos, breakout sessions, roundtables, inspiring keynotes and incredible networking events. 

 

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
  • 3 replies
  • 6134 views
  • 0 likes
  • 3 in conversation