Skip to content

Methods · Hypothesis testing · Nonparametric tests

Exact Median Test

The exact median test asks whether several groups have the same share of values above the pooled median, and computes the p-value exactly from all tables with the same margins instead of relying on a chi-square approximation.

정확 중앙값 검정은 여러 집단에서 전체 중앙값보다 큰 값의 비율이 같은지를, 카이제곱 근사 대신 주변합이 같은 모든 표를 이용해 정확한 p값으로 검정합니다.

Do my groups differ in how often their values fall above the overall median, even though my samples are small?

표본이 작아도 집단마다 값이 전체 중앙값 위에 놓이는 비율이 다른지 알 수 있을까요?

All values are split at the pooled median, giving a 2 x k table of counts above and not above. The p-value is the total probability, under the hypergeometric distribution with all margins fixed, of every table that is no more likely than the observed one (the Fisher-Freeman-Halton ordering). For very large problems a seeded Monte Carlo p-value is reported and flagged.

When to use Exact Median Test

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

An exact median test showed that the proportion above the pooled median (Mdn = [value]) differed across [k] groups, N = [value], exact p = [value].

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 1 reference test compares the results with SciPy and direct computations (formulas, enumeration or simulation).

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

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 Exact Median Test on Quorant

Data you need
a table (CSV or Excel) with an outcome variable 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 Q11136 · Reviewed 2026-10-25