Lecture 8 - Spatial Regression Flashcards

1
Q

Spatial considerations in the analysis

A
  • often spatial relationships are ignored
  • weakens the ability to create meaningful inferences about studied processes
  • spatial regression models include relationships between variables and their neighbour’s values
  • include as explanatory variables: values of error terms, x or y values in surrounding regions

-allows to examine impact one observation has on other proximate observations

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Using regression without spatial considerations

A
  • estimated regression coefficient is biased/inconsistent
  • r2 statistic is exagerated
  • incorrect inferences
  • model isn’t accurate
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

OLS diagnostics to find spatial autocorrelation

A

If we have SA in data we have a violation of assumptions:

  • OLS regression is a global linear regression model
  • residuals should be independent of each other
  • run a test with residuals

A. if diagnostics indicate no SA or other violations of regression assumptions, OLS model fine

B. if diagnostics indicate SA present, need to consider ways to measure & incorporate spatial structure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How to find out if spatial weights are needed for regression?

A
  1. include spatial weights into regression (table of spatial relationships for polygons that tells which are neighbours)
  2. execute diagnostic tests (Moran’s I)
    - strength of autocorrelation in residuals
    - if Moran’s I is close to 0 = no spatial regression
    - determine whether to proceed with spatial regression
  3. Lagrange Multiplier test (LM)
    - which spatial regression model?
    - spatial error or spatial lag
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

GeoDa tools for regression

A
  • OLS
  • Spatial lag regression
  • Spatial error regression
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

ArcGIS tools for regression

A
  • OLS

- Geographically weighted regression (GWR)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Lagrange Multiplier Test

A
  • tells us which model to choose
  • is there spatial autocorrelation in the residuals? –> use spatial error model
  • is there spatial autocorrelation in dependent variables? –> use spatial lag model
  • is there spatial autocorrelation in both? –> use robust LM
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Spatial Error

A
  • examines spatial autocorrelation between residuals of adjacent areas
  • spatial effects incorporated via an error term
  • error will be similar for adjacent areas because they are likely related
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Spatial regression in GeoDa

A
  1. get data to include areas with attributes
  2. create spatial weights table (topology) can choose rook or queen and the contiguity order
  3. select regression and choose the dependent and independent variables
  4. run classic regression model
  5. check r2, adjusted r2, akaike info criterion, then look at variables and p-values, multicollinearity condition number
  6. compare Moran’s I and Lagrange for spatial error and spatial lag models to find the best one
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

r2

A

> 0.8 good, model is explaining 80% of the phenomena relationships

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

akaike info criterion

A

to check the quality of the model for using to make predictions
lower numbers better, the number gives the estimate of prediction error (amount of data lost)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

p-values of variables

A

p-value is probability that the relationship is random, low number means not random, need <0.05

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Interpreting Moran’s I values

A

<0.01 very close to 0 random
0.05 slight correlation but close to random
>0.1 there is spatial autocorrelation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Interpreting Lagrange values

A

LM-lag 0.0000035
LM-error 0.00000001
both close to 0 = significant so check robust LMs for both

RLM-lag 0.7354991
RLM-error 0.0111464
only RLM-error is significant

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Spatial Regression in ArcMap

A
  • run OLS
  • plot residuals and look for over and under-predictions
  • test with Moran’s I
  • then run geographically weighted regression
  • check r2, akiake, p-values, etc
  • plot residuals again and test with Moran’s I
  • can also plot each variable that explains the phenomena
  • produce final map with predictions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Spatial regression decision process

A

see flow chart on slides