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. 

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