I fit a spatiotemporal poisson model to counts from several sites over 29 years. I am interested in making predictions for each site but am having some trouble interpreting the output. I used the suggestion from the FAQs and included NAs in the data (counts weren't conducted at every site every year anyway) and I included the covariate for the unobserved data. When I plot the means for results$summary.fitted.values, the patterns look reasonable but the values vary very little and are not even close to the observed values. For example, here's the summary for the observed counts and the fitted values:
Observed:
Min. 1st Qu. Median Mean 3rd Qu. Max. NA's
0.00 0.00 5.00 11.74 18.00 131.00 3001
Fitted:
Min. 1st Qu. Median Mean 3rd Qu. Max.
3.242 5.610 5.842 5.600 5.925 5.976
I thought this might be due to some transformation, but the expected exp transformation results in overestimates. Am I missing something? Thanks for your help. Here is my code.
formula.tmp=max.male~std.da6400+f(year2,model='ar1',replicate=FID2)+f(FID2,model='besag',graph='W.test.txt',replicate=year2,param=c(1,0.05))
formula.1=as.formula(formula.tmp)
inla.pois.test.link2=inla(formula.1,family='poisson',data=data.test,verbose=T,control.inla=list(int.strategy='eb',strategy='gaussian',h=0.01,diagonal=10000),num.threads=1,control.predictor=list(link=1),control.compute=list(config=TRUE))
Adam Green