Warning messages: 1: In checkConv(attr(opt, "derivs"), opt$par, ctrl = control$checkConv, : unable to evaluate scaled gradient 2: In checkConv(attr(opt, "derivs"), opt$par, ctrl = control$checkConv, : Model failed to converge: degenerate Hessian wi

Hi there! I am analizing ecology data about soil seed bank. I've done a GLMM (gaussian distribution) where my fixed variable is Seedling density and my random efects are the site, plot and subplot. I've used this code: glmm1<-glmer(Seedling_density+1~Treatment+(1|sitio/Parcela/subplot),family= gaussian(link=identity),na.action="na.fail",data=datos) and I've recived this warning message: Warning messages:
1: In checkConv(attr(opt, "derivs"), opt$par, ctrl = control$checkConv, :
unable to evaluate scaled gradient
2: In checkConv(attr(opt, "derivs"), opt$par, ctrl = control$checkConv, :
Model failed to converge: degenerate Hessian with 3 negative eigenvalues

I am kind of new using R studio and also doing stadistics, and I am very confused with this message. I would very greatful if you could help me to fixed the problem.

Thanks in advanced

Check this StackOverflow post to see if that resolves the problem.

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.