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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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