- Introduced by
- Henry Scheffé
- Year
- 1953
- Type
- Post-hoc multiple comparison test
What does it do?
The Scheffé test is a post-hoc procedure that controls the family-wise error rate simultaneously for all possible linear contrasts among group means following a significant ANOVA.
Henry Scheffé introduced it in a 1953 Biometrika paper, and it is generally regarded as the most conservative of the standard post-hoc tests. Because its error guarantee covers every contrast at once, it remains valid when contrasts are chosen after inspecting the data.
The intuition behind the method
After a one-way ANOVA indicates that at least one group mean differs from the others, the next question is which groups differ and in what way. If many pairwise or complex comparisons are each tested at an ordinary significance threshold, the chance of at least one false positive grows with the number of comparisons. The Scheffé method widens the rejection boundary so that the probability of any false positive across the whole family of contrasts stays at or below the chosen alpha, however many contrasts are examined. The cost is wider confidence intervals and a higher threshold for significance.
History
Henry Scheffé presented the method in his 1953 Biometrika paper 'A method for judging all contrasts in the analysis of variance', motivated by the need for a procedure that remains valid when contrasts are chosen after inspecting the data.
When to use it
Use the Scheffé test after a significant ANOVA when the contrasts of interest are complex, such as averages of several groups compared with another group, or when the contrasts were not fixed before the data were collected. It suits designs with many possible comparisons or cases where strict family-wise error control is required. The formulas on this page are written for a one-way ANOVA with a pooled error term. The usual ANOVA assumptions apply: a continuous dependent variable, independent observations, approximately normal residuals within groups, and homogeneity of variance across groups (checked with Levene's test). If only pairwise comparisons are planned in advance, Tukey's HSD is less conservative and usually has more power, so Scheffé is preferable only when complex contrasts are needed.
Limitations and considerations
- The most conservative of the standard post-hoc tests: when only pairwise comparisons are of interest, Tukey's HSD has greater statistical power.
- Conventionally applied only after a significant omnibus ANOVA F-test; applying it without one is an exploratory use that increases the risk of spurious findings.
- Low power in small samples or when effect sizes are modest, because the adjusted critical value is considerably larger than the unadjusted F critical value.
- Like all parametric post-hoc tests, assumes homogeneity of variance; violations can distort the actual error rate.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Controls the family-wise error rate simultaneously for all possible linear contrasts, not only pairwise comparisons.
- Valid for both balanced and unbalanced designs, with no restriction on group sizes.
- Can be applied to any contrast discovered post-hoc, including complex combinations of multiple groups, without inflating the overall Type I error rate.
- Yields simultaneous confidence intervals with a rigorous probability guarantee, enabling interval-based inference as well as hypothesis testing.
Applications
- Post-hoc examination of complex treatment contrasts in clinical or pharmaceutical studies, for example comparing the average of several doses against a placebo.
- Education research comparing combinations of instructional groups on achievement scores after a significant ANOVA.
- Agricultural and biological experiments in which complex contrasts among treatment levels suggest themselves only after the mean pattern is inspected.
- Industrial experiments with several treatment levels in a one-way layout, where a contrast pools some levels against others and must be tested together with other contrasts.
How it works
How it works
A contrast is a linear combination of group means whose coefficients sum to zero. For a given contrast, the null hypothesis states that the weighted combination of population means equals zero. The procedure covers all such contrasts at once, not only pairwise differences.
Formula
H_0:\ \sum_{i=1}^{k} c_i \mu_i = 0 \quad \text{where} \quad \sum_{i=1}^{k} c_i = 0The estimated contrast L applies the same coefficients to the observed group sample means. Each group mean is multiplied by its coefficient, and the products are summed.
Formula
L = \sum_{i=1}^{k} c_i \bar{y}_{i\cdot}The statistic F_L squares L and divides it by the ANOVA mean squared error (MS_E) multiplied by the sum of the squared coefficients, each divided by its group size. The ratio compares the size of the contrast with the residual variability in the data. The symbol F_L is kept to match the formula above; the ratio is not read against the ordinary F table but against (k − 1) times the F critical value, as the next step shows.
Formula
F_L = \dfrac{L^2}{MS_E \displaystyle\sum_{i=1}^{k} \frac{c_i^2}{n_i}}The threshold is (k − 1) times the tabled F critical value with k − 1 and N − k degrees of freedom, where k is the number of groups and N the total sample size. This is not the ordinary F critical value. The inflation factor is what gives simultaneous control over all possible contrasts. A contrast is declared significant when F_L exceeds this threshold.
Formula
F_L > (k-1)\, F_{\alpha,\, k-1,\, N-k} \implies \text{reject } H_0A simultaneous confidence interval for any contrast is formed by adding and subtracting a margin built from the same scaled critical value. A contrast whose interval excludes zero is significant, which gives the same decision as the test. Because these intervals hold jointly with probability 1 − α for all contrasts at once, they are called Scheffé simultaneous confidence intervals.
Formula
L \pm \sqrt{(k-1)\,F_{\alpha,\,k-1,\,N-k}} \cdot \sqrt{MS_E \sum_{i=1}^{k} \frac{c_i^2}{n_i}}Common pitfalls
- Using the Scheffé test for pairwise-only comparisons when Tukey's HSD would be more powerful and equally appropriate.
- Applying it without a prior significant omnibus F-test, which turns the analysis into an exploratory one and weakens the logical basis of post-hoc testing.
- Confusing the Scheffé critical value with the standard F critical value — the correct threshold is (k − 1) × F_{α, k−1, N−k}, not F_{α, 1, N−k}.
- Reporting only significance decisions without the accompanying simultaneous confidence intervals, which convey effect magnitude and precision.
Frequently asked questions
How does the Scheffé test differ from Tukey's HSD?
Tukey's HSD is designed for pairwise comparisons and is more powerful than Scheffé in that setting. Scheffé's method covers all possible linear contrasts, including complex ones that combine several groups, so when it is applied to simple pairwise differences it is more conservative, with wider intervals and a higher threshold. If only pairwise tests are needed, Tukey's HSD is usually preferred. If complex or unplanned contrasts are needed, Scheffé is the appropriate choice.
Do I need a significant ANOVA before running the Scheffé test?
Conventionally, yes: the Scheffé test is a post-hoc follow-up to a significant omnibus F-test. Its family-wise error guarantee is stated for all contrasts simultaneously and does not depend on the omnibus result. A contrast can therefore be tested after a non-significant F-test, but this is an exploratory use and should be labelled as such in the report.
Can the Scheffé test be used with unequal group sizes?
Yes. The test statistic and the simultaneous confidence intervals include the individual group sizes n_i, so the method applies to unbalanced designs. This is an advantage over procedures that assume equal sample sizes.
What is a 'contrast' and how is it different from a pairwise comparison?
A contrast is any linear combination of group means whose coefficients sum to zero. A pairwise comparison such as μ₁ − μ₂ is the simplest case, with coefficients +1, −1 and 0 for the other groups. A complex contrast might compare the average of two groups with a third, for example ½μ₁ + ½μ₂ − μ₃. Scheffé's method controls the error rate for all such contrasts at once, whereas most other post-hoc tests address pairwise differences only.
Related methods
Sources
Scheffé, H. (1953). A method for judging all contrasts in the analysis of variance. Biometrika, 40(1–2), 87–110.
Open DOI referenceScheffé, H. (1959). The Analysis of Variance. Wiley.
ISBN: 978-0471345053Montgomery, D. C. (2017). Design and Analysis of Experiments (9th ed.). Wiley.
ISBN: 978-1119492443Statistics with STATA: Version 12, p. 153