Let μ1, ..., μr be the means of some variable in r disjoint populations. An arbitrary contrast is defined by where If μ1, ..., μ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 − α, whether the factor level sample sizes are equal or unequal. We estimate C by for which the estimated variance is where
ni is the size of the sample taken from the ith population, and
It can be shown that the probability is 1 − α that all confidence limits of the type are simultaneously correct, where as usual N is the size of the whole population. Draper and Smith, in their 'Applied Regression Analysis', indicate that 'r' should be in the equation in place of 'r-1'. The slip with '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' is wrong is readily seen by considering r = 2, as in a standard simple linear regression. That formula would then reduce to one with the usual 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.
Denoting Scheffé significance in a table
Frequently, superscript 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 superscript based on a Scheffé contrast. Values that are not significantly different based on the post-hoc Scheffé contrast will have the same superscript and values that are significantly different will have different superscripts.
Comparison with the Tukey–Kramer method
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.