nlminb doesn't converge and produce a warning
kamel gaanoun wrote:
I use nlminb like this : res1<-nlminb(vect, V, lower=c(rep(0.01, 12), rep(0.01, 3), rep(-Inf, n-15)), upper=c(rep(Inf, 12), rep(0.99, 3), rep(Inf, n-15)), control = list(maxit=1000) ) and that's the result : Message d'avis : In nlminb(vect, V, lower = c(rep(0.01, 12), rep(0.01, 3), rep(-Inf, : unrecognized control element(s) named `maxit' ignored
Just increase the maximum number of iterations. Which you tried to do, but didn?t succeed in, as the above warnings shows. The argument is called ?iter.max?, not ?max.iter?.
Karl Ove Hufthammer