Doubly Ranked Testing Methods
- Doubly Ranked Testing is a design principle that constructs an informative one-dimensional order from complex observations, facilitating classical nonparametric tests in settings where direct ranking is unavailable.
- It employs a two-stage ranking process where an initial scoring function or curve summary is learned and then re-ranked to enable tests like Mann–Whitney or Kruskal–Wallis with exact null calibration.
- The methodology offers nonasymptotic error guarantees and computational efficiency, making it versatile for multivariate, functional, and ranking data even in high-dimensional scenarios.
Searching arXiv for the cited papers to ground the article in the current record. Doubly ranked testing denotes a family of nonparametric inference procedures in which ranking is carried out in two stages in order to extend classical rank-based tests to complex observations. In recent arXiv literature, the idea appears in at least three technically distinct forms: a bipartite-ranking reduction of the multivariate two-sample problem on (Clémençon et al., 2023), a functional-data procedure that ranks observations at each measurement occurrence, summarizes the resulting rank trajectories, and then re-ranks those summaries before applying Mann–Whitney–Wilcoxon or Kruskal–Wallis tests (Meyer, 2023), and a broader two-sample framework for ranked preference or pairwise-comparison data in which the sample space is itself ranking-valued and inference is based on a universal quadratic statistic with permutation calibration (Rastogi et al., 2020). Taken together, these works treat doubly ranked testing less as a single statistic than as a design principle for constructing order information where no natural scalar order is available.
1. Terminological scope and common construction
The shared motivation is the classical two-sample problem under data modalities for which direct ranking is nontrivial. In the multivariate setting, the obstacle is the lack of natural order on for (Clémençon et al., 2023). In grouped functional data, the obstacle is that the unit of observation is a curve rather than a scalar, so any rank-based test must first define how curves are to be ranked (Meyer, 2023). In ranked-preference data, the observations are already partial rankings, total rankings, or pairwise comparisons, and the inferential problem concerns equality of the underlying ranking distributions (Rastogi et al., 2020).
| Setting | First ordering step | Final inferential step |
|---|---|---|
| Multivariate two-sample data | Learn a scoring function by bipartite ranking | Apply a univariate linear-rank test to held-out scores |
| Grouped functional data | Rank pooled values at each time point and summarize each curve’s rank vector | Re-rank the summaries and apply MWW or KW |
| Ranked preference or pairwise-comparison data | Reduce rankings to comparison counts via rank-breaking when needed | Apply a quadratic U-type statistic with analytic or permutation calibration |
This suggests that “doubly ranked” is best understood as an architecture: first manufacture an order or score from structured observations, then apply a rank-based or rank-derived test to that induced univariate representation. The concrete implementation differs sharply across Euclidean, functional, and combinatorial sample spaces.
2. Bipartite-ranking reduction for the multivariate two-sample problem
For independent samples
the method of "A Bipartite Ranking Approach to the Two-Sample Problem" splits each sample into training and test parts of sizes and (Clémençon et al., 2023). On the training half,
the observations are labeled for the -sample and 0 for the 1-sample. A scoring function 2 is then learned by minimizing a pairwise convex surrogate to
3
or equivalently by maximizing the empirical AUC,
4
A popular convex program is the RankSVM-type objective
5
with 6.
The paper also formulates the learning stage through a two-sample linear-rank criterion. One solves
7
where
8
9 is a score-generating function, and 0 is a function class such as an RKHS or linear models. Once 1 has been fixed, it induces a preorder on 2 via
3
The held-out half
4
is thereby projected to a univariate sample of scores 5. The original multivariate hypothesis 6 versus 7 is turned into testing whether the univariate distributions of 8 and 9 coincide. The central claim is that the learned score projects the data onto the real line nearly like any monotone transform of the likelihood ratio between the original multivariate distributions would do, ignoring ranking model bias issues, and thus preserves the advantages of univariate rank tests while attenuating direct dependence on ambient dimension (Clémençon et al., 2023).
3. Test statistic, calibration, and nonasymptotic guarantees
On the held-out scores, the second stage computes the two-sample linear-rank statistic
0
For 1, this is the Mann–Whitney–Wilcoxon statistic; for general nondecreasing 2, it is a linear-rank statistic (Clémençon et al., 2023). Under 3, the ranks of the positive scores are uniform on 4, with 5, so
6
has a known distribution, either tabulated or easily simulated. If 7 denotes its 8-quantile, the rejection rule
9
guarantees exact level 0.
The nonasymptotic analysis separates concentration of the rank statistic from learning error. Under minimal smoothness assumptions on 1—nondecreasing, bounded, and 2—the null tail obeys
3
with 4, and hence
5
On the training half, if 6 has finite VC-dimension and 7 satisfies the Sobolev-8 condition, then
9
where 0 (Clémençon et al., 2023).
The resulting error decomposition is
1
The first bracket is univariate noise, the second is bipartite-ranking error under model-bias control, and the third is the signal 2. For any 3 and 4 large enough,
5
The high-dimensional significance of this construction is explicit. The second stage has exponential-in-6 error bounds that do not deteriorate as ambient dimension 7 grows because it depends only on one-dimensional ranks of 8. The first stage is adaptive: it learns 9 to mimic an unknown increasing transform of the likelihood ratio 0. By varying 1, one can emphasize different parts of the ROC curve, including top-end “push” tests for small-mass departures. The paper contrasts this with plug-in density-based tests and RKHS-MMD methods, whose calibration and bandwidth choices may degrade with 2 (Clémençon et al., 2023).
4. Doubly ranked tests of location for grouped functional data
Meyer’s functional-data formulation begins from two independent samples of curves,
3
measured on a common discrete grid 4 (Meyer, 2023). The null is the pointwise stochastic-equality hypothesis
5
versus inequality for some 6. Under a location-shift model 7, this becomes 8 versus 9.
The method has three stages. In Stage 1, at each 0, the pooled values
1
are assigned combined ranks
2
with ties broken by the usual mid-rank rule. Under 3, each 4 exchangeably. In Stage 2, each subject’s rank trajectory
5
is reduced to a scalar summary in one of two ways. The sufficient-statistic summary uses
6
Under 7, 8 is the natural sufficient statistic in an exponential-family approximation of the 9th order-statistic distribution, and 0. The alternative summary is the average rank
1
for which 2 and 3 as 4. Stage 3 re-ranks the pooled summaries:
5
or analogously for 6.
The two-sample test statistic is then
7
equivalently
8
exactly in the form of the Wilcoxon–Mann–Whitney statistic. Under 9, the null distribution is computed by standard permutation enumerations for 0 and no ties; with ties or large 1, the asymptotic approximation is
2
The framework extends to 3 groups. After the same ranking and summarization stages, the final ranks 4 yield the doubly ranked Kruskal–Wallis statistic
5
with exact small-6 tables and asymptotic 7. An implementation-oriented algorithm also permits optional preprocessing of raw curves by functional-PCA or smoothing, such as FACE, before the ranking stages (Meyer, 2023).
5. Ranked preference and pairwise-comparison data
A broader usage of doubly ranked testing in the supplied literature concerns two-sample testing when each sample consists of ranked preference data or pairwise comparisons rather than Euclidean vectors or functional trajectories (Rastogi et al., 2020). With 8 items and two independent batches, the pairwise-comparison model is governed by two unknown win-probability matrices
9
with no ties and 00. The hypothesis is
01
For full or partial rankings, one instead tests equality of two distributions 02 and 03 over permutations or partial rankings, often through their induced pairwise-comparison matrices.
The paper introduces a minimax risk
04
and studies the critical separation 05 at which 06. The central statistic is a quadratic U-type statistic built from comparison counts 07, where 08 and 09 are the numbers of observed 10 outcomes in the two batches. In a fixed-design setting with exactly 11 comparisons per pair in each batch, the statistic is computable in 12 time. Calibration can be analytic, using expectation and variance bounds plus Chebyshev, or permutation-based, which controls Type I error exactly at level 13 (Rastogi et al., 2020).
The finite-sample and minimax results are sharp. In the per-pair fixed-design setting, if 14 and
15
then the test has sum of Type I plus Type II errors at most 16, equivalently
17
In the random-design setting, if 18 is the mean number of observations per edge and
19
the same algorithm succeeds with error at most 20; for 21 this becomes
22
The role of modeling assumptions is a major theme. For model-free, WST, and MST classes, the lower bound remains
23
so weak or moderate stochastic transitivity does not improve the minimax rate. For SST and parameter-based models such as BTL and Thurstone, the information-theoretic separation is
24
creating a polynomial gap relative to the model-free setting. Under the planted-clique conjecture, there is also a computational lower bound for SST: in the 25 regime, no polynomial-time test can improve on
26
For partial and full rankings, the methodology uses rank-breaking—random disjoint, deterministic disjoint, or complete—to extract pairwise comparisons, after which the same statistic is applied. Theorems for partial rankings give
27
while for full rankings 28 a deterministic disjoint scheme yields
29
6. Empirical behavior, applications, and interpretive issues
The empirical record in grouped functional data is unusually explicit. Meyer reports simulations under Gaussian and heavy-tailed (30) bases, with shift patterns
31
and noise models consisting of none, white, and AR(1) noise (Meyer, 2023). At nominal 32, Type I error for both the sufficient-statistic and average-rank summaries is nearly exactly 33 across 34 and grid sizes 35. Power uniformly dominates a depth-based Mann–Whitney functional test of López-Pintado, Sun, and Genton for all 36, all sample sizes, and all shift shapes, while the two summaries have virtually identical power.
The same paper provides three case studies. In resin viscosity data, involving 64 curves of viscosity over 838 s under 5 binary factors, the doubly ranked MWW test using the sufficient-statistic summary found a resin-temperature effect with 37, 38, a tool-temperature effect with 39, 40, and no significance for the other factors. In Canadian weather data, using 35 stations’ daily-mean temperature and precipitation from 1960–1994 across Arctic, Atlantic, Continental, and Pacific regions, the doubly ranked KW test yielded 41, 42 for temperature and 43, 44 for precipitation. In COVID-19 mobility data, county-level daily driving-request-change curves grouped by state produced 45, 46 for Colorado versus Utah, 47, 48 for Iowa versus Minnesota, and 49, 50 for Maryland versus Virginia versus West Virginia (Meyer, 2023).
For ranked-preference data, simulations under symmetric, model-free, random-design 51 observations show empirical power curves collapsing as predicted by the rate 52 (Rastogi et al., 2020). Real-world datasets reinforce the practical scope: in crowdsourcing data from six AMT tasks, the permutation test gave 53, rejecting equality between direct pairwise comparisons and comparisons obtained by thresholding ratings; in European football across two seasons, the result was 54, failing to reject a shift in relative team-strength distributions; and in Sushi preference data, demographic splits by gender, age, and region yielded 55, indicating distinct preference distributions.
Several interpretive issues recur across these literatures. First, doubly ranked testing is not identical to depth-based scoring. In the functional setting, several procedures based on depth scores are criticized because the scores are not constructed under the null and often introduce additional, uncontrolled for variability (Meyer, 2023). Second, the phrase does not denote one canonical formula. In one line of work it means a learned preorder followed by a univariate rank test; in another it means pointwise ranking followed by re-ranking of curve summaries; in a broader ranking-data context it refers to inference on ranking-valued observations themselves. This suggests that the defining feature is a two-stage exploitation of ordinal information rather than a unique statistic. Third, the effect of structural assumptions is subtle: strong modeling assumptions such as SST or parametric links can improve information-theoretic separation in ranking-data testing, but may not yield comparable computational gains (Rastogi et al., 2020). Across the cited works, the most stable advantages are exact or near-exact null calibration, robustness inherited from rank procedures, and the ability to recover power on high-dimensional, functional, or combinatorial domains by constructing an informative one-dimensional order before testing.