09-01-2011 02:07 PM
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.
09-01-2011 02:47 PM
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.
09-12-2011 03:28 PM
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 but with no effect. NLMIXED is like a machine with many nobs to adjust, and I am not sure where to really start.