Dear R-inla group,
Can someone give me some advice on calculating the confidence interval in INLA-SPDE? Basically, I am comparing a hierarchical model estimated by INLA-SPDE with a linear mixed model (LMM) estimated by REML.
1) As the LMM-REML uses a kriging variance to show the prediction uncertainty, I wonder how to get a similar variance by INLA-SPDE?
I have enabled R-INLA to calculate the quantiles and the SD value. However, I find that the SD value (squared) is too smaller compared with the kriging variance. Is there a way to calculate a similar kriging variance in R-INLA?
2) How to get a prediction interval equivalent to the kriging variance?
I need to know this is because I calculated the prediction interval coverage probability (PICP) versus 100(1-a)% (see attached figure) to validate the prediction intervals.
However, as shown in the attache figure for soil pH, the LMM-REML shows good performance on the validation data (quantiles are obtained by calculating SD using kriging variance and multiplying a significant value assuming a Gaussian distribution) while the INLA-SPDE shows very small PICP (quantiles are obtained using the estimated quantiles from inla() when applying the INLA-SPDE model onto the calibration points). I suspect that the interval given by INLA is credible intervals due to parameter uncertainty only, thus it is quite small and different from LMM (or kriging). Am I correct? But how can I calculate a prediction interval which follows the 1:1 line in the PICP plot?
Thanks very much for your help.
Best regards,
Jingyi Huang