Today’s class was centered on analyzing geographical data pertaining to police shootings using a dataset with about 7,000 entries. We looked at the longitude and latitude details to understand the spread of these incidents.
Our analysis was conducted in Mathematica, where we applied several functions to process and visualize the data:
– We used Geo Position to convert the latitude and longitude data into geographic positions that Mathematica can work with.
– Geo List Plot was the tool of choice for creating maps that display the locations of the police shootings.
– To visualize the density of the events, we created geographic histograms using Geo Histogram and Geo Smooth Histogram.
– We calculated the distances between shooting locations with Geo Distance to understand the spatial distribution.
– For the clustering analysis, we explored the spatial distribution using Mathematica’s Find Clusters function. We also delved into the DBSCAN clustering method, which revealed four distinct clusters for the state of California.