Skip to content

Methods · Hypothesis testing · Two-sample distribution tests

Ball Divergence Two-Sample Test

Ball divergence compares two samples by looking at balls centred at each observation: inside every ball it compares the share of points from the first sample with the share from the second. Summing the squared differences over all balls of both samples gives a statistic that is zero only when the two distributions are the same.

볼 발산은 각 관측을 중심으로 한 공 안에서 첫째 표본 점의 비율과 둘째 표본 점의 비율을 비교하고, 두 표본의 모든 공에 걸쳐 제곱 차이를 더해 두 분포가 같을 때만 0이 되는 통계량을 만듭니다.

Do two groups come from the same distribution when several variables are measured, or when the data are heavy-tailed?

여러 변수를 잰 두 집단, 또는 꼬리가 두꺼운 자료에서 두 집단의 분포가 같은가요?

The method reports the ball divergence, its two components (balls centred in each group) and an exact or Monte Carlo permutation p-value.

When to use Ball Divergence Two-Sample Test

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

A ball divergence test found that the two groups differ in distribution, BD = [value], p = [value] (permutation).

Related methods

How this method is validated

이 방법의 검증 근거

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

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

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 Ball Divergence Two-Sample Test 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 Q11176 · Reviewed 2026-10-25