Hi there!
I write to the list because I wonder if anyone has previously face what I’m finding. To give you some context:
I’m analyzing hunting yield datasets (n~8000) to compare the behavior of models that consider or do not consider a latent spatial effect (+w(s)). I use the abund() function for models that don’t and the spAbund() function for models that do. To adjust the models, I’m using the following parameters:
n.batches<-50
batchs.length<-10000
n.burns<-100000
n.thins<-10
n.chains<-3
prior.list<-list(beta.normal = list(mean=0, var=10),
phi.unif = c(3/max.dist, 3/4) #max.dist=
sigma.sq.ig= c(2, 1),
sigma.sq.mu.ig=list(0.1, 0.1),
kappa.unif=c(0.001, 100)
)
inits.list<- list(beta= 0, kappa=0.5, sigma.sq=0.5,
phi=3/mean.dist, #mean.dist =
w = rep (0, length(data$y)
)
When examining the convergence of the models, I realized that there are convergence issues with the traceplot, Rhat, and ESS for the fixed variables of the model when structural spatial effects are used. However, sigma.squared and phi do not have convergence issues (see an example of the results below). Models that don't use a latent structural spatial effect (+ w(s)) converge for fixed variables.
![Gráfico, Gráfico de líneas, Histograma
El contenido generado por IA puede ser incorrecto.]()
Has anyone had a similar experience and figured it out how to solve it, or any idea about how to handle it? I’ll be glad to hear your thoughts!
Many thanks!!
Best,
Sonia