Skip to content

Scheirer–Ray–Hare Test

A factorial rank procedure partitions variation by factors and interaction, with component-test calibration requiring care.

Version
v1 · 2026-11-14 · History
Domain-specific #
14927
Domain group
Formal Sciences
Origin domain
Experimental Design & Statistics
Subdomains
Factorial Design, Rank Tests → Experimental Design & Statistics

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

Scientists might want to know whether two things, like sunshine and water, each change how tall plants grow. Instead of using exact heights, this test lines the plants up from shortest to tallest and uses their places in line. But later scientists found that the check for one thing can get mixed up when the other thing also matters.

Ranking Test for Two Factors

Sometimes scientists test two or more causes at once, like whether the amount of sun and the amount of water each affect plant height, and whether they work together. The Scheirer–Ray–Hare test does this using ranks: it lines up all the measurements in order and works with their positions instead of the raw numbers. That way it doesn't need the measurements to follow the usual bell-curve shape. But later researchers found a problem: when one cause really has an effect, the check for a different cause can give misleading results. So not needing a bell curve doesn't mean every part of the test works correctly in every experiment.

Rank-Based Factorial Testing

The Scheirer–Ray–Hare test is a rank-based method proposed for completely randomized factorial experiments, where subjects are randomly assigned to combinations of two or more factors. It extends the Kruskal–Wallis test, which compares groups using ranks instead of raw values, by splitting the variation in ranks into parts linked to each factor, their interaction, and contrasts. It doesn't need the raw data to be normally distributed, but that alone doesn't mean each part of the test gives correct error rates for a given design. Toothaker and Chang later showed, with theory and simulations, that the distribution of a component statistic can depend on effects other than the one being tested. So the reference distribution that works when there are no effects at all shouldn't automatically be trusted for testing one effect when others are present. That's a limitation of this procedure in the settings studied, not of every rank-based method.

 

The Scheirer–Ray–Hare test is a rank-based procedure proposed for observations from a completely randomized factorial design. Scheirer, Ray and Hare extended the Kruskal–Wallis approach by partitioning the variation in ranks into components associated with main effects, interactions and contrasts, analogous to the sums of squares in a factorial ANOVA. The method does not require normally distributed raw observations. However, freedom from a normality assumption does not by itself establish that each component test is correctly calibrated for a given design. 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 under test. Their analysis discusses the reference distribution under the complete null hypothesis, where all effects are absent, and cautions against assuming it is valid for an isolated component null when other effects are present. That finding is a limitation of the studied procedure and settings, not a claim that every rank-based factorial method behaves identically.

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

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 ↩