Docsity

Geodemographics Study: Spatial Cluster Detection using Moran's I, Exams of Geography

Toggle sidebar
bg1
Geog 494m - Geodemographics
Spring 2009
1
Example 13 – Spatial Cluster Detection
Objectives:
1. Use GeoDa to run global Moran’s I.
2. Use GeoDa to run local Moran’s I.
Data:
WV_Election.shp (shapefile)
Step 1: Open GeoDa and load WV_Election.shp.
Change the map colors to make it a choropleth map of PCIncome by right-clicking on the map,
choosing choropleth, then quantile. Enter pcincome in the variable chooser and choose about 5 or
6 classes.
Do you think these values are spatially autocorrelated?
Step 2: Examine spatial autocorrelation of per capita income in West Virginia.
Go to the Space menu and choose Univariate Moran’s. (Or you could use the button along the
top with the scatterplot and then M).
Choose pcincome as the variable, since we’re going to look at spatial autocorrelation of per capita
income in West Virginia.
Now choose a weights file. You should be able to use a weights file from the spatial interaction
modeling exercise (remember we created several files). If you do not have those files anymore,
you will need to create one before moving on with this exercise. I suggest not using a weights
file that gives every county as a neighbor to every other county.
Now you should have a scatterplot with pcincome on the horizontal axis and the weighted
average of the neighbors’ pcincome values on the vertical axis. You will also have an I value
along the top.
Now we want to know if the I value is significant. Right-click in the scatterplot window. Choose
Randomization and 999 permutations. This brings up a histogram of the random maps’ I values.
How likely is the I value that you got?
Re-run the randomization test by clicking the Run button near the histogram. Is the histogram
different? Why do you think this is? Does it change the likelihood value?
Step 3: Examine Local Moran’s I for per capita in West Virginia.
Next, we’ll look at the Local Moran’s I for the per capita income in West Virginia. Close the
scatterplot. The Local Moran’s I function is located in the Space menu under Univariate LISA
(or the button with the scatterplot and blue sections on it).
Once again, choose pcincome and the same weights file. Now click all four boxes to show all
four Local Moran’s I related windows. Click OK.
You should see a bunch of windows pop up. Arrange them so you can see all of them. The first
is the same scatterplot created by the global Moran’s I operation. Next is a boxplot of the local Ii
values.
The two maps show the interesting information, though. One is in shades of green and one is in
shades of blue and red. The red and blue map shows the local autocorrelation: if a county has a
high income with well-to-do neighbors, high income with poor neighbors, poor with well-to-do
neighbors, or poor with poor neighbors. Many counties are white, which means none of these
categories applies.
pf2

Partial preview of the text

Download Geodemographics Study: Spatial Cluster Detection using Moran's I and more Exams Geography in PDF only on Docsity!

Geog 494m - Geodemographics Spring 2009

1

Example 13 – Spatial Cluster Detection

Objectives:

_1. Use GeoDa to run global Moran’s I.

  1. Use GeoDa to run local Moran’s I. Data: WV_Election.shp (shapefile)_

Step 1: Open GeoDa and load WV_Election.shp****.  Change the map colors to make it a choropleth map of PCIncome by right-clicking on the map, choosing choropleth, then quantile. Enter pcincome in the variable chooser and choose about 5 or 6 classes.  Do you think these values are spatially autocorrelated? Step 2: Examine spatial autocorrelation of per capita income in West Virginia.  Go to the Space menu and choose Univariate Moran’s. (Or you could use the button along the top with the scatterplot and then M ).  Choose pcincome as the variable, since we’re going to look at spatial autocorrelation of per capita income in West Virginia.  Now choose a weights file. You should be able to use a weights file from the spatial interaction modeling exercise (remember we created several files). If you do not have those files anymore, you will need to create one before moving on with this exercise. I suggest not using a weights file that gives every county as a neighbor to every other county.  Now you should have a scatterplot with pcincome on the horizontal axis and the weighted average of the neighbors’ pcincome values on the vertical axis. You will also have an I value along the top.  Now we want to know if the I value is significant. Right-click in the scatterplot window. Choose Randomization and 999 permutations. This brings up a histogram of the random maps’ I values. How likely is the I value that you got?  Re-run the randomization test by clicking the Run button near the histogram. Is the histogram different? Why do you think this is? Does it change the likelihood value? Step 3 : Examine Local Moran’s I for per capita in West Virginia.  Next, we’ll look at the Local Moran’s I for the per capita income in West Virginia. Close the scatterplot. The Local Moran’s I function is located in the Space menu under Univariate LISA (or the button with the scatterplot and blue sections on it).  Once again, choose pcincome and the same weights file. Now click all four boxes to show all four Local Moran’s I related windows. Click OK.  You should see a bunch of windows pop up. Arrange them so you can see all of them. The first is the same scatterplot created by the global Moran’s I operation. Next is a boxplot of the local Ii values.  The two maps show the interesting information, though. One is in shades of green and one is in shades of blue and red. The red and blue map shows the local autocorrelation: if a county has a high income with well-to-do neighbors, high income with poor neighbors, poor with well-to-do neighbors, or poor with poor neighbors. Many counties are white, which means none of these categories applies.

Geog 494m - Geodemographics Spring 2009

2

 Select the bright red counties in the map. Where are they in the scatterplot? Why are they there? Where is a cluster of high-income counties? Where is a cluster of low-income counties?  The green map shows the significance of the autocorrelation, using the same idea as the Moran’s I significance.  Right-click on the green map, and choose Randomization with 999 permutations. The green probably changed a bit, and a county or two may have switched from red or blue to white or vice versa in the other map.  Since each county has its own significance level, we can’t just show it as a number. The shades of green show those levels, indicating which counties are only 5%, 1%, 0.1% or 0.01% likely to have Ii values that fit into the histogram of random no-autocorrelation maps. Counties that fit into the no-autocorrelation category are white in the red/blue map, even though their place in the scatterplot suggests correlation.