Energy Distance Test of Equal Distributions (Two- and k-Sample)
The energy distance test checks whether two or more samples come from the same multivariate distribution by comparing average distances between and within samples, with a permutation p-value.
에너지 거리 검정은 집단 간 평균 거리와 집단 내 평균 거리를 비교하여 둘 이상의 표본이 같은 다변량 분포에서 왔는지를 순열 p값으로 검정하는 방법입니다.
Do customers from three regions differ in the joint distribution of age, income and spending, not just in their means?
세 지역 고객의 나이·소득·지출의 결합분포가 평균뿐 아니라 분포 전체로 다른지 어떻게 검정하나요?
Compute the energy statistic from average Euclidean distances between and within the groups and compare it with its permutation distribution. A small p-value means the groups differ somewhere in location, spread or shape of the joint distribution.
When to use Energy Distance Test of Equal Distributions (Two- and k-Sample)
- You want to compare whole distributions rather than means.
- Several numeric variables should be compared jointly.
- Normality and equal covariance matrices are doubtful.
When to use something else
- Only mean differences matter and assumptions hold; use Hotelling's T-squared or MANOVA.
- Observations are paired or clustered; use a test that respects the pairing.
Assumptions and requirements
- Independent observations, exchangeable under the null.
- Variables measured on comparable scales or standardised first.
- At most 2,000 rows are used (seeded subsample above that).
What the analysis reports
- Energy statistic summed over pairs of groups with permutation p
- DISCO between and within dispersion and F with permutation p
- Energy statistic for every pair of groups
How to report it
An energy-distance test indicated that the multivariate distributions differed across the [k] groups, E = [value], permutation p = [value] ([B] permutations).
Related methods
How this method is validated
이 방법의 검증 근거
- Automated tests. Checked by automated run tests; no external reference comparison is recorded yet.
자동 시험. 자동 실행 시험을 거칩니다. 외부 참조값과 대조한 기록은 아직 없습니다.
Run Energy Distance Test of Equal Distributions (Two- and k-Sample) on Quorant
- Data you need
- a table (CSV or Excel) with predictor (feature) columns 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
- Automated run tests; no external reference comparison yet
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.