Skip to content

Methods · Spatial analysis · Point pattern

Cross-Type Ripley's K (Bivariate Point Pattern)

The cross-type Ripley's K function measures, as a function of distance, how many points of one type lie around points of another type relative to complete spatial independence, with envelopes from random relabelling.

교차 유형 Ripley K 함수는 거리마다 한 유형의 점 주변에 다른 유형의 점이 독립 배치에 비해 얼마나 많은지를 재고, 라벨 무작위화 포위선으로 검정하는 방법입니다.

Are crimes of type B located closer to bars (type A) than chance would predict, and at what distances?

B 유형 범죄가 술집(A 유형) 근처에 우연보다 더 몰려 있나요, 그렇다면 어느 거리에서인가요?

The cross-type K function counts type-b points within distance r of each type-a point, scales by intensity and corrects for edge effects; its L transform minus r is zero when the types are independently located. Random-labelling envelopes and a global maximum-deviation test show whether the observed curve lies above (attraction) or below (repulsion) what label shuffling produces.

When to use Cross-Type Ripley's K (Bivariate Point Pattern)

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

The cross-type L function between [type a] (n = [value]) and [type b] (n = [value]) points was compared with [s] random-labelling simulations; the global deviation test gave p = [value].

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 1 reference test compares the results with direct computations (formulas, enumeration or simulation).

    독립 계산. 직접 계산(식·열거·모의실험) 대조 참조 시험 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 Cross-Type Ripley's K (Bivariate Point Pattern) on Quorant

Data you need
a table (CSV or Excel) with predictor (feature) columns and a grouping 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 Q62013 · Reviewed 2026-10-25