[ADMB Users] non-convergence and "inner maxg = 0"

Ian Fiske ianfiske at gmail.com
Sat Mar 20 07:52:35 PDT 2010

> but anyway I think the sign is wrong. I think it should be

g = nroute*log_sigma_mu + 0.5*norm2(mu_r)/mfexp(2*log_sigma_mu);

g += nobs*log_sigma_y+0.5*norm2(y - Ey)/mfexp(2*log_sigma_y);

Thanks, Dave!  How embarrassing, given the emphasis on "ADMB does
minimization" throughout the docs.

Also it is better to handle the std dev parameterization differently.

Is it better to put std dev inside the norm like the following?
  0.5*norm2((y - Ey)/exp(log_sigma_y))

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/users/attachments/20100320/bc9c9e56/attachment.html>

More information about the Users mailing list