Skip to content

Methods · Spatial analysis · Point patterns on networks

Network K-Function and Network Kernel Density for Points on a Linear Network

When events can only occur along a network such as roads or rivers, distances should be measured along the network. The network K-function counts pairs of events within a network distance and compares the count with random patterns on the same network; the network kernel density maps where events concentrate along the segments.

사건이 도로나 하천 같은 네트워크 위에서만 일어날 때는 거리를 네트워크를 따라 재야 합니다. 네트워크 K함수는 네트워크 거리 안의 사건 쌍을 세어 같은 네트워크 위의 무작위 배치와 비교하고, 네트워크 커널밀도는 구간을 따라 사건이 모이는 곳을 지도화합니다.

Are traffic collisions on our city's road network clustered along the streets, and which road segments are the hotspots?

우리 도시 도로망의 교통사고가 도로를 따라 군집되어 있습니까, 그리고 어느 구간이 핫스팟입니까?

The method returns the observed network K-function with Monte Carlo envelopes and a global deviation test against random placement on the network, plus a kernel density along the network with the highest-density locations.

When to use Network K-Function and Network Kernel Density for Points on a Linear Network

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

For [n] events on a network of total length [value] km, the network K-function exceeded the envelope of [value] random patterns at distances up to [value] m (global test p = [value]).

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 1 reference test compares the results with NetworkX and direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-9.

    독립 계산. NetworkX·직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과(허용오차 1e-9).

Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.

허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.

Run Network K-Function and Network Kernel Density for Points on a Linear Network on Quorant

Data you need
a table (CSV or Excel) with source, target, a weight column and an outcome variable
Price
600 credits for one analysis up to 10,000 rows (complexity level 4); larger or wider data costs more. Optional methodologist review: 2400 credits.
Checking
Compared with independent computations
Before you pay
A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.

Method ID Q62078 · Reviewed 2026-10-25