Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

INLA failure

16 views
Skip to first unread message

GLORIA NKEM IBEH

unread,
May 7, 2025, 6:03:47 AMMay 7
to R-inla discussion group
Hi

Please can you help me fix this error

N <-6000
> burn.in <- 500 > thin <- 10 > > f1_C_poisson <- CASES~ log(CUMUL_lag3)*logstring + offset(logMS_POPULATION) > #Trying out INLA but didn't work > model2a_pois_inla <- Bcartime( data=data_inla ,formula=f1_C_poisson, W=adj.mat_prov, scol="C_PROVI", tcol="week_id", model= c("bym", "ar1"), link="log", family="poisson", package="inla", N = N, burn.in = burn.in, thin = thin, verbose=TRUE ) Spatio-temporal models will be fitted. INLA will be used. *** inla.core.safe: The inla program failed, but will rerun in case better initial values may help. try=1/1 Error in inla.core.safe(formula = formula, family = family, contrasts = contrasts, : In f(spaceid): 'covariate' must match 'values', and both must either be 'numeric', or 'factor'/'character'. The inla program failed and the maximum number of tries has been reached.
Reply all
Reply to author
Forward
0 new messages