inla.core.safe max try error

256 views
Skip to first unread message

Teresa McGee

unread,
Jul 6, 2022, 12:30:53 PM7/6/22
to R-inla discussion group
I am fitting a fairly simple model using the package Diploffect.INLA which calls INLA. The code previously worked, but now is throwing the error. It stems from inla.core.safe() and results from reaching a "max.try" of 2.  

Error in inla.core.safe(formula = formula, family = family, contrasts = contrasts,  :
  *** Fail to get good enough initial values. Maybe it is due to something else.

Can anyone expand on this error a bit more and give insight into whether code may need to be updated or this is an issue with the sparse matrix library transition?
Screenshot (1).png

Helpdesk

unread,
Jul 8, 2022, 4:59:14 AM7/8/22
to Teresa McGee, R-inla discussion group
It might be an error in the input to the model (and Inf or NAN) which
might cause this to happen (like every function evaluation will be NAN),
or some of the input or response data, needs to be scaled

I do not know the package Diploeffect, so you might ask the authors of
that one.
> Screenshot (1).png
> --
> You received this message because you are subscribed to the Google
> Groups "R-inla discussion group" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to r-inla-discussion...@googlegroups.com.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/r-inla-discussion-group/3f419211-bbf9-48b1-bebd-7bc81d0ff86cn%40googlegroups.com
> .

--
Håvard Rue
he...@r-inla.org
Reply all
Reply to author
Forward
0 new messages