BookmarkSubscribeRSS Feed
BISTGP
Fluorite | Level 6

I am fitting a mixed model using NLMixed and while the procedure converges and gives what appear to be reasonable parameter estimates, the log contains the following message.

NOTE: At least one element of the (projected) gradient is greater than 1e-3.

I am not sure how to interpret this, if I should I be concerned about it, or how to "fix" this?  Any comments and suggestions will be appreciated.

Greg

2 REPLIES 2
Rick_SAS
SAS Super FREQ

At an extremum (minimum or maximum) of the objective function ,the gradient vanishes. The NOTE is telling you that the convergence to an extremum is dubious. You can adjust some of the "Termination Criteria Specifications" to see if you can achieve convergence. Or the function might be extremely flat near the extremum.

BISTGP
Fluorite | Level 6

Hi Rick,

Can you say a little more about which specific termination criteria might be adjusted?  Maxiter and maxfunc are not a problem since I have "GCONV convergence criterion satisfied"  well before the maximum number of iterations and functions are reached.  I have set gconv=1E-9[2] but with no effect.  NLMIXED is like a machine with many nobs to adjust, and I am not sure where to really start.

Greg

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 2760 views
  • 1 like
  • 2 in conversation