Lab 7: Clustering the Blocks of Cincinnati
Contents
Lab 7: Clustering the Blocks of Cincinnati#
Caution
This lab will provide you with an opportunity to investigate the spatial crime patterns in Cincinnati. The second part will focus on working through your Data Interim Report (due November 13, 2022). Please start by opening this Google Colab notebook and copying it to your Google Drive.
Important
Please submit your lab by modifying the notebook available at the link above!
Warning
Make sure to submit the lab by November 14 / 15, 2022, depending on the scheduled time of your section.
Lab Instructions#
Create a histogram for the following variables: ‘BURGLARY’, ‘ASSAULT’, ‘THEFT’
Create a choropleth map for the three variables
Calculate Global Moran’s I for for the three variables
Create LISA (Local Moran’s I) maps for the three variables
Scale your data using robust_scale()
Run hierarchical clustering and plot your results on a geographic map
Run hierarchical clustering with contiguity constraints and plot your results on a geographic map
Compare two geographic maps with clusters and explain which of the partitioning should be preferred and why.
Submit to GauchoSpace.