Correlation and Spatial Autocorrelation
Introduction:
This assignment incorporated learning and applying the following skills:
- Run Correlations in SPSS
- Interpret Correlation from a Scatterplot and SPSS Output
- Use the U.S. Census Site to Download Data and Shapefiles
- Identify GEOIDs from the Census Data
- Join U.S. Census Data and other Data
- Create a report connecting all the data
In Part 1, the goal was to learn to create a correlation matrix in SPSS in order to analyze correlations between variables in a dataset. The case study area for this part was Milwaukee, Wisconsin. The data included race, economic, and occupation variables.
In Part 2, the goal was to analyze patterns of the presidential elections from 1980 and 2016 from data given by the Texas Election Commission (TEC). The TEC wants to determine if there are clustering of voting patterns in the state, as well as voter turnout, so that it can provide the information to the governor to see if election patterns have changed or not over 36 years.
Important terms:
Spatial Autocorrelation - correlation of a variable with itself through space. If there is some systematic pattern in the spatial distribution of a variable, it is said to be spatially autocorrelated.
Moran's I - is used to compare the value of the variable at any one location with the value at all other locations. It creates a chart that displays spatial autocorrelation.
Important terms:
Spatial Autocorrelation - correlation of a variable with itself through space. If there is some systematic pattern in the spatial distribution of a variable, it is said to be spatially autocorrelated.
Moran's I - is used to compare the value of the variable at any one location with the value at all other locations. It creates a chart that displays spatial autocorrelation.
Local Indicators of Spatial Autocorrelation (LISA) - a map providing a spatial component of spatial autocorrelation that uses spatial weights to determine clustering. Any colors on the LISA map are significant (p=0.05).
Methods:
Part 1:
Using SPSS, a correlation matrix was created from an excel file containing the data. The chart in Figure 1 could then be analyzed to recognize any patterns in the data.
Part 2:
The first step in this part was to download the Texas shapefile from the U.S. Census, along with Hispanic data. Once downloaded, the Hispanic data and voting data were joined to the Texas shapefile. The shapfile was then exported so that it could be opened in Geoda. In Geoda, a spatial weight was created because there is spatial autocorrelation for both elections, voter turnout, and hispanic populations. Next a Moran's I and LISA Cluster Map were created for voter turnout for both elections and percent democratic vote for both elections. Figures 2, 4, 6, and 8 show the Moran's I charts and Figures 3, 5, 7, and 9 show the corresponding LISA Cluster Maps. These were then used to analyze patterns in the Texas elections in 1980 and 2016.
Results:
Part 1:
Figure 1 |
Through analyzing the results from the correlation matrix,
it can be observed that in Milwaukee, white populations have the strongest positive
correlations with:
-median household income – moderate correlation
· -number of manufacturing employees – high correlation
· -number of retail employees – high correlation
· -number of finance employees – high correlation
What this means is that where there are higher populations
of white people, these traits tend to be higher. This means that whites hold most of the jobs
and tend to have a higher median household income. It should also be noted that in Milwaukee,
black populations have all negative correlations with:
· -median household income – low correlation
· - number of manufacturing employees – little
if any correlation
· -number of retail employees – little if
any correlation
· -number of finance employees – little if
any correlation
Though none of these are more than a low correlation, it can
be compared to the same statistics for the white populations. Just the fact that all these have a slightly
negative correlation shows that where there are higher populations of black
people, the median household income may tend to be lower, and they do not hold
as many jobs as white people.
Part 2:
Figure 2: Voter Turnout 1980 |
Figure 3: Voter Turnout 1980 LISA |
Figure 4: Voter Turnout 2016 |
Figure 5: Voter Turnout 2016 LISA |
Figure 6: Percent Democrat 1980 |
Figure 7: Percent Democrat 1980 LISA |
Figure 8: Percent Democrat 2016 |
Figure 9 Percent Democrat 2016 LISA |
Conclusion:
There is observable clustering of voting patterns in both the 1980 and 2016 presidential elections in the state of Texas. These patterns have also changed over the course of 36 years. In general, the southern portion of the state has had a lower voter turnout with a high percent democratic vote, and the northern portion of the state has had a higher voter turnout with a low percent democratic vote. The Moran's I charts show that spatial clustering occurred in all the elections in both voter turnout and counties with high or low percent democratic vote. The clustering was more prevalent in using the percent democratic vote variable, and this is also visible in the LISA maps. This study truly helped display Tobler's Law (the first law of geography): everything is related to everything else, but near things are more related than distant things.
Sources:
-Data acquired from the U.S. Census Bureau and voting data acquired from instructor
-ArcMap used to join tables to shapefile
-Geoda was used to create Moran's I and Lisa Cluster Maps
-IBM SPSS Statistics 24 used to create correlation matrix
No comments:
Post a Comment