Relative Distribution Analysis (Relative Density, Location-Shape Decomposition, Polarisation)
Relative distribution methods place each value of a comparison group on the percentile scale of a reference group; the distribution of these relative ranks shows where and how the two distributions differ, and splits the difference into a location shift and a change in shape.
비교 집단의 각 값을 기준 집단의 백분위 척도 위에 놓아 두 분포가 어디서 어떻게 다른지 보고, 그 차이를 위치 이동과 모양 변화로 나누는 상대분포 방법입니다.
How does the whole distribution of one group differ from another's, beyond a difference in means?
평균 차이를 넘어, 한 집단의 분포 전체가 다른 집단과 어떻게 다를까요?
If the groups had the same distribution the relative ranks would be uniform. Their density by bins shows which parts of the reference distribution the comparison group over- or under-occupies; a median-matched version isolates the change in shape, and polarisation indices measure movement toward both tails (positive) or toward the centre (negative).
When to use Relative Distribution Analysis (Relative Density, Location-Shape Decomposition, Polarisation)
- Comparing wage, income or test-score distributions between years or groups.
- You suspect polarisation: growth at both ends with a shrinking middle.
- You need to separate a location shift from a change in spread or shape.
When to use something else
- Only the mean difference matters: use Independent Samples t-test.
- You only need a yes/no test of equal distributions: use Two-Sample Kolmogorov-Smirnov Test.
- Effects at chosen quantiles with covariates: use Quantile Regression.
Assumptions and requirements
- Two independent samples.
- The reference sample is large enough to define its distribution function.
- Few ties (ties get mid-ranks).
What the analysis reports
- Relative density by bins (overall, location, shape)
- Divergence (entropy) of each component
- Median, lower and upper relative polarisation with bootstrap intervals
- Two-sample Kolmogorov-Smirnov test
How to report it
After median matching, the median relative polarisation was [value], 95% CI [[value], [value]], indicating movement toward both tails.
Related methods
- Two-Sample Kolmogorov-Smirnov Test
- Quantile Regression
- Kernel Density Estimation
- RIF Regression and Unconditional Quantile Decomposition
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with SciPy and direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-12.
독립 계산. SciPy·직접 계산(식·열거·모의실험) 대조 참조 시험 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 Relative Distribution Analysis (Relative Density, Location-Shape Decomposition, Polarisation) on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable 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
- 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.