BookmarkSubscribeRSS Feed
Maya1
Fluorite | Level 6

Hello,

 

I want to discard results from nlmixed if the optimization did not converge or if there are any problems with the Hessian Matrix (either not p.d. or negative eigenvalue)

Is there any chance to change the options in the convergence status to non-convergence if there are any problems with the Hessian Matrix? Otherwise I would have to read out the Hessian and test with iml whether the eigenvalues are > 0, which is somewhat inconvenient. 

 

Thanks in advance!

 

2 REPLIES 2
SteveDenham
Jade | Level 19

I have never tried any of these, but there seems to be several options to PROC NLMIXED that may be of use here.  The section on Covariance Matrix Tolerances and the section in Details about the covariance matrix offer some hope that you can get at what you want.  It appears that use of the G4= and COVSING= options may get at this problem.  If I had to search for more help on this, Lex Jansen's site might have some papers.

 

I hate to say "Try some of these and see what happens" but sometimes that might be what you have to do.

 

Steve Denham

Rick_SAS
SAS Super FREQ

Read the article "Monitor convergence during simulation studies in SAS."  The article describes how to use the Convergence Status table to monitor the status of a nonlinear optimization. 

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 1400 views
  • 0 likes
  • 3 in conversation