Statistics Glossary → Edge (boundary) correction
Edge (boundary) correctionconcept
Corrections in the analysis of spatial point data that remove the bias arising because some neighbours of points near the boundary of the study area lie outside it.
The observation window (study area) is bounded, but the point process usually continues beyond the boundary. Part of the circle around a point near the edge lies outside the area, so the number of neighbours counted there looks too small and the nearest-neighbour distance too large. Uncorrected analyses are therefore biased toward regularity. For Ripley's K function, common corrections weight each pair of neighbours by the inverse of the proportion of the circle that lies inside the area (Ripley's isotropic correction), use points within a set distance of the boundary only as neighbours (a buffer zone), or wrap the window around its edges (toroidal correction).
In kernel density estimation, part of the kernel mass of points near the boundary spills outside the window, so density is underestimated at the edges; the correction compensates by dividing each point's contribution by the share of its mass that falls inside the window. For the Clark-Evans nearest-neighbour index, the Donnelly correction gives a formula for rectangular windows. Measures that smooth over distance with a kernel, such as the pair correlation function g(r), also lose kernel mass at the r = 0 boundary, which is corrected separately. The smaller and more irregular the window, the larger the edge effect.
An everyday example
A forester studies whether trees in a 1-hectare plot are clustered. For a tree on the plot boundary, half of the 10-metre circle around it lies outside the plot, so only 3 neighbours are counted there, although there are trees beyond the boundary and the true number is close to 6. Edge correction makes up for this undercount using the share of the circle inside the plot; without it, the trees would look sparser and more regular than they are.
In MerQur
Available as 'Edge correction' (None, Bounding rectangle, Convex hull) in the KDE density map, and as 'Clark-Evans correction' (Automatic, None, Donnelly, cdf) and 'g(r) zero-boundary correction' (Automatic, Jones-Foster, Convolution, None) in point pattern analysis.
Analyses where this concept appears
KDE Density MapPoint Pattern Analysis (Ripley K/L, G/F/J, CSR)
Related concepts
Kernel density estimation (KDE)Ripley's K/L and the G, F, J functions