# CrimeStat III: A Spatial Statistics Program for the Analysis of Crime Incident Locations (Version 3.3) (ICPSR 2824)

**Principal Investigator(s): **
Levine, Ned, Ned Levine and Associates

*CrimeStat III* is a spatial statistics program for the analysis of crime incident locations, developed by Ned Levine and Associates under the direction of Ned Levine, PhD, that was funded by grants from the National Institute of Justice (grants 1997-IJ-CX-0040, 1999-IJ-CX-0044, 2002-IJ-CX-0007, and 2005-IJ-CX-K037). The program is Windows-based and interfaces with most desktop GIS programs. The purpose is to provide supplemental statistical tools to aid law enforcement agencies and criminal justice researchers in their crime mapping efforts. *CrimeStat* is being used by many police departments around the country as well as by criminal justice and other researchers. The latest version is 3.3.

The program inputs incident locations (e.g., robbery locations) in 'dbf', 'shp', ASCII or ODBC-compliant formats using either spherical or projected coordinates. It calculates various spatial statistics and writes graphical objects to ArcGIS, MapInfo, Surfer for Windows, and other GIS packages.

*CrimeStat* is organized into five sections:

# Data Setup

**Primary file**- this is a file of incident or point locations with X and Y coordinates. The coordinate system can be either spherical (lat/lon) or projected. Intensity and weight values are allowed. Each incident can have an associated time value.**Secondary file**- this is an associated file of incident or point locations with X and Y coordinates. The coordinate system has to be the same as the primary file. Intensity and weight values are allowed. The secondary file is used for comparison with the primary file in the risk-adjusted nearest neighbor clustering routine and the duel kernel interpolation.**Reference file**- this is a grid file that overlays the study area. Normally, it is a regular grid though irregular ones can be imported.*CrimeStat*can generate the grid if given the X and Y coordinates for the lower-left and upper-right corners.**Measurement parameters**- This page identifies the type of distance measurement (direct, indirect or network) to be used and specifies parameters for the area of the study region and the length of the street network.*CrimeStat III*has the ability to utilize a network for linking points. Each segment can be weighted by travel time, travel speed, travel cost or simple distance. This allows the interaction between points to be estimated more realistically.

# Spatial Description

**Spatial distribution**- statistics for describing the spatial distribution of incidents, such as the mean center, center of minimum distance, standard deviational ellipse, the convex hull, or directional mean.**Spatial autocorrelation**- statistics for describing the amount of spatial autocorrelation between zones, including general spatial autocorrelation indices - Moran's I , Geary's C, and the Getis-Ord General G, and correlograms that calculate spatial autocorrelation for different distance separations - the Moran, Geary, Getis-Ord correlograms. Several of these routines can simulate confidence intervals with a Monte Carlo simulation.**Distance analysis I**- statistics for describing properties of distances between incidents including nearest neighbor analysis, linear nearest neighbor analysis, and Ripley's K statistic. There is also a routine that assigns the primary points to the secondary points, either on the basis of nearest neighbor or point-in-polygon, and then sums the results by the secondary point values.**Distance analysis II**- calculates matrices representing the distance between points for the primary file, for the distance between the primary and secondary points, and for the distance between either the primary or secondary file and the grid.**'Hot spot' analysis I**- routines for conducting 'hot spot' analysis including the mode, the fuzzy mode, hierarchical nearest neighbor clustering, and risk-adjusted nearest neighbor hierarchical clustering. The hierarchical nearest neighbor hot spots can be output as ellipses or convex hulls.**'Hot spot' analysis II**- more routines for conducting hot spot analysis including the Spatial and Temporal Analysis of Crime (STAC), K-means clustering, Anselin's local Moran, and the Getis-Ord local G statistics. The STAC and K-means hot spots can be output as ellipses or convex hulls. All of these routines can simulate confidence intervals with a Monte Carlo simulation.

# Spatial Modeling

**Interpolation I**- a single-variable kernel density estimation routine for producing a surface or contour estimate of the density of incidents (e.g., burglaries) and a dual-variable kernel density estimation routine for comparing the density of incidents to the density of an underlying baseline (e.g., burglaries relative to the number of households).**Interpolation II**- a Head Bang routine for smoothing zonal data that can be applied to events (volumes), rates or can be used to create rates. In addition, there is an interpolated Head Bang routine for interpolating the smoothed Head Bang result to grid cells.**Space-time analysis**- a set of tools for analyzing clustering in time and in space. These include the Knox and Mantel indices, which look for the relationship between time and space, and the Correlated Walk Analysis module, which analyzes and predicts the behavior of a serial offender and a spatial-temporal moving average.**Journey to crime analysis**- a simple criminal justice method for estimating the likely location of a serial offender given the distribution of incidents and a model of travel distance. The routine allows the user to estimate a travel model with a calibration file and apply it to the serial events. It can be used to identify a likely location given the distribution of 'points' and assumptions about travel behavior. There is a routine for drawing lines between origins and destinations (crime trips).**Bayesian journey to crime analysis**- an advanced criminal justice method for estimating the likely location of a serial offender given the distribution of incidents, a model of travel distance, and an origin-destination matrix showing the relationship between where crimes were committed and where offenders lived. A diagnostics routine analyzes serial offenders for whom their residence is known and estimates which of several journey to crime estimates is most accurate. A selected method can be applied to identify a likely residence location of a single serial offender given the distribution of incidents, assumptions about travel behavior, and the origin of offenders who committed crimes in the same locations.**Regression modeling**- a module for analyzing a relationship between a dependent variable and one or more independent variables. The CrimeStat regression module includes both Ordinary Least Squares and Poisson-based regression models, estimated from Maximum Likelihood (MLE) or Markov Chain Monte Carlo (MCMC) algorithms. The current version includes six different models including OLS, Poisson with Linear Dispersion Correction, Poisson-Gamma and a Poisson-Gamma-Conditional Autoregressive (CAR) spatial regression model. The module can handle very large datasets through a Block Sampling approach. There is also a module for applying estimated coefficients to a new dataset to make predictions.

# Crime Travel Demand Modeling

Crime travel demand modeling is a new module in *CrimeStat III*. It is an application of travel demand modeling, widely used in transportation planning, to crime analysis. The analysis is done by zones. First, crime 'trips' are defined as a link between an offender residence/origin location and a crime location. The number of crimes originating in each zone is counted as is the number of crimes ending in each zone. Second, the model is run sequentially in four separate stages with multiple routine in each stage:

**Trip Generation**- Separate models are produced that predict the number of crimes originating in each zone (origins) and the number of crimes ending in each zone (destinations).*CrimeStat III*uses a multivariate Poisson regression model, with stepwise options, to create the prediction. Trips from outside the study area (external trips) can be added to the origin model to account for travel from outside the region. Once the models are created, a balancing procedure ensures that the number of origins equals the number of destinations.**Trip Distribution**- Using the predicted number of crime trips originating in each zone and the predicted number of trips occurring in each zone, the second stage distributes trips from each zone to every other zone using a gravity model. There are routines for calculating the actual (observed) distribution from individual data, for estimating the prediction coefficients, and for applying the predicted coefficients to the predicted origins and destinations. Another routine allows a comparison of the predicted trip distribution with the observed trip distribution.**Mode Split**- The predicted number of trips for each zone-to-zone pair can be split into likely travel modes using an accessibility function that approximates the utility of one mode relative to the others.**Network Assignment**- Finally, the predicted trips from each zone to every other zone by travel mode are assigned to a likely route based on the shortest path algorithm. The output includes the likely routes taken for each origin-destination zone pair and the total volume of trips on network links. This step requires a travel network, one for each travel mode. There are additional utilities for calculating transit networks from station/stop locations and for testing for one-way streets.

# Options

**Parameters**can be saved and re-loaded.**Tab colors**can be changed.**Monte Carlo simulation**data can be output.

*CrimeStat* is accompanied by sample datasets and a manual that gives the background behind the statistics and examples. The manual also discusses applications of *CrimeStat* developed by other analysts and researchers. The program and sample data sets are in Windows-based zipped files that can be downloaded. The manual is a set of individual chapters in PDF files. They can be viewed online or downloaded. If downloading the PDF chapters separately, they should be saved into the same directory as the *CrimeStat* program. If the PDF file names are not renamed, they can be accessed directly from the program's help menu.

# CrimeStat Libraries

The CrimeStat Libraries (version 1.0) are component objects that allow for the functions of CrimeStat to be programmed directly into custom software or systems. The CrimeStat Libraries include all of the routines that were developed through version 2.0 of the regular CrimeStat program, including spatial description, hot spot analysis, and kernel density interpolation routines. Additional spatial autocorrelation routines have been included. The libraries can input dbf, shape, and Ascii text files and can output to shape file, MIF/MID files, ASCII text files, and KML files.

## Access Notes

These data are not available from ICPSR. Users should consult the data owners directly (via CrimeStat Web Site) for details on obtaining these resources.

## Study Description

### Funding

This study was funded by:

- United States Department of Justice. Office of Justice Programs. National Institute of Justice (1997-IJ-CX-0040, 1999-IJ-CX-0044, 2002-IJ-CX-0007, 2005-IJ-CX-K037 )

### Scope of Study

**Subject Terms: **
computer programs,
crime mapping,
crime statistics,
geographic information systems

The CrimeStat program and documentation are now available from the National Archive of Criminal Justice Data at CrimeStat .

The program is the property of, and is copyrighted by, Ned Levine and Associates, intended for the use of law enforcement agencies, criminal justice researchers, and educators. It can be distributed freely for educational or research purposes, but cannot be resold. The name CrimeStat is a registered trademark of Ned Levine and Associates. The program must be cited correctly in any publication or report that uses results from the program.

Programming was conducted by Ms. Haiyan Teng, Houston, Texas, Mr. Long Doan of Doan Associates, Falls Church, Virginia, and Mr. Cahill of Cahill Software, Ottawa, Ontario.

CrimeStat is comprised of the CrimeStat Program (5 files), the General Sample Data Set (2 files), the Sample Data Set for the Journey to Crime Module (3 files), the Sample data sets for Bayesian Journey to Crime module (6 files), the Sample Data Set for Correlated Walk Analysis Routine (4 files), the Crime Travel Demand Tutorial (13 files), the Mode Split Accessibility Function worksheet in Excel (1 file), and the CrimeStat Manual (24 files). After all files have been downloaded and extracted, the user should have 58 files.

The program must be cited correctly in any publication or report that uses results from the program. The author's suggested citation is:

Ned Levine (2010). *CrimeStat*: A Spatial Statistics Program for the Analysis of Crime Incident Locations (v 3.3). Ned Levine and Associates, Houston, TX, and the National Institute of Justice, Washington, DC, July.

## Related Publications

- List all ~125 citations associated with this study

### Most Recent Publications

**Spatial variation in motor vehicle crashes by gender in the Houston Metropolitan Area**. Proceedings of the 4th International Conference on Women's Issues in Transportation. Volume II: Technical Papers. Washington, DC: Transportation Research Board.

**Bayesian journey to crime estimation: An improvement in geographic profiling methodology**. Professional Geographer. 63, (2), 1-17.

**Linking origins with destinations for DWI motor vehicle crashes: An application of crime travel demand modeling**. Crime Mapping. 3, 7-41.

**Exploring spatial dynamics with land price indexes**. Urban Studies. 48, (4), 719-735.

**BioPortal**. Infectious Disease Informatics: Syndromic Surveillance for Public Health and BioDefense: Integrated Series in Information Systems. New York, NY: Springer Science & Business Media.

**Spatial patterns and genetic structures within beech populations (Fagus sylvatica L.) of forked and non-forked individuals**. European Journal of Forest Research. 129, (6), 1191-1202.

**Is it important to examine crime trends at a local 'micro' level?: A longitudinal analysis of street to street variability in crime trajectories**. Journal of Quantitative Criminology. 26, (1), 7-32.

**Linking burglary and target hardening at the property level: New insights into victimization and burglary protection**. Criminal Justice Policy Review. 21, (3), 319-337.

**Fundamentals of Crime Mapping**. Sudbury, MA: Jones and Bartlett.

**Processing constrained k-closest pairs queries in crime databases**. Annals of Information Systems: Security Informatics. New York, NY: Springer.