Scheirer–Ray–Hare Test¶
A factorial rank procedure partitions variation by factors and interaction, with component-test calibration requiring care.
Core Idea¶
The Scheirer–Ray–Hare test is a rank-based method proposed for observations in a completely randomized factorial design. Scheirer, Ray and Hare extended the Kruskal–Wallis approach to partition rank variation into components associated with factors, interactions and contrasts. The procedure does not require normally distributed raw observations, but that fact alone does not establish that each component test is calibrated for a particular design.[1]
The distinction matters. In a later theoretical and simulation study, Toothaker and Chang found that the distributions of the component statistics they examined can depend on effects other than the one being tested. Their analysis discusses the reference distribution under the complete null and cautions against treating it as automatically valid for an isolated component null when other effects are present. That result is a limitation of the studied procedure and settings, not a claim that every rank-based factorial method has identical behavior.[2]
How would you explain it like I'm…
Lining Up to Compare
Ranking Test for Two Factors
Rank-Based Factorial Testing
How the Procedure Is Organized¶
In the original equal-cell presentation, all observations are ranked together; rank sums of squares are partitioned into terms for the factors and their interaction. For a term, the original construction compares a statistic of the form \(H_{\text{term}}=\mathrm{RSS}_{\text{term}}/\mathrm{RMS}_{\text{total}}\) with a chi-square reference using the term's degrees of freedom, as an asymptotic approximation. The original presentation assumes a completely randomized factorial design with equal numbers per cell and continuous scores for unambiguous ranks.[1]
Implementations can make additional choices. The rcompanion two-factor implementation offers tie correction and type-I or type-II sums of squares; its documentation notes recommendations for balanced data and adequate cell sizes and identifies aligned-rank ANOVA as an alternative to consider. These implementation options are not a universal guarantee of valid inference in unbalanced or tied data.[3]
Interpretation and Boundaries¶
A small reported p-value is a comparison to the stated reference distribution, conditional on its assumptions; it does not prove a factor's effect or by itself validate the approximation. Consider the design, independence, ties, cell sizes, other effects, interaction, the chosen sums-of-squares convention and the inferential question. In particular, nonnormality alone does not justify using the procedure or resolve the component-null problem identified by Toothaker and Chang.[2][3]
The method is not equivalent to ordinary two-way ANOVA on the raw response, and it does not automatically identify which pairs differ. A post-hoc comparison is a separate analysis with its own assumptions and multiplicity considerations. Neither a fixed power ordering against ANOVA nor universal conservativeness follows from the method's name.
Example of Reported Use¶
Álvarez and colleagues report using a two-factor Scheirer–Ray–Hare analysis for soil microbial biomass and diversity measures, with soil depth and spatial distance as factors. This describes their reported analysis; its use does not itself establish independence or validate all tests and conclusions for that design.[4]
Neighborhood in Abstraction Space¶
Scheirer–Ray–Hare Test sits in a sparse region of the domain-specific corpus (92nd percentile for distinctiveness): few abstractions share its structure, so a faithful description tends to retrieve it precisely.
Family — Causal Inference & Identification Design (8 abstractions)
Nearest neighbors
- Jeffreys-Lindley Paradox — 0.79
- Van der Waerden Test — 0.78
- Reliability Paradox — 0.77
- Sargan–Hansen Test — 0.77
- Collinearity Inflation — 0.77
Computed from structural-signature embeddings · 2026-11-14
References¶
[1] C. James Scheirer, William S. Ray and Nathan Hare, “The Analysis of Ranked Data Derived from Completely Randomized Factorial Designs,” Biometrics 32 (1976), 429–434, publisher-indexed abstract, doi:10.2307/2529511; third-party full-text rendering. registry ↩a ↩b
[2] Larry E. Toothaker and Horng-shing Chang, “On ‘The Analysis of Ranked Data Derived from Completely Randomized Factorial Designs’,” Journal of Educational Statistics 5 (1980), 169–176, repository abstract, doi:10.3102/10769986005002169; third-party full-text rendering. registry ↩a ↩b
[3] Salvatore Mangiafico, “Scheirer Ray Hare test,” rcompanion package, function documentation. registry ↩a ↩b
[4] Valeria Esther Álvarez et al., “Micro-Environmental Variation in Soil Microbial Biodiversity in Forest Frontier Ecosystems—Implications for Sustainability Assessments,” Sustainability 16 (2024), 1236, full text, doi:10.3390/su16031236. registry ↩