On this page find:
- About CrimeStat
- Organization of CrimeStat IV
- Copyright, Citation and Contact Information
- CrimeStat Program and Documentation Download
- CrimeStat User Workbook and Data
CrimeStat IV (version 4.02) is the most recent version of CrimeStat, a spatial statistics program for the analysis of crime incident locations. CrimeStat was developed by Ned Levine & Associates of Houston, Texas, under the direction of Ned Levine, Ph.D., and funded by grants from NIJ (grants 1997-IJ-CX-0040, 1999-IJ-CX-0044, 2002-IJ-CX-0007, and 2005-IJ-CX-K037).
CrimeStat is Windows-based and interfaces with most desktop GIS programs. It provides statistical tools to aid law enforcement agencies and criminal justice researchers in their crime mapping efforts. Many police departments around the country use CrimeStat, as do criminal justice and other researchers.
The program includes more than 100 statistical routines for the spatial analysis of crime and other incidents. CrimeStat inputs incident locations (e.g., robbery locations) in dbf, point shp or ASCII 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.
Organization of CrimeStat IV
CrimeStat is organized into seven sections:
Section 1: Data Setup
- Primary file — File of incident or point locations with X and Y coordinates. Zones can be treated as pseudo-point using a single point within the zone (e.g., the centroid). 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 — Associated file of incident or point locations with X and Y coordinates. The coordinate system must 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 several routines.
- Reference file — 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 — 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 IV can use 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.
Section 2: Spatial Description
- Spatial distribution — Statistics for describing the spatial distribution of incidents including the mean center, center of minimum distance, standard deviational ellipse, the convex hull and directional mean.
- Spatial autocorrelation — Statistics for describing the spatial autocorrelation between zones including general (global) 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 and 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 utility that assigns the primary points to the secondary points, either on the basis of nearest neighbor distance 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 distances between the primary or secondary file and the reference grid.
Section 3: Hot Spot Analysis
- Hot spot analysis I — Routines for conducting hot spot analysis including the mode, the fuzzy mode, hierarchical nearest neighbor clustering (Nnh) and risk-adjusted nearest neighbor hierarchical clustering (Rnnh). The Nnh and Rnnh hot spots can be output as ellipses or convex hulls. Both routines can simulate confidence intervals with a Monte Carlo simulation.
- Hot spot analysis II — Routines for conducting hot spot analysis including the Spatial and Temporal Analysis of Crime (STAC) and K-means clustering. STAC and K-means hot spots can be output as ellipses or convex hulls. Both routines can simulate confidence intervals with a Monte Carlo simulation.
- Hot spot analysis of zones — Routines for conducting hot spot analysis on zonal data including Anselin's local Moran, the Getis-Ord local G statistics, and zonal hierarchical nearest neighbor clustering. The zonal hierarchical nearest neighbor hot spots can be output as ellipses or convex hulls. All of these routines can simulate confidence intervals with a Monte Carlo simulation.
Section 4: Spatial Modeling I
- • Interpolation I — 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 variable (the secondary file), such as burglaries relative to the number of households).
- Interpolation II — Head Bang routine for smoothing zonal data that can be applied to events (counts) or 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 — 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, 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 — 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 — 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 whose 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.
Section 5: Spatial Modeling II
- • Regression modeling I — Module for analyzing the relationship between a dependent variable and one or more independent variables. The CrimeStat regression module includes Normal (Ordinary Least Squares), Poisson-based and Binomial Logit regression models, estimated by Maximum Likelihood (MLE) or Markov Chain Monte Carlo (MCMC) algorithms. The current version includes 30 different models including Normal/OLS, Poisson with Linear Dispersion Correction, Poisson-Gamma, Poisson-Lognormal, and Binomial Logit non-spatial regression models, and Poisson-Gamma-Conditional Autoregressive (CAR), Poisson-Gamma-Simultaneous Autoregressive (SAR), Poisson-Lognormal-CAR/SAR, and Binomial Logit-CAR/SAR spatial regression models. For the MCMC models, an exposure variable can be defined to allow an analysis of risk. The module can handle very large datasets through a Block Sampling approach.
- Regression modeling II — Module for predicting the dependent variable with the coefficients of one or more independent variables that have been estimated with the Regression I module.
- Discrete choice modeling I — Module for analyzing the relationship between a discrete (nominal) dependent variable and one or more independent variables. The CrimeStat discrete choice module includes both Multinomial Logit and Conditional Logit models. There is also a utility for creating a dataset appropriate for the Conditional Logit model.
- Discrete choice modeling II — Module for predicting a discrete dependent variable with the coefficients of one or more independent variables that have been estimated with the Discrete choice I module.
- Time series forecasting — Time series module that monitors crime or other counts by specific geographical areas (districts) and detects unusual levels of activity in the latest time period. It also forecasts expected counts in the next time period.
Section 6: Crime Travel Demand Modeling
Crime travel demand modeling is an application of travel demand modeling, widely used in transportation planning, to crime analysis. The analysis is done by zones.
First, a crime trip is defined as a link between an offender residence (origin) and a crime location (destination).
Second, the model is run sequentially in four separate stages with multiple routines in several stages:
- Trip generation — Produces separate models that predict the number of crimes originating in each zone (origins) and the number of crimes ending in each zone (destinations). CrimeStat IV uses multivariate Poisson-based regression models, either MLE or MCMC, to create the prediction. Trips from outside the study area (external trips) can be added to the origin model to ensure that all trips are included. 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 — The predicted trips from each zone to every other zone by travel mode are assigned to a likely route based on the A* 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.
Section 7: Options
- Parameters can be saved and re-loaded.
- Tab colors can be changed.
- Monte Carlo simulation data can be output.
- If the coordinate system is spherical (lat/lon), then the primary file can be saved as a kml file for display in Google Earth.
- Excel xlsx and xls files can be converted to dbf files for use in CrimeStat.
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 other chapters or from the program's help menu.
The CrimeStat Libraries (version 1.1) 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, point shape and ASCII text files and can output to shape file, ASCII text files and kml files.
Copyright, Citation and Contact Information
CrimeStat is copyrighted by and the property of Ned Levine and Associates and is 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 re-sold. The name CrimeStat is a registered trademark of Ned Levine & Associates.
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 (2015). CrimeStat: A Spatial Statistics Program for the Analysis of Crime Incident Locations (v 4.02). Ned Levine & Associates, Houston, Texas, and the National Institute of Justice, Washington, D.C. August.
Unless otherwise stated, individual chapters were authored by Ned Levine.
Questions relating to the software, sample data, or manual should be directed to:
Dr. Ned Levine
Ned Levine and Associates
CrimeStat Program and Documentation
CrimeStat IV Program
- CrimeStat IV Program (version 4.02) (zip, 1.3 MB) (Updated January 2015)
- All CrimeStat IV files (Program, Manual and Sample Data Sets) (zip, 39.9 MB) Does not include CrimeStat Libraries.
- CrimeStat Libraries (version 1.1 for Visual Studio 2005) (zip, 782 KB) (Updated December 2012)
- CrimeStat Libraries (version 1.1 for Visual Studio 2010) (zip, 908 KB) (New December 2012)
- Documentation for CrimeStat Libraries (pdf, 437 KB) (Updated December 2012)
Sample Data Sets
- CrimeStat IV Tutorial (pdf, 6 pages)
- General sample data set (zip, 103 KB)
- Sample data sets for Journey-to-crime module (zip, 190.3 KB)
- Sample data sets for Bayesian Journey-to-crime module (zip, 2.3 MB)
- Sample data sets for Correlated Walk Analysis routines (zip, 54 KB)
- Sample data sets for Discrete Choice Analysis module (zip, 503 KB)
- Sample data sets for Time Series Forecasting module (zip, 155 KB)
- Crime Travel Demand tutorial (zip, 1.3 MB)
- Mode Split Accessibility Function worksheet (xls, 146 KB)
- All sample data sets (zip, 2,866 KB)
Many chapters and sections linked below reference and link to other chapters or appendices. For those links to work, you must save all of the files in a folder named "Version 4.0 distribution". If you are interested in the complete documentation, we recommend downloading a zip file containing all chapters and sections (zip, 35.6 MB).
Part I: Program Overview
- Chapter 1 - Introduction to CrimeStat IV - by Ned Levine (pdf, 139 KB)
- Chapter 2 - Quickguide to CrimeStat IV - by Ned Levine & Associates (pdf, 1.1 MB)
- Chapter 3 - Entering Data into CrimeStat IV - by Ned Levine (pdf, 673 KB)
Part II: Spatial Description
- Chapter 4 - Centrographic Statistics - by Ned Levine (pdf, 1.5 MB)
- Chapter 5 - Spatial Autocorrelation Statistics - by Ned Levine (pdf, 1.0 MB) (updated January 2015)
- Chapter 6 - Distance Analysis I and II - by Ned Levine (pdf, 603 KB)
Part III: Hot Spot Analysis
- Chapter 7 - Hot Spot Analysis of Points: I - by Ned Levine (pdf, 1.5 MB)
- Chapter 8 - Hot Spot Analysis of Points: II - by Richard Block, Carolyn Rebecca Block, and Ned Levine (pdf, 2.3 MB)
- Chapter 9 - Hot Spot Analysis of Zones - by Ned Levine (pdf, 962 KB)
Part IV: Spatial Modeling I
- Chapter 10 - Kernel Density Interpolation - by Ned Levine (pdf, 2.2 MB)
- Chapter 11 - Head-Bang Interpolation - by Ned Levine (pdf, 361 KB)
- Chapter 12 - Space-Time Analysis - by Ned Levine (pdf, 746 KB)
- Chapter 13 - Journey-to-crime Estimation - by Ned Levine (pdf, 1.5 MB)
- Chapter 14 - Bayesian Journey-to-crime Estimation - by Ned Levine and Richard Block (pdf, 802 KB)
Part V: Spatial Modeling II
- Chapter 15 - OLS Regression Modeling - by Ned Levine and Dominique Lord (pdf, 602 KB)
- Chapter 16 - Poisson Regression Modeling - by Dominique Lord, Byung-Jung Park, and Ned Levine (pdf, 477 KB)
- Chapter 17 - Estimating Complex Models with Markov Chain Monte Carlo Simulation - by Dominique Lord, Ned Levine, Byung-Jung Park, Srinivas Geedipally, Haiyan Teng, and Li Sheng (pdf, 574 KB)
- Chapter 18 - Binomial Regression Modeling - by Ned Levine, Dominique Lord, and Byung-Jung Park (pdf, 501 KB)
- Chapter 19 - Spatial Regression Modeling - by Ned Levine, Dominique Lord, Byung-Jung Park, Srinivas Geedipally, Haiyan Teng, and Li Sheng (pdf, 479 KB)
- Chapter 20 - The CrimeStat Regression Module - by Ned Levine, Dominique Lord, Byung-Jung Park, Srinivas Geedipally, Haiyan Teng, Li Sheng, and Ian Cahill (PDF 374 KB); updated December 11, 2019
- Chapter 21 - Discrete Choice Modeling - by Wim Bernasco and Richard Block (pdf, 879 KB)
- Chapter 22 - The CrimeStat Discrete Choice Module - by Wim Bernasco, Richard Block, Ned Levine, and Ian Cahill (pdf, 423 KB)
- Chapter 23 - Time Series Forecasting - by Wil Gorr and Andreas M. Olligschlaeger (pdf, 1.0 MB)
- Chapter 24 - The CrimeStat Time Series Forecasting Module - by Wil Gorr and Andreas M. Olligschlaeger (pdf, 1.5 MB)
Part VI: Crime Travel Demand Modeling
- Chapter 25 - Overview of Crime Travel Demand Modeling - by Ned Levine (pdf, 593 KB)
- Chapter 26 - Data Preparation for Crime Travel Demand Modeling - by Ned Levine (pdf, 2.2 MB)
- Chapter 27 - Crime Trip Generation - by Ned Levine (pdf, 790 KB)
- Chapter 28 - Crime Trip Distribution - by Ned Levine, Richard Block, Dan Helms, and Phil Canter (pdf, 1.2 MB)
- Chapter 29 - Crime Mode Split - by Ned Levine (pdf, 634 KB)
- Chapter 30 - Crime Network Assignment - by Ned Levine (pdf, 2.6 MB)
- Chapter 31 - Case Studies in Crime Travel Demand Modeling I: Travel Patterns of Chicago Robbery Offenders - by Richard Block (pdf, 3.4 MB)
- Chapter 32 - Case Studies in Crime Travel Demand Modeling II: Application of Travel Demand Behavior Model to Crime Data from Las Vegas, Nevada - by Dan Helms (pdf, 3.9 MB)
- CrimeStat References (pdf, 130 KB)
- Appendix A - Some Notes on the Statistical Comparison of Two Samples - by Ned Levine (pdf, 210 KB)
- Appendix B - Ordinary Least Squares and Poisson Regression Models - by Luc Anselin (pdf, 296 KB)
- Appendix C - Negative Binomial Regression Models and Estimation Methods - by Dominique Lord and Byung-Jung Park (pdf, 252 KB)
Questions relating to the software, sample data or manual should be directed to:
Dr. Ned Levine
Ned Levine and Associates
CrimeStat User Workbook and Data
The CrimeStat III User Workbook is a separate product created by Susan C. Smith and Christopher W. Bruce for CrimeStat version 3.3. The CrimeStat program — currently in version 4.02 — and manual were created by Ned Levine. The information in this section pertains only to the workbook. Download CrimeStat IV or the CrimeStat IV manual.
NIJ, in conjunction with the former National Law Enforcement, Corrections and Technology Center-Southeast in Charleston, South Carolina, produced a CrimeStat workbook designed specifically for crime analysts in the use of CrimeStat III (version 3.3).
The workbook covers how to prepare data for CrimeStat, produce results and import them into ArcGIS 9.x for further analysis or presentation. It also covers entering data into CrimeStat III, basic descriptive statistics from Spatial Distribution, measures of clustering in Distance Analysis, several 'Hot Spot' techniques, and using both single and dual Kernel Density Interpolation. Upon completion of the workbook and exercises, users are able to immediately make use of CrimeStat at their own agencies in the analysis of crime patterns and trends.
The data used in the workbook is provided below as well as a PowerPoint file covering the workbook and all lessons is provided for download for those wanting to instruct a class.
User workbook files:
Chapter 20 of the guide has been updated.