Dear INLA helpdesk
I’m trying to fit a Hierarchal SLM in INLA for repeated measurements. Each area of interest has multiple house sales. I’ve also attempted this method using the HSAR package developed by Dong, but ran into issues with run time, as it uses MCMC estimation. I’m therefore keen to know whether this is possible in INLA or whether this might be developed in future INLA updates. I have successfully applied this hierarchical approach using CAR models in INLA.
I have attempted to use the SLM method/argument within INLA but have encountered errors presumably as my data has repeated measurements for each subject (area) and is unbalanced (each subject has a variable number of repeated observations (i.e. sales).
If required, please see the HSAR vignette and paper from Dong 2015 for further information, and the approach is also reviewed by your colleague Bivard 2017.
Example
I’m not able to share my data but have provided an example using the Boston dataset, and simply duplicated the dataset twice therefore, creating a repeated measurement type dataset. Please see attached notepad file for code, if required.
Many thanks
Samuel Reiterbund-Olley
References
https://cran.r-project.org/web/packages/HSAR/vignettes/HSAR.html
Dong, G. and Harris, R., 2015. Spatial autoregressive models for geographically hierarchical data structures. Geographical Analysis, 47(2), pp.173-191.
Bivand, R., Sha, Z., Osland, L. and Thorsen, I.S., 2017. A comparison of estimation methods for multilevel models of spatially structured data. Spatial Statistics, 21, pp.440-459