Methods · Hypothesis testing · Robust statistics

Shift Function (Harrell-Davis Quantile Comparison)

The shift function compares two independent groups at several quantiles, usually the deciles, using Harrell-Davis quantile estimates and bootstrap inference to show where along the distribution they differ.

이동 함수는 두 독립 집단을 Harrell-Davis 분위수(보통 십분위)로 여러 지점에서 비교하고 부트스트랩으로 추론해 분포의 어느 부분이 다른지 보여 주는 방법입니다.

Two groups have similar means but I suspect the slow responders differ; how can I see which parts of the distributions differ?

두 집단 평균은 비슷한데 느린 응답자 쪽이 다른 것 같아요. 분포의 어느 부분이 다른지 볼 수 있나요?

Estimate each decile in both groups with the Harrell-Davis estimator and bootstrap the decile differences to get standard errors, p-values and confidence intervals. Adjusting the p-values across deciles with Hochberg's method shows which parts of the distribution differ.

When to use Shift Function (Harrell-Davis Quantile Comparison)

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

A shift function comparing Harrell-Davis deciles found [value] of 9 differences significant after Hochberg correction (percentile bootstrap, [value] resamples); the median difference was [value].

Related methods

Run Shift Function (Harrell-Davis Quantile Comparison) 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
Checked by property tests in every deployment
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 Q11093 · Reviewed 2026-10-25