Skip to content
Prev 80734 / 398502 Next

optim not giving correct minima

Try the other methods that optim() supplies, and try supplying a 
analytical derviative (which looks easy enough).  On a problem like this I 
would expect to use BFGS with analytical derivatives.

If you don't want to do any of that, at least explore the control 
parameters.  It doesn't look to me as if you have attempted to scale the 
problem as the optim help page suggests you should.  Also, you say a 
`likelihood', but it is usual to maximize a log-likelihood. (Without 
knowing what you are trying to do in detail, I cannot tell if you are in 
fact using a log-likelihood.)
On Fri, 11 Nov 2005, Laura Forsberg White wrote: