Skip to content
Prev 17197 / 20628 Next

warnings when using binomial models and offset (log(x))

Thanks for your help!

However, I still get the warnings when using offset(log(density)
Warning messages:
1: In checkConv(attr(opt, "derivs"), opt$par, ctrl = control$checkConv,  :
  Model failed to converge with max|grad| = 0.258231 (tol = 0.001, component 1)
2: In checkConv(attr(opt, "derivs"), opt$par, ctrl = control$checkConv,  :
  Model is nearly unidentifiable: very large eigenvalue
 - Rescale variables?


Any suggestion?

Thanks
Joana



-----Mensagem original-----
De: Mollie Brooks [mailto:mollieebrooks at gmail.com] 
Enviada: segunda-feira, 26 de Novembro de 2018 12:36
Para: Joana Martelo
Cc: R SIG Mixed Models
Assunto: Re: [R-sig-ME] warnings when using binomial models and offset - NaNs

If you?re using the scale() function to standardize your density values, you could use the argument, center=FALSE, to avoid subtracting the mean and thus avoid negative densities. 

cheers,
Mollie