Skip to content

Methods · Hypothesis testing · Distribution shape

Hartigan's Dip Test of Unimodality

Hartigan's dip test measures the largest distance between the empirical distribution function and the closest unimodal distribution function and tests whether a sample is unimodal.

하티건 딥 검정은 경험분포함수와 가장 가까운 단봉 분포함수 사이의 최대 거리를 구해 표본이 단봉인지를 검정하는 방법입니다.

The histogram of reaction times looks like it might have two peaks; is there statistical evidence of more than one mode?

반응시간 히스토그램이 봉우리가 두 개처럼 보이는데, 최빈값이 둘 이상이라는 통계적 근거가 있는지 어떻게 확인하나요?

Compute the dip statistic, the maximum gap between the empirical CDF and the best-fitting unimodal CDF, and compare it with dips simulated from a uniform distribution. A small p-value is evidence against unimodality, which suggests a mixture of subgroups.

When to use Hartigan's Dip Test of Unimodality

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

Hartigan's dip test [rejected/did not reject] unimodality, D = [value], p = [value], n = [value].

Related methods

How this method is validated

이 방법의 검증 근거

  • Automated tests. Checked by automated run tests; no external reference comparison is recorded yet.

    자동 시험. 자동 실행 시험을 거칩니다. 외부 참조값과 대조한 기록은 아직 없습니다.

Run Hartigan's Dip Test of Unimodality on Quorant

Data you need
a table (CSV or Excel) with an outcome 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.

Method ID Q11112 · Reviewed 2026-10-25