Problematic SE with fminunc
Mostrar comentarios más antiguos
Hi I am trying to estimate a discrete choice mixed (logit) model.
The mle (via maximum simulated lik) converges but my standard errors are imaginary. (with fewer simulations I get NaN sometimes).
I use: ihess=inv(hessian); stderr=sqrt(diag(ihess));
The hessian has some columns of zeroes and also negative numbers.
My questions are: 1. What could be causing the imaginary errors? 2. Is there some fix?
1 comentario
John D'Errico
el 8 de Jun. de 2014
Editada: John D'Errico
el 8 de Jun. de 2014
Sorry. I was deleting so many spams, that when I looked at your question because it was of interest to me, I deleted it by accident, out of habit.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Solver Outputs and Iterative Display en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!