Skip to content

Methods · Hypothesis testing · Multivariate two-sample tests

Henze-Penrose Divergence Estimation and Test

The method builds the Euclidean minimal spanning tree of the pooled multivariate sample and counts the edges that join an observation of one sample to an observation of the other. Few such edges mean the samples occupy different regions. The count is turned into an estimate of the Henze-Penrose divergence, which runs from 0 for identical distributions to 1 for non-overlapping ones and bounds the best achievable classification error.

두 표본을 합친 자료에서 유클리드 최소 신장 나무를 만들고, 서로 다른 표본의 관측값을 잇는 간선 수를 셉니다. 이런 간선이 적으면 두 표본이 다른 영역에 놓여 있다는 뜻입니다. 이 수를 헨제-펜로즈 발산 추정값으로 바꾸며, 발산은 분포가 같으면 0, 겹치지 않으면 1이고 가능한 최선의 분류 오류에 한계를 줍니다.

How different are two multivariate samples, and how well could any classifier tell them apart?

다변량 두 표본이 얼마나 다르며, 어떤 분류기라도 둘을 얼마나 잘 가를 수 있는지 알고 싶습니다.

The method reports the divergence estimate, the number of cross-sample tree edges and its null expectation, a permutation and a normal-approximation p-value, and lower and upper bounds on the Bayes classification error.

When to use Henze-Penrose Divergence Estimation and Test

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

The Henze-Penrose divergence between the groups was [value] (R = [value] cross edges, expected [value]), p = [value]; the Bayes error lies between [value] and [value].

Related methods

How this method is validated

이 방법의 검증 근거

  • R reference test. 1 reference test against R (matches) passes at a stated tolerance of 1e-12.

    R 참조 시험. R(matches) 대조 참조 시험 1건 통과(허용오차 1e-12).

  • Independent computation. 3 reference tests compare the results with NetworkX and direct computations (formulas, enumeration or simulation).

    독립 계산. NetworkX·직접 계산(식·열거·모의실험) 대조 참조 시험 3건 통과.

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 Henze-Penrose Divergence Estimation and Test on Quorant

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