Workflow using ArcMap
Create a hot spot map of violent crime densities.
- If you haven't done so already, download and unzip the data package provided at the top of this workflow.
- Double-click the BrokenBottlesWorkflow.mpk map package to open it.
- To ensure you see messages during tool execution, turn off background processing by clicking on the Geoprocessing menu tab and selecting Geoprocessing Options. Uncheck the Enable box for Background Processing.
- Find and open the Optimized Hot Spot Analysis tool. Run the tool using the following parameters. The Analysis Boundary layer defines the study area.
- Input Features: Violent Crime 2014
- Output Features: the name of your output feature class such as ViolentCrimeHotSpots
- Incident Data Aggregation Method: COUNT_INCIDENTS_WITHIN_FISHNET_POLYGONS
- Bounding Polygons Defining Where Incidents Are Possible: Analysis Boundary
The tool writes a number of important messages to the progress window when it runs (see below) including the cell size it used for aggregation and the distance it used for analysis (the scale of the analysis). Notice that for this analysis the cell size is 1,375 feet and the scale of analysis is 4,563 feet (4554 US Feet for current software). If you are comparing multiple hot spot maps, you will want to make sure that the study area, cell size, and scale of analysis all match.
The output map created by Optimized Hot Spot Analysis is shown below:
Create a hot spot map of liquor vendor densities to compare to the violent crime hot spot map.
- Use the Optimized Hot Spot Analysis tool again with the following parameter settings. You will use the output from the violent crime hot spot analysis to define the study area and cell size.
- Input Features: Liquor Vendors
- Output Features: the name of your output feature class such as LiquorVendorHotSpots
- Incident Data Aggregation Method: COUNT_INCIDENTS_WITHIN_AGGREGATION_POLYGONS
- Polygons For Aggregating Incidents Into Counts: ViolentCrimeHotSpots
Now you can compare the hot spot maps to see where their activity spaces overlap.
Create a hot spot map of poverty.
- Use Catalog to navigate to the Poverty.lpk layer package you downloaded and drag it onto your map.
- Find and open the Optimized Hot Spot Analysis tool a third time.
- Set the parameters as follows and run the analysis.
- Input Features: Poverty
- Output Features: the name of your output feature class such as PovertyHotSpots
- Analysis Field: ACSHHBPOV (households with incomes below poverty level)
Overlay the hot spot maps to determine areas of overlap.
- Find and open the Select Layer By Attribute tool. You will run the tool for all three hot spot maps, each time selecting records where the Gi_Bin field is equal to 3 (a three for this field indicates a statistically significant hot spot at the 99 percent confidence level).
- Next, find and open the Intersect tool. Add all three layers as Input Features, provide a name for the output, such as iCrimeLiquorPoverty, and run the analysis.
Clear the selection and turn off layers to see the output. It shows the proposed areas for a liquor moratorium.
Create a space-time cube and analyze the crime trends within it.
- Find and open the Create Space Time Cube tool.
- For version 10.5 or later of ArcMap, to ensure the cube output aligns with the hot spot output, you must set the Processing Extent to match the Analysis Boundary layer. Click the Environments button at the bottom of the tool UI, expand Processing Extent, and select Analysis Boundary from the Extent drop down.
- Set the Create Space Time Cube tool parameters as follows and run the analysis. The cube is a netCDF file, so it must be created in a folder rather than inside a file geodatabase. Setting the Distance Interval to match the hot spot map cell size will allow you to overlay the crime trend result with hot spot maps later. For version 10.5 and 10.5.1 only, you must convert 1375 US Feet to 1375 International feet (1375.00275).
- Input Features: Violent Crime 2014
- Output Space Time Cube: the name of your output cube such as ViolentCrimeCube.nc
- Time Field: Date
- Time Step Interval: 4 Weeks
- Time Step Alignment: END_TIME
- Distance Interval: 1375 Feet; for versions 10.5 and 10.5.1 only, use 1375.00275 instead (see note below).
- Find and open the Emerging Hot Spot Analysis tool.
- Set the following parameters and run the analysis.
- Input Space Time Cube: ViolentCrimeCube.nc
- Output Features: the name of your output feature class such as ViolentCrimeTrends
- Neighborhood Distance: 0.5 Miles
- Neighborhood Time Step: 1
- Polygon Analysis Mask: Analysis Boundary
- Examine the results. The trend categories are defined as follows.
The Create Space Time Cube tool will report that it completed successfully but will not add any new layers to the Table of Contents.
Pattern Type | Definition |
---|---|
New Hot Spot | A location that is a statistically significant hot spot for the final time step and has never been a statistically significant hot spot before. |
Consecutive Hot Spot | A location with a single uninterrupted run of statistically significant hot spot bins in the final time-step intervals. The location has never been a statistically significant hot spot prior to the final hot spot run and less than ninety percent of all bins are statistically significant hot spots. |
Intensifying Hot Spot | A location that has been a statistically significant hot spot for ninety percent of the time-step intervals, including the final time step. In addition, the intensity of clustering of high counts in each time step is increasing overall and that increase is statistically significant. |
Persistent Hot Spot | A location that has been a statistically significant hot spot for ninety percent of the time-step intervals with no discernible trend indicating an increase or decrease in the intensity of clustering over time. |
Diminishing Hot Spot | A location that has been a statistically significant hot spot for ninety percent of the time-step intervals, including the final time step. In addition, the intensity of clustering in each time step is decreasing overall and that decrease is statistically significant. |
Sporadic Hot Spot | A location that is an on-again-off-again hot spot. Less than ninety percent of the time-step intervals have been statistically significant hot spots and none of the time-step intervals have been statistically significant cold spots. |
Oscillating Hot Spot | A statistically significant hot spot for the final time-step interval that has a history of also being a statistically significant cold spot during a prior time step. Less than ninety percent of the time-step intervals have been statistically significant hot spots. |
Historical Hot Spot | The most recent time period is not hot, but at least ninety percent of the time-step intervals have been statistically significant hot spots. |
New Cold Spot | A location that is a statistically significant cold spot for the final time step and has never been a statistically significant cold spot before. |
Consecutive Cold Spot | A location with a single uninterrupted run of statistically significant cold spot bins in the final time-step intervals. The location has never been a statistically significant cold spot prior to the final cold spot run and less than ninety percent of all bins are statistically significant cold spots. |
Intensifying Cold Spot | A location that has been a statistically significant cold spot for ninety percent of the time-step intervals, including the final time step. In addition, the intensity of clustering of low counts in each time step is increasing overall and that increase is statistically significant. |
Persistent Cold Spot | A location that has been a statistically significant cold spot for ninety percent of the time-step intervals with no discernible trend, indicating an increase or decrease in the intensity of clustering of counts over time. |
Diminishing Cold Spot | A location that has been a statistically significant cold spot for ninety percent of the time-step intervals, including the final time step. In addition, the intensity of clustering of low counts in each time step is decreasing overall and that decrease is statistically significant. |
Sporadic Cold Spot | A location that is an on-again-off-again cold spot. Less than ninety percent of the time-step intervals have been statistically significant cold spots and none of the time-step intervals have been statistically significant hot spots. |
Oscillating Cold Spot | A statistically significant cold spot for the final time-step interval that has a history of also being a statistically significant hot spot during a prior time step. Less than ninety percent of the time-step intervals have been statistically significant cold spots. |
Historical Cold Spot | The most recent time period is not cold, but at least ninety percent of the time-step intervals have been statistically significant cold spots. |
No Trend Detected | Does not fall into any of the hot or cold spot patterns defined above. |
Create a hot spot map of unemployment rates.
- Use Catalog to navigate to the Unemployment.lpk layer package you downloaded and drag it onto the map.
- Open the Optimized Hot Spot Analysis tool.
- Set the parameters as follows and run the analysis.
- Input Features: Unemployment
- Output Features: the name of your output feature class such as UnemploymentRateHotSpots
- Analysis Field: UNEMPRT_CY (unemployment rate)
Overlay the violent crime trend map with the unemployment rate hot spot map to determine areas of overlap.
- Find and open the Select Layer By Attribute tool. You will use it once to select intensifying, persistent, and consecutive hot spots ("PATTERN" = 'Consecutive Hot Spot' OR "PATTERN" = 'Intensifying Hot Spot' OR "PATTERN" = 'Persistent Hot Spot') and a second time to select the most intense unemployment rate hot spots ("Gi_Bin" = 3).
- Next, find and open the Intersect tool. Add the violent crime trends and unemployment rate hot spot maps with their active selections, provide a name for the output results such as iCrimeUnemp, and run the analysis.
Clear the selection and turn off layers to see the output.
Finally, select the public high schools within a quarter mile of the overlapping areas.
- Find and open the Select Layer By Location tool.
- Set the parameters as follows:
- Input Feature Layer: Public High Schools
- Relationship: WITHIN_A_DISTANCE
- Selecting Features: iCrimeUnemp
- Search Distance: 0.25 Miles
- Use the Copy Features tool to copy the selected high schools to a new feature class (this is optional, but it makes mapping and creating reports a bit easier).
- Input Features: Public High Schools
- Output Feature Class: the name of your output feature class such as SelectedHighSchools
You are now ready to make your final recommendations.