becarioprecario/slm

First INLA fit in katrina-slm.R fails

Closed this issue · 2 comments

Any ideas?

> semm1<-inla(
+    update(f1, ~.+f(idx, model="slm", args.slm=args.slm, hyper=hyper.slm)),
+    data=Katrina, family="binomial",
+    control.family = list(link="probit", hyper=zero.variance),
+    control.compute=list(dic=TRUE, cpo=TRUE)
+ )
Error in inla.set.hyper(family[i.family], "likelihood", cont.family[[i.family]]$hyper,  : 
  Model binomial [ likelihood ], has none hyperparameters, but 'hyper' is  list(prec = list(initial = 25, fixed = TRUE))

Thanks, done.