Skip to content

Methods · Multivariate analysis · Distribution comparison

Depth-Depth (DD) Plot

The DD plot compares two multivariate samples by plotting every pooled observation at its depth with respect to the first sample against its depth with respect to the second. Identical distributions put the points near the diagonal; location, scale or shape differences give characteristic departures. The method adds the Liu-Singh quality index Q, which is one half under equal distributions, with its normal test and a permutation p-value.

DD 그림은 두 다변량 표본을 비교하기 위해 합친 모든 관측값을 첫 표본에 대한 깊이와 둘째 표본에 대한 깊이의 좌표에 찍습니다. 두 분포가 같으면 점들이 대각선 가까이 놓이고, 위치나 퍼짐, 모양이 다르면 특징적인 모양으로 벗어납니다. 분포가 같을 때 2분의 1이 되는 리우-싱 품질 지수 Q와 그 정규 근사 검정, 순열 p값을 함께 냅니다.

Do two multivariate samples come from the same distribution, and if not, is the difference mainly in location or in spread?

두 다변량 표본이 같은 분포에서 왔는지, 다르다면 위치 차이인지 퍼짐 차이인지 알고 싶습니다.

You get Q(F, G) and Q(G, F) with z statistics and p-values, a permutation p-value, the average and largest distance of points from the diagonal, and the observations that depart most.

When to use Depth-Depth (DD) Plot

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

The DD plot gave Q(F, G) = [value] (z = [value], p = [value]); the mean distance from the diagonal was [value].

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-10.

    독립 계산. 직접 계산(식·열거·모의실험) 대조 참조 시험 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 Depth-Depth (DD) Plot 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
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 Q33039 · Reviewed 2026-10-25