1 of 8

Class 21

Spatial Regressions

2 of 8

AGENDA

Today’s Class …

  • Spatial Regressions

During Class …

  • Spatial Regression Activity

Next Class …

  • Spatial Analysis

3 of 8

Geography’s Quantitative Revolution

Class 21

3

  • “The Problem of Spatial Autocorrelation” (1969). Andrew Cliff and Keith Ord

  • Realization that classical statistics can be inappropriate for modeling geographical phenomena (Tobler’s first law of geography)

  • Increasing need for a statistic that tests for spatial pattern, or spatial autocorrelation

Type 1 Error 👎 👎 👎

4 of 8

Spatial Autocorrelation

Class 21

4

  • The degree of similarity between objects that are located near each other

Global Moran’s I- Measures the magnitude of spatial autocorrelation. Returns a single result (I). In addition, provides a p-value (the probability associated with I). 

    • Ranges from -1 to 1 (-1 is perfectly dispersed, 0 is random, 1 is perfectly clustered)
    • Compared I of observed data to expected I (expected under complete spatial randomness) 

Local Moran’s I- Iterates through each observation and provides a measure of autocorrelation and p-value

    • Results can be mapped

5 of 8

What’s the Problem?

Class 21

5

  • One of the regression assumptions is independence of observations.
  • If observations are not independent, we get inaccurate estimates of the coefficients
  • This leads to biased error terms (residuals AKA what is not explained by the model) because the error terms contain spatial dependencies
  • This is a big problem!

6 of 8

Spatial Autoregressive Models

Class 21

6

  • Spatial Error Model- Clustering is due to spatial processes inherent to the independent variables that are both measured and omitted from the model. 

  • Spatial Lag Model- Represents a diffusive process. The value of a variable is influenced by the value in another neighboring location 

  • Deciding which one:
    • Statistical testing
    • Theoretical considerations

7 of 8

Basic Steps

Class 21

7

  1. Run a traditional regression
  2. Determine if the residuals of that regression show spatial dependency (Moran’s I)
  3. If there is no dependency, you’re all good!
  4. If there is dependency, think theoretically- what model type do you think might be most appropriate?
  5. Run models
  6. Compare fit to original linear regression

8 of 8

Using SAM

Class 21

8

Source: https://www-sciencedirect-com.libproxy.lib.unc.edu/topics/computer-science/spatial-autocorrelation