Programming the statistical procedures from SAS

NLMIXED -- (projected) gradient is greater than 1e-3

Reply
New Contributor
Posts: 4

NLMIXED -- (projected) gradient is greater than 1e-3

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

SAS Super FREQ
Posts: 3,547

NLMIXED -- (projected) gradient is greater than 1e-3

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.

New Contributor
Posts: 4

Re: NLMIXED -- (projected) gradient is greater than 1e-3

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

Ask a Question
Discussion stats
  • 2 replies
  • 904 views
  • 1 like
  • 2 in conversation