Skip to content

Methods · Hypothesis testing · Rank tests

Gastwirth Maximin Efficiency Robust Test (MERT) for Two Samples

The method combines two linear rank tests that are each optimal for a different distribution shape, such as the Wilcoxon test for logistic data and the median test for heavy-tailed data. Their standardised statistics are added and divided by the standard deviation of the sum, using the exact permutation correlation between them; for an extreme pair of tests this combination maximises the minimum efficiency over the family of shapes.

서로 다른 분포 모양에 최적인 두 선형 순위검정, 예를 들어 로지스틱 자료에 맞는 윌콕슨 검정과 꼬리가 두꺼운 자료에 맞는 중앙값 검정을 결합합니다. 두 표준화 통계량을 더한 뒤 두 통계량의 정확한 순열 상관으로 구한 합의 표준편차로 나누며, 극단의 두 검정을 쓰면 이 결합은 분포 모양 집합 전체에서 최소 효율을 최대로 만듭니다.

Which two-sample location test should I use when I do not know whether the data are light- or heavy-tailed?

자료의 꼬리가 얇은지 두꺼운지 모를 때 어떤 두 표본 위치 검정을 써야 할지 알고 싶습니다.

The method reports the z statistics of both component tests, their correlation, the combined MERT z, and permutation (or exact) and normal p-values.

When to use Gastwirth Maximin Efficiency Robust Test (MERT) for Two Samples

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

Gastwirth's MERT combining the Wilcoxon and median tests (rho = [value]) gave z = [value], p = [value].

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 2 reference tests compare the results with SciPy and direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-9.

    독립 계산. SciPy·직접 계산(식·열거·모의실험) 대조 참조 시험 2건 통과(허용오차 1e-9).

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 Gastwirth Maximin Efficiency Robust Test (MERT) for Two Samples 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 Q11197 · Reviewed 2026-10-25