Scheirer-Ray-Hare Test
The Scheirer-Ray-Hare test extends the Kruskal-Wallis test to two factors by running a two-way ANOVA on ranks and dividing each effect sum of squares by the total mean square of ranks.
Scheirer-Ray-Hare 검정은 순위로 이원 분산분석을 한 뒤 효과 제곱합을 순위 전체 평균제곱으로 나누어 두 요인과 상호작용을 검정하는, Kruskal-Wallis 검정의 이원 확장입니다.
I have a two-factor design with a skewed outcome; how do I test both main effects and the interaction without normality?
이원 요인 설계인데 결과변수가 치우쳐 있어요. 정규성 없이 두 주효과와 상호작용을 검정하려면 어떻게 하나요?
Use the Scheirer-Ray-Hare test, which ranks the outcome across all cells, computes two-way ANOVA sums of squares on the ranks and refers each SS divided by the total rank variance to a chi-square distribution. Its power is modest, so interactions in particular may go undetected.
When to use Scheirer-Ray-Hare Test
- Two crossed factors with a non-normal or ordinal outcome.
- You need a simple rank-based extension of the Kruskal-Wallis test.
- Cells have several observations each.
When to use something else
- You mainly need to test the interaction with good power; use the aligned rank transform ANOVA instead.
- Residuals are approximately normal; use two-way ANOVA instead.
Assumptions and requirements
- Independent observations.
- Similar distribution shapes across cells.
- About five or more observations per cell; Type II sums of squares are used when cells are unbalanced.
What the analysis reports
- H statistic, df and p for factor A, factor B and the interaction
- Rank sums of squares and residual SS
- Total mean square of ranks used as the divisor
- Warnings for empty or unbalanced cells
How to report it
A Scheirer-Ray-Hare test showed an effect of [factor A], H([df]) = [value], p = [value], no effect of [factor B], H([df]) = [value], p = [value], and no interaction, H([df]) = [value], p = [value].
Related methods
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with statsmodels.
독립 계산. statsmodels 대조 참조 시험 1건 통과.
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 Scheirer-Ray-Hare Test 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.