Re: [R] optimization problem

2015-10-19 Thread Hector Villalobos
Thanks to all who responded, I've found a very useful code here: http://courses.washington.edu/fish507/notes.html In particular the Lecture 3... Héctor 2015-10-17 7:05 GMT+00:00 Berend Hasselman : > > Your model is producing -Inf entries in the vector Be (in function modl > and LL) at some s

[R] optimization problem

2015-10-16 Thread Hector Villalobos
Dear R users, I'im trying to find the parameters of a dynamic biomass model using maximum likelihood estimation. I used two approaches, one by hand, with optim() function and the other using mle2() function from package bbmle. My problem is that the results change a lot depending on the initial va