timcdlucas / INLAutils

R package providing utilities for INLA
Other
26 stars 10 forks source link

Error on priors = T with binomial data. #44

Closed timcdlucas closed 7 years ago

timcdlucas commented 7 years ago
  inla.model <- inla(formula, 
                     family = 'binomial',
                     data = inla.stack.data(inla_point_stack, spde_full = spde_full),
                     Ntrials = examined,
                      control.family = list(link = "probit"),
                     control.predictor = list(A = inla.stack.A(inla_point_stack), compute=TRUE, link = 1)
                     )

autoplot(inla.model, which = 1, priors = T)

errors. Not sure why. This is the model with crazy posteriors.

timcdlucas commented 7 years ago

Think I was specifying this model wrong.