Displaying 1 result from an estimated 1 matches for "parsbox".
2010 Jun 26
4
optim() not finding optimal values
..."r") # name the parameters
( SPoptim <- optim(pars,SPsse,B=d$catch,CPE=d$cpe) ) # run optim()
This produces parameter estimates, however, that are not at the minimum value of the SPsse function. For example, these parameter estimates produce a smaller SPsse,
parsbox <- c(732506,1160771,0.0001484,0.4049)
names(parsbox) <- c("B0","K","q","r")
( res2 <- SPsse(parsbox,d$catch,d$cpe,SSE.only=FALSE) )
Setting the starting values near the parameters shown in parsbox even resulted in a movement away from (to a...