Knox Space-Time Interaction Test
The Knox test counts pairs of events that are close in both space and time and compares that count with its distribution when event times are randomly permuted among locations.
Knox 검정은 공간과 시간 모두 가까운 사건 쌍의 수를 세어, 사건 시각을 지점들 사이에서 무작위로 뒤섞었을 때의 분포와 비교하는 시공간 상호작용 검정입니다.
Do events that happen near each other also tend to happen at around the same time, beyond what separate spatial and temporal patterns would produce?
가까운 곳에서 일어난 사건들이 비슷한 시기에 함께 일어나는 경향이 우연 이상인지 검정하고 싶어요.
The Knox test fixes a distance threshold and a time threshold, counts the event pairs that fall within both, and compares this count with the counts obtained after shuffling the event times across locations. A count well above the permutation distribution indicates space-time interaction, such as contagion or near-repeat events.
When to use Knox Space-Time Interaction Test
- You have individual events with coordinates and a time or date
- You want to test for contagion or near-repeat patterns rather than purely spatial clustering
- You can justify meaningful distance and time thresholds
When to use something else
- You want to locate where and when clusters occur: use the space-time scan statistic
- You only have area totals without event times: use Moran's I or a spatial scan statistic
Assumptions and requirements
- Under the null hypothesis event times are exchangeable across locations
- The distance and time thresholds are chosen before looking at the result
- The population at risk does not shift in space over the study period
What the analysis reports
- Number of pairs close in space, in time and in both, with the expected count
- Permutation p-value and Poisson approximation p-value
- Optional Mantel correlation between spatial distances and time differences with a permutation p-value
- Two-by-two table of observed and expected pair counts
How to report it
A Knox test (δ = [value], τ = [value] days; N = [value] events) found [value] pairs close in both space and time versus [value] expected (ratio = [value]), permutation p = [value] ([value] permutations).
Related methods
- Kulldorff Spatial Scan Statistic
- Mantel Test
- Ripley's K Function
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with reference values computed independently in the test suite.
독립 계산. 시험에서 따로 계산한 참조값 대조 참조 시험 1건 통과.
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 Knox Space-Time Interaction Test on Quorant
- Data you need
- a table (CSV or Excel) with predictor (feature) columns and a time variable
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 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.