Covariate-Based Tests of Complete Spatial Randomness (Berman and Kolmogorov-Smirnov)
These tests ask whether the locations of events depend on a spatial covariate such as elevation or distance to a road. Under complete spatial randomness the covariate values at the events follow the covariate's distribution over the study window, so the method compares them with that distribution by Kolmogorov-Smirnov and Cramer-von Mises tests and by Berman's Z1 and Z2 statistics.
사건의 위치가 고도나 도로까지의 거리 같은 공간 공변량에 따라 달라지는지 묻는 검정입니다. 완전 공간 무작위성 아래에서는 사건 위치의 공변량 값이 연구 영역 전체의 공변량 분포를 따르므로, 콜모고로프-스미르노프와 크라메르-폰 미제스 검정, 버먼의 Z1과 Z2 통계량으로 두 분포를 비교합니다.
Do my events occur preferentially at high or low values of a spatial covariate?
사건이 공간 공변량의 높은 값이나 낮은 값에 몰려 일어납니까?
The method reports the Kolmogorov-Smirnov and Cramer-von Mises statistics with p-values, Berman's Z1 (based on the covariate sum) and Z2 (based on the covariate's ranks in the window) with p-values, and the mean covariate at events against the window mean, which shows the direction of any effect.
When to use Covariate-Based Tests of Complete Spatial Randomness (Berman and Kolmogorov-Smirnov)
- You have a point pattern and a covariate map covering the window.
- You want a simple test before fitting an intensity model.
- You want to show the direction of dependence on the covariate.
When to use something else
- You want to estimate how the intensity changes with covariates: use Inhomogeneous Poisson Point Process Model
- You want to test clustering or regularity between points: use Cross-Type Ripley's K (Bivariate Point Pattern)
Assumptions and requirements
- Background rows represent the covariate over the whole window (equal or given pixel areas)
- Events are independent given the intensity
What the analysis reports
- Kolmogorov-Smirnov and Cramer-von Mises tests
- Berman Z1 and Z2
- Mean covariate at events versus the window
How to report it
Testing CSR against dependence on elevation ([value] events) gave D = [value], p = [value] and Berman's Z1 = [value], p = [value].
Related methods
- Inhomogeneous Poisson Point Process Model
- Cross-Type Ripley's K (Bivariate Point Pattern)
- Spatial Dispersion Indices for Quadrat Counts
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with SciPy and direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-10.
독립 계산. SciPy·직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과(허용오차 1e-10).
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 Covariate-Based Tests of Complete Spatial Randomness (Berman and Kolmogorov-Smirnov) on Quorant
- Data you need
- a table (CSV or Excel) with score and a grouping variable
- Price
- 250 credits for one analysis up to 10,000 rows (complexity level 2); larger or wider data costs more. Optional methodologist review: 1200 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.