Spatio-temporal areal unit modeling in R with conditional autoregressive priors using the CARBayesST package

Lee, Duncan and Rushworth, Alastair and Napier, Gary (2018) Spatio-temporal areal unit modeling in R with conditional autoregressive priors using the CARBayesST package. Journal of Statistical Software, 84 (9). pp. 1-39. ISSN 1548-7660 (

[thumbnail of Lee-etal-JSS2018-Spatio-temporal-areal-unit-modeling-in-R-with-conditional]
Text. Filename: Lee_etal_JSS2018_Spatio_temporal_areal_unit_modeling_in_R_with_conditional.pdf
Final Published Version
License: Creative Commons Attribution 3.0 logo

Download (1MB)| Preview


Spatial data relating to non-overlapping areal units are prevalent in fields such as economics, environmental science, epidemiology and social science, and a large suite of modeling tools have been developed for analysing these data. Many utilize conditional autoregressive (CAR) priors to capture the spatial autocorrelation inherent in these data, and software packages such as CARBayes and R-INLA have been developed to make these models easily accessible to others. Such spatial data are typically available for multiple time periods, and the development of methodology for capturing temporally changing spatial dynamics is the focus of much current research. A sizeable proportion of this literature has focused on extending CAR priors to the spatio-temporal domain, and this article presents the R package CARBayesST, which is the first dedicated software package for spatio-temporal areal unit modeling with conditional autoregressive priors. The software package allows to fit a range of models focused on different aspects of spacetime modeling, including estimation of overall space and time trends, and the identification of clusters of areal units that exhibit elevated values. This paper outlines the class of models that the software package implement, before applying them to simulated and two real examples from the fields of epidemiology and housing market analysis.


Lee, Duncan, Rushworth, Alastair ORCID logoORCID: and Napier, Gary;