Kernel Density Crime Mapping

Statistics
Introduced by
Bernard Silverman (KDE); Spencer Chainey (crime mapping application)
Year
2008
Type
Nonparametric density estimation for crime surfaces
Family
Spatial crime analysis

What does it do?

Kernel density crime mapping converts a set of geocoded crime points into a continuous surface that shows where incidents concentrate.

Each event is spread over a small neighborhood by a kernel function, and the overlapping contributions are summed over a fine grid, so areas with many nearby crimes appear as peaks. The approach is one of the hot-spot mapping techniques examined by Chainey, Tompson, and Uhlig (2008) in relation to predicting spatial patterns of crime.

The intuition behind the method

A dot map of crimes is hard to read: dots overlap, and the eye cannot judge where concentration is truly highest. Kernel density estimation fixes this by replacing each sharp dot with a small smooth bump and adding all the bumps together. Where crimes are close, their bumps reinforce one another into tall ridges; where crimes are isolated, the surface stays low. The result is a heat map that reads at a glance, with warm colors marking the densest areas. The crucial dial is the bandwidth — the width of each bump: small bandwidths make a spiky, detailed surface, while large ones produce a broad, smooth one, so the same data can look like many small hot spots or a few large ones depending on this single choice.

History

Kernel density estimation was developed in statistics by Rosenblatt and Parzen, and Bernard Silverman's 1986 text is a standard reference for nonparametric density estimation. The method is now available in desktop GIS and in dedicated crime-analysis software such as CrimeStat. Chainey, Tompson, and Uhlig (2008) examined the utility of hotspot mapping for predicting spatial patterns of crime.

When to use it

Choose kernel density crime mapping when you have geocoded point events and want a continuous picture of where incidents concentrate, for example for briefings, patrol tasking, or a simple surface of likely future locations that can later be checked against recorded crime. It is suited to visualization and descriptive prediction. Do not use it as a test that a concentration exceeds chance; for that, a statistic such as Getis-Ord Gi* is needed. Do not use it to explain why places are risky; risk terrain modeling addresses that question. It is also a poor choice when events are too sparse to form a meaningful density, because the surface would mostly reflect where a few points happen to fall. Because the result depends on the bandwidth, report that choice openly rather than presenting the surface as an objective measure of concentration.

Limitations and considerations

  • The surface depends strongly on the bandwidth, so the same data can show many small or a few large hot spots.
  • It is descriptive and does not test whether any concentration exceeds what spatial randomness would produce.
  • Raw density reflects crime counts, not risk per capita or per opportunity, unless normalized by an at-risk population.
  • Edge effects can distort estimates near study-area boundaries where part of each kernel falls outside the data.
  • It explains neither the causes of concentration nor any temporal dynamics in a single static surface.
  • The surface reflects recorded incidents, so it is shaped by reporting rates and by police activity, and it assumes the events form a representative sample of the underlying crime process. Predictions built on it inherit these biases.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Turns a cluttered dot map into a continuous surface in which concentration can be seen at a glance.
  • Its output can be thresholded into hot spots and later compared with subsequent crime, so predictive performance can be assessed rather than assumed.
  • Needs only point locations, so it applies to any geocoded crime dataset without area-level data.
  • The surface can be re-evaluated on a different grid resolution from the same events, because it is a function of location rather than of fixed zones.
  • Available in several widely used GIS and spatial-statistics tools (listed in the in-practice section), which makes the workflow easy to reproduce.

Applications

  • Producing operational heat maps of recent crime for daily briefings and patrol tasking.
  • Generating prediction surfaces to anticipate where the next incidents are most likely.
  • Visualizing the spatial distribution of a specific crime type, such as burglary or robbery, for analysis.
  • Comparing crime concentration before and after an intervention to communicate change to stakeholders.
  • Combining density surfaces of crime and risk factors as inputs to broader spatial models.

How it works

How it works

1

The analysis begins by setting the bandwidth h, the search radius that controls how far each crime's influence spreads. h is expressed in the same units as the coordinates of the events (for example, map units such as metres or feet). A small bandwidth yields a detailed but noisy surface that may fragment a single hot spot; a large one yields a smooth surface that may merge distinct hot spots. The choice can be fixed from substantive scale (e.g., a block or beat), set by rules of thumb, or selected by data-driven criteria such as least-squares or likelihood cross-validation, which choose h from the spread of the events themselves. Data-driven selectors are standard in density estimation but can be unstable when events are few, so their results should be checked against a substantive scale. The choice is the most consequential decision in the whole procedure.

Formula
h > 0 \quad \text{(search radius / smoothing bandwidth)}
2

A kernel K is the shape of the bump placed on each event: a nonnegative function that integrates to one, such as a Gaussian, quartic (biweight), or Epanechnikov kernel, scaled by the bandwidth to give K_h. In most practical settings the kernel's shape matters less than the bandwidth. What matters is that it concentrates weight near each event and tapers smoothly to zero with distance.

Formula
K(u) \ge 0, \quad \int K(u)\, du = 1, \quad K_h(u) = \frac{1}{h^2} K\!\left(\frac{u}{h}\right)
3

The estimate at any location s is built from the n events: each event contributes a kernel term that depends on its distance from s relative to h, and the sum is scaled by 1/(n h^2) so that the surface integrates to one. Cells near many events accumulate high values, and cells far from events stay near zero. Because of the 1/n factor, the surface is a density per unit area; multiplying it by n gives an intensity in events per unit area. It can be evaluated on a raster grid of any resolution.

Formula
\hat{\lambda}(s) = \frac{1}{n h^2} \sum_{i=1}^{n} K\!\left(\frac{\lVert s - s_i \rVert}{h}\right)
4

Finally, the smooth surface is converted into hot spots by thresholding. Areas whose density lies above a chosen cutoff on the surface's value distribution are mapped as hot zones. The cutoff is a substantive decision and should be stated alongside the map, because a different cutoff yields a different set of hot spots from the same surface. The extracted hot spots can then be compared against later crime to assess how well they anticipate future incidents; Chainey, Tompson, and Uhlig (2008) examine the predictive utility of hotspot mapping.

Formula
\text{Hot spot} = \{\, s : \hat{\lambda}(s) \ge q_{\tau} \,\}

Common pitfalls

  • Tuning the bandwidth until the map shows a desired pattern instead of fixing it on substantive or data-driven grounds.
  • Calling kernel-density peaks 'statistically significant hot spots' when no significance test has been performed.
  • Mapping raw counts and ignoring the underlying population or activity, so dense areas merely reflect more people.
  • Choosing a cell size mismatched to the bandwidth, producing either blocky artifacts or a falsely smooth surface.
  • Ignoring edge effects, which can suppress density along boundaries and hide concentrations at the map's margin.

Frequently asked questions

How should I choose the bandwidth?

The bandwidth is the single most influential setting, so choose it deliberately rather than by default. Options include fixing it to a meaningful spatial scale (a block, a beat), using rules of thumb from the density-estimation literature, or applying data-driven selectors such as cross-validation. Good practice is to set the bandwidth a priori on substantive grounds, report the value used, and show how the surface changes under alternative bandwidths so readers can judge sensitivity.

Is a kernel density hot spot the same as a statistically significant cluster?

No. Kernel density estimation shows where incidents are dense but does not test whether that density exceeds chance. A region can look hot simply because more people and activity are there. To claim a cluster is statistically significant you need a test such as the Getis-Ord Gi* statistic or a point-pattern method; KDE is best treated as a visualization and prediction surface rather than an inferential test.

Should I map raw crime counts or rates?

Raw kernel density reflects the number of events, so dense areas often coincide with dense populations or activity. If the question is about risk to people or targets, you should normalize, for example by taking the ratio of crime density to population or opportunity density. Whether to map counts or rates depends on whether you care about the volume of crime or the relative risk.

Related methods

Sources

  1. Chainey, S., Tompson, L., & Uhlig, S. (2008). The utility of hotspot mapping for predicting spatial patterns of crime. Security Journal, 21(1–2), 4–28.

    Open DOI reference
  2. Silverman, B. W. (1986). Density Estimation for Statistics and Data Analysis. Chapman and Hall.

    ISBN: 9780412246203