Space-Time K Function and Space-Time Kernel Intensity
Summarises how events that are close in space are also close in time. The space-time K function counts pairs within a distance and a time lag, corrected for the edges of the study region and period, and is compared with the product of the purely spatial and purely temporal K functions; the difference measures space-time interaction and is tested by shuffling times among locations. A kernel surface over space and time shows where and when events concentrate.
공간에서 가까운 사건이 시간에서도 가까운지를 요약합니다. 시공간 K 함수는 주어진 거리와 시간차 안의 사건 쌍을 연구 지역과 기간의 경계를 보정해 세고, 공간 K 함수와 시간 K 함수의 곱과 비교합니다. 그 차이가 시공간 상호작용이며 위치 사이에서 시점을 뒤섞어 검정합니다. 시공간 커널 강도는 사건이 어디서 언제 몰리는지 보여 줍니다.
Do cases of a disease that occur near each other also occur at around the same time, as an infectious process would produce?
가까운 곳에서 생긴 질병 사례가 감염 과정처럼 비슷한 시기에도 몰려 생깁니까?
K functions on a grid of distances and time lags, the excess D and relative excess, a Monte Carlo p-value for interaction, and the peak of the space-time intensity.
When to use Space-Time K Function and Space-Time Kernel Intensity
- Events have a location and a time
- You want to know whether space and time clustering interact
- The study region is (approximately) a rectangle
When to use something else
- Only a quick test at one distance and lag is needed: use Knox Space-Time Interaction Test
- Events are aggregated to areas: use Spatial and Space-Time Scan Statistic (Kulldorff)
Assumptions and requirements
- The study region and period are correctly given
- Under the null, times are exchangeable among locations
- Edge correction for a rectangle
What the analysis reports
- K(u, v), K(u), K(v) and D(u, v)
- Relative excess D0
- Permutation p-value
- Kernel intensity peak and bandwidths
How to report it
The space-time K function showed a largest relative excess of [value] at [value] km and [value] days; Monte Carlo test of interaction p = [value].
Related methods
- Knox Space-Time Interaction Test
- Spatial and Space-Time Scan Statistic (Kulldorff)
- Cross-Type Ripley's K (Bivariate Point Pattern)
How this method is validated
이 방법의 검증 근거
- R cross-check. 5 reported values agree with R (spatstat.explore::Kest) within a tolerance of 1e-9; the largest observed difference is 3e-15.
R 교차 검증. R(spatstat.explore::Kest) 대조: 보고 값 5개가 허용오차 1e-9 안에서 일치합니다(관측된 최대 차이 3e-15).
- Independent computation. 2 reference tests compare the results with direct computations (formulas, enumeration or simulation).
독립 계산. 직접 계산(식·열거·모의실험) 대조 참조 시험 2건 통과.
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 Space-Time K Function and Space-Time Kernel Intensity on Quorant
- Data you need
- a table (CSV or Excel) with a time variable, lat and lon
- 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
- Results cross-checked against R
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.