Spatial regression analysis is a statistical method that is useful for analyzing spatial data. Spatial analysis assumes the presence of spatial dependencies. One way to find out if there is a spatial dependency is to do a spatial autocorrelation test. Spatial autocorrelation is used to analyze the similarity of values at observation locations with neighboring locations on the same variable.