Near-Repeat Analysis

Statistics
Introduced by
Michael Townsley, Shane Johnson & Kate Bowers
Year
2003
Type
Space-time clustering test for crime contagion
Family
Spatial-temporal crime analysis

What does it do?

Near-repeat analysis tests whether crimes cluster in space and time beyond chance: after a crime occurs, are nearby locations at elevated risk for a short period?

Townsley, Homel and Chaseling (2003) applied the idea to burglary, using methods from the epidemiology of infectious diseases to study near-repeat victimization. The approach is commonly implemented as a Knox-style space-time test compared against a Monte Carlo reference distribution.

The intuition behind the method

Burglars who succeed at one house often return to it (repeat victimization), and they may also strike its neighbours soon afterwards, because they have learned the area, its layout and its rewards. Townsley, Homel and Chaseling (2003) argued that the effect should be strongest where housing is homogeneous: when neighbouring dwellings look alike, an offender has little reason to prefer one target over another, so nearby homes are more likely to be hit. Near-repeat analysis asks whether, given a crime at a place and time, other crimes are unusually likely to occur close by within the following days or weeks. It counts how many crime pairs fall into each combination of distance band and time band, then compares those counts with what random timing would produce. An excess of pairs that are close in both space and time is the signature of near-repeat contagion.

History

The near-repeat idea extends repeat victimization, the short-term elevated risk that a victimized target is victimized again, to nearby properties. Townsley, Homel and Chaseling (2003) tested it on 34 months of police-recorded burglary data from a high-crime area of Brisbane, Australia, and found near repeats mainly in suburbs with homogeneous housing. Johnson and Bowers (2004), drawing on optimal foraging theory, reported that burglary clusters shift over time, so their locations were not predictable over periods of three months or more, although they tended to move to nearby areas.

When to use it

Use near-repeat analysis when you have geocoded crime events with reliable dates and want to detect and quantify space-time contagion, meaning the elevated short-term risk to locations near a recent crime. It suits crimes where spatial spread is plausible, such as burglary, shootings and robbery, and its output can inform prospective hot-spot work that updates as new crimes occur. Avoid it when event dates are imprecise (only the month or the report date is known), when crime counts are too sparse to populate the contingency table with stable expected counts, or for crimes with no plausible spatial-diffusion mechanism. A significant result describes a pattern consistent with contagion; it does not by itself establish the causal mechanism.

Limitations and considerations

  • Establishes a space-time pattern consistent with contagion but cannot, alone, confirm the causal mechanism (same offender returning, offenders learning an area, or retaliation).
  • The permutation null assumes dates are exchangeable across locations when there is no interaction. Temporal trends, seasonality or spatial heterogeneity in background risk can produce a significant Knox ratio without any contagion, so they must be controlled for (for example by stratifying the reshuffling) or considered when reading results.
  • The evidence in Townsley, Homel and Chaseling (2003) came mainly from suburbs with homogeneous housing, so the near-repeat effect may be weaker or absent in heterogeneous areas, and the test alone does not indicate where to expect it.
  • Johnson and Bowers (2004) report that burglary clusters move over time and are not predictable over periods of three months or more, so a space-time pattern estimated over one period may not hold in another.
  • Sensitive to the choice of spatial and temporal band widths, which can change which cells appear significant.
  • Requires accurate event dates and coordinates; date uncertainty (for example, burglaries discovered days later) blurs the temporal signal. Needs sufficient crime volume, since sparse data leave contingency-table cells too small for stable inference.
  • Many cells are tested at once, so unadjusted p-values risk false positives without correction.

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

Strengths

  • Detects short-lived, localized elevations in risk that static long-run hot-spot maps can miss, which is why it is relevant to timely prevention.
  • The permutation reference reshuffles dates across fixed locations, so it preserves the spatial distribution of events and the set of event dates, and it reflects a world with no space-time interaction.
  • Produces an interpretable matrix of space and time bands showing how far and how long the excess risk extends.
  • Output can inform prospective risk mapping by indicating where further crimes are more likely shortly after an event.
  • Can be applied to any crime type where spatial diffusion is plausible; burglary is the best-established case.

Applications

  • Assessing the short-term elevated burglary risk to properties near a recent break-in, to support targeted patrol.
  • Exploring whether shootings or other violent crimes show space-time clustering consistent with contagion or retaliation.
  • Informing prospective hot-spot maps that update as new crimes occur, rather than relying only on static long-run hot spots.
  • Guiding prevention messaging to neighbours of recently victimized homes or businesses.
  • Examining how the geometry of linked events relates to offender foraging behaviour.

How it works

How it works

1

Every pair of crime events is characterized by two distances: the spatial separation dᵢⱼ between their locations and the temporal separation tᵢⱼ between their dates. The full set of pairwise space and time distances is the raw material of the analysis.

Formula
\text{For all pairs } (i,j): \ d_{ij} = \lVert x_i - x_j \rVert, \quad t_{ij} = |t_i - t_j|
2

Distances are binned into spatial bands and temporal bands, and the analysis counts Nₐᵦ, the number of event pairs falling into each space-band × time-band cell. For illustration, spatial bands might be 0–100 m and 100–200 m, and temporal bands 0–7 days and 8–14 days; the actual widths should be chosen for the crime type and data resolution. This Knox contingency table summarizes how often crimes occur close in both space and time.

Formula
N_{ab} = \#\{(i,j): d_{ij} \in D_a,\ t_{ij} \in T_b\}
3

Because the observed counts depend on the overall density of crime, a Monte Carlo reference is built by repeatedly reshuffling the event dates across the fixed locations and recomputing the Knox table each time. This yields, for every cell, a distribution of counts expected under no space-time interaction. The reshuffling treats dates as exchangeable across locations under that null. It therefore assumes that background risk has no temporal trend, seasonality or spatial heterogeneity that would by itself make some places and periods busier than others.

Formula
\{N_{ab}^{(m)}\}_{m=1}^{M} \ \text{from random reshuffling of event times}
4

Each cell's observed count is divided by the mean of its permutation counts, giving a Knox ratio: values above 1 indicate more close-in-space-and-time pairs than the reference average. The reported p-value is (1 + the number of permutations with a count at least as large as the observed count) divided by (M + 1), where M is the number of permutations. Counting the observed arrangement among the reference values in this way gives a slightly conservative estimate that is never exactly zero. Significant elevation in the short-time, short-distance cells is consistent with near-repeat victimization, provided the background-risk assumption above is reasonable.

Formula
KR_{ab} = \frac{N_{ab}}{\frac{1}{M}\sum_{m} N_{ab}^{(m)}}, \quad p_{ab} = \frac{1 + \#\{m: N_{ab}^{(m)} \ge N_{ab}\}}{M+1}

Common pitfalls

  • Using report dates or wide date ranges instead of true event times, which smears genuine near-repeat timing and can hide the effect.
  • Choosing band widths after seeing the data until a significant cell appears, rather than setting bands in advance on substantive grounds.
  • Interpreting a significant Knox ratio as proof that the same offender committed the linked crimes, when several mechanisms produce the same pattern.
  • Running the test on too few events, so the permutation reference is unstable and the ratios are dominated by noise.
  • Ignoring multiple-comparison issues across the many space–time cells, which inflates the chance of spurious significance.

Frequently asked questions

What is the difference between repeat and near-repeat victimization?

Repeat victimization is the elevated short-term risk that the same target (the same house, person, or business) is victimized again after an initial offense. Near-repeat victimization extends this to spatial neighbours: properties close to a victimized target also face elevated short-term risk. Near-repeat analysis quantifies how that excess risk decays with distance and time around the originating event.

Does a significant near-repeat pattern prove the same offender did it?

No. A significant Knox ratio shows that crimes cluster in space and time more than chance would predict, which is consistent with several mechanisms: the same offender returning, offenders learning that an area is rewarding, or stable attractive features of an area drawing different offenders. Background variation in risk can also contribute. Distinguishing these requires additional evidence such as modus operandi, forensic links, or offender data.

How are the space and time bands chosen?

Bands should be set in advance from substantive knowledge of the crime type and the resolution of the data, not after inspecting results. Because findings can shift with band width, report sensitivity to alternative widths and use enough events that each cell has a stable expected count under the permutation reference.

Related methods

Sources

  1. Townsley, M., Homel, R., & Chaseling, J. (2003). Infectious burglaries: A test of the near repeat hypothesis. British Journal of Criminology, 43(3), 615–633.

    Open DOI reference
  2. Johnson, S. D., & Bowers, K. J. (2004). The stability of space-time clusters of burglary. British Journal of Criminology, 44(1), 55–65.

    Open DOI reference