Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when fitting the inla model #2

Open
hernanmanrique opened this issue Apr 14, 2023 · 0 comments
Open

Error when fitting the inla model #2

hernanmanrique opened this issue Apr 14, 2023 · 0 comments

Comments

@hernanmanrique
Copy link

Hello,

Following the tutorial (https://ourcodingclub.github.io/tutorials/spatial-modelling-inla/), I ran into an error when fitting

Mod_Lattice <- inla(formula,
family = "poisson", # since we are working with count data
data = Lattice_Data,
control.compute = list(cpo = T, dic = T, waic = T))

The error is:
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 you tell me what could be wrong?

Kind regards,
H

@hernanmanrique hernanmanrique changed the title Error when fittin the inla model Error when fitting the inla model Apr 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant