[R] help

Alejandra Chovar Vera
Tue, 02 Dec 2014 15:38:03 -0000

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]]