Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

DIC is NA

18 views
Skip to first unread message

Nafsika Antoniadou

unread,
May 14, 2025, 7:43:07 AMMay 14
to R-inla discussion group
Hello,
I have the model:
form13 = y ~ -1 + intercept  +  temp  +
  f(idx, model="dmatern", locations = loc,
    hyper = list(range = list(prior = "pc.range", param = c(30, 0.05)),
                 theta1 = list(prior="pc.prec", param=c(0.4, 0.05))))

fit_gpd_pred = inla(form13,
                    data = data_df_gpd_pred,
                    control.predictor = list(compute=TRUE, link=1),
                    family = "gp",
                    lincomb=lcs,
                    control.family = list(list(control.link = list(quantile = q_gpd))),
                    control.compute = list(dic = TRUE, waic = TRUE, cpo = TRUE, config = TRUE),
                    control.inla=list(strategy="laplace",int.strategy="ccd"),
                    verbose = FALSE,
                    num.threads = 2) which returns 
Deviance Information Criterion (DIC) ...............: NA
Deviance Information Criterion (DIC, saturated) ....: NA
Effective number of parameters .....................: NA
WAIC is computed. If I remove the covariate and I have only an intercept in form13 then it is computed. WHy does this happen?

Helpdesk (Haavard Rue)

unread,
May 16, 2025, 3:03:01 PMMay 16
to Nafsika Antoniadou, R-inla discussion group
I need to be able to rerun it here, to check details.

Please make sure to use R-4.5 and the most recent testing version
> --
> 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, visit
> https://groups.google.com/d/msgid/r-inla-discussion-group/c4355ea6-18cc-4cae-9b3b-15c45fa1cbd3n%40googlegroups.com
> .

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