Let μ 1 , … , μ r {\textstyle \mu _{1},\ldots ,\mu _{r}} be the means of some variable in r {\textstyle r} disjoint populations.
An arbitrary contrast is defined by
where
If μ 1 , … , μ r {\textstyle \mu _{1},\ldots ,\mu _{r}} are all equal to each other, then all contrasts among them are 0. Otherwise, some contrasts differ from 0.
Technically there are infinitely many contrasts. The simultaneous confidence coefficient is exactly 1 − α {\textstyle 1-\alpha } , whether the factor level sample sizes are equal or unequal. (Usually only a finite number of comparisons are of interest. In this case, Scheffé's method is typically quite conservative, and the family-wise error rate (experimental error rate) will generally be much smaller than α {\textstyle \alpha } .)12
We estimate C {\textstyle C} by
for which the estimated variance is
It can be shown that the probability is 1 − α {\textstyle 1-\alpha } that all confidence limits of the type
are simultaneously correct, where as usual N {\textstyle N} is the size of the whole population. Norman R. Draper and Harry Smith, in their 'Applied Regression Analysis' (see references), indicate that r {\textstyle r} should be in the equation in place of r − 1 {\textstyle r-1} . The slip with r − 1 {\textstyle r-1} is a result of failing to allow for the additional effect of the constant term in many regressions. That the result based on r − 1 {\textstyle r-1} is wrong is readily seen by considering r = 2 {\textstyle r=2} , as in a standard simple linear regression. That formula would then reduce to one with the usual t {\textstyle t} -distribution, which is appropriate for predicting/estimating for a single value of the independent variable, not for constructing a confidence band for a range of values of the independent value. Also note that the formula is for dealing with the mean values for a range of independent values, not for comparing with individual values such as individual observed data values.3
Frequently, subscript letters are used to indicate which values are significantly different using the Scheffé method. For example, when mean values of variables that have been analyzed using an ANOVA are presented in a table, they are assigned a different letter subscript based on a Scheffé contrast. Values that are not significantly different based on the post-hoc Scheffé contrast will have the same subscript and values that are significantly different will have different subscripts (i.e. 15a, 17a, 34b would mean that the first and second variables both differ from the third variable but not each other because they are both assigned the subscript "a").
If only a fixed number of pairwise comparisons are to be made, the Tukey–Kramer method will result in a more precise confidence interval. In the general case when many or all contrasts might be of interest, the Scheffé method is more appropriate and will give narrower confidence intervals in the case of a large number of comparisons.
This article incorporates public domain material from the National Institute of Standards and Technology
Maxwell, Scott E.; Delaney, Harold D. (2004). Designing Experiments and Analyzing Data: A Model Comparison. Lawrence Erlbaum Associates. pp. 217–218. ISBN 0-8058-3718-3. 0-8058-3718-3 ↩
Milliken, George A.; Johnson, Dallas E. (1993). Analysis of Messy Data. CRC Press. pp. 35–36. ISBN 0-412-99081-4. 0-412-99081-4 ↩
Draper, Norman R; Smith, Harry (1998). Applied Regression Analysis (2nd ed.). John Wiley and Sons, Inc. p. 93. ISBN 9780471170822. 9780471170822 ↩