[R] help
Alejandra Chovar Vera
alejandra.chovar at gmail.com
Tue Dec 2 16:38:03 CET 2014
Dear R
I have a big problem in my estimation process, I try to estimate my
likelihood function with the option "optim", but R give me this message
"Error en optim(par = valores$par, nlogL, method = "BFGS", hessian = T, :
valor inicial en 'vmmin' no es finito " I know this is because my initial
values are out the interval, but i try with different initial values and
the problem persist.
I don't know what can i do.
I have this code, to obtain my initial values:
valores<-
optim(c(-1,-1,1,1,1),nlogL,method="SANN",control=list(maxit=1000))
DCp <-
optim(par=valores$par,nlogL,method="BFGS",hessian=T,control=list(maxit=1000))
I found in this link "http://es.listoso.com/r-help/2012-02/msg02395.html"
something similar, but in this case there isn't answer.
If you need more information about my code, please tell me.
Sincerely
Alejandra
[[alternative HTML version deleted]]
More information about the R-help
mailing list