Abstract
A common method for deriving non-parametric tests is to reformulate a parametric test in terms of sample ranks. Despite being distribution free (even in finite samples), the resulting tests often display remarkable asymptotic power properties, typically matching the efficiency of their parametric counterpart. Empirically, these favorable power properties have been shown to persist in non-asymptotic regimes as well, prompting the need for finite-sample characterizations of the corresponding rank-based statistics. Here, we provide such characterization for the family of weighted $p$-norms of rank spacings, which includes the classical tests of Mann-Whitney, Dixon, and various generalizations thereof. For $p=1$, we provide exact expressions for the involved distributions, while for $p>1$ we describe the associated moment sequences and derive an algorithm to recover the distributions of interest from these sequences in a fast and stable manner. We use this framework to develop a new family of non-parametric tests mirroring properties of generalized likelihood-ratios, prove new tail bounds for Dixon's and Greenwood's statistics, and prove a previously formulated conjecture regarding the global efficiency of rank-based tests against the $F$-test in the context of scale-families.
Introduction
In statistical hypothesis testing, the goal is often to determine if two samples originate from the same underlying distribution. While parametric tests like the $t$-test are highly powerful, they rely on strict assumptions—such as normality—that are frequently violated in real-world data. Non-parametric alternatives, such as the Mann-Whitney test, offer a "distribution-free" solution. However, these tests are traditionally analyzed using asymptotic theory, which provides approximations that only hold as sample sizes approach infinity.
In many practical scenarios, researchers work with small sample sizes where these large-sample approximations fail, leading to inaccurate p-values and poor control over false positives. This paper addresses this limitation by deriving exact and "arbitrarily accurate" finite-sample distributions for a broad class of two-sample tests based on rank spacings.
Methodology: Weighted $p$-Norms of Rank Spacings
The research focuses on the mathematical characterization of rank spacings—the gaps between sorted data points in a combined sample. The authors analyze these through the lens of weighted $p$-norms, providing solutions for two distinct regimes:
The Case of $p=1$
For the 1-norm, which covers classical tests like Mann-Whitney and Dixon’s, the authors derive exact, closed-form expressions for the Laplace transform and the cumulative distribution function (CDF). This allows for the calculation of exact p-values for any sample size, moving beyond the "close enough" guesses of previous methods.
The Case of $p > 1$
When $p > 1$, the mathematical interactions between terms become more complex. Rather than a direct formula, the authors characterize the exact moment sequences (mean, variance, skewness, etc.) of these distributions. They introduce a fast, stable algorithm to "invert" these moments back into a distribution using Bernstein polynomials. Because the moments can be calculated exactly and efficiently, the distribution can be reconstructed to any desired level of accuracy ($\epsilon$), bypassing the numerical instability typically associated with the "moment problem."
Theoretical Contributions and Insights
Beyond the distributional derivations, the paper provides several key theoretical advancements:
- Solving Klotz’s Conjecture: The authors prove a 60-year-old conjecture by Jerome Klotz, demonstrating that while rank-based tests are generally robust, they can be arbitrarily inefficient against the $F$-test in specific scale-family scenarios. To remedy this, they introduce a "max-type" test that bridges this efficiency gap.
- The Power of Higher Norms: While most classical tests utilize the 1-norm, the authors show that higher $p$-norms (e.g., $p=6$) are superior at detecting structured alternatives, such as "spiked" models where specific data points act as outliers.
- Generalized Likelihood-Ratios: The framework is used to develop a new family of non-parametric tests that mirror the properties of generalized likelihood-ratios, offering a robust alternative to parametric gold standards.
Empirical Performance
The methods were validated using extensive synthetic simulations across various distributions, including Uniform, Gaussian, Cauchy, Logistic, and Laplace. Key results include:
- Numerical Accuracy: The inversion of the Laplace transform for $p=1$ matches Monte Carlo simulations perfectly.
- Competitive Power: The new non-parametric tests perform competitively with the Likelihood Ratio Test (LRT) in clean data and actually outperform the LRT when the data is noisy or the model is misspecified.
- Computational Efficiency: The moment-based algorithm for $p > 1$ runs in $O(nm \log nm \cdot k)$ time, making it practical for modern data analysis on standard hardware.
Conclusion
This work provides a rigorous foundation for non-parametric testing in finite-sample regimes. By enabling the calculation of exact p-values for weighted $p$-norms of rank spacings, the authors provide researchers with tools that are both distribution-free and mathematically precise. Future work will look toward extending these results to discrete data and exploring "sum-type" statistics to simplify the asymptotic analysis of generalized tests.
Summary updated