Like the closely related Scheffé's method in the analysis of variance, which considers all possible contrasts, the Working–Hotelling procedure considers all possible values of the independent variables; that is, in a particular regression model, the probability that all the Working–Hotelling confidence intervals cover the true value of the mean response is the confidence coefficient. As such, when only a small subset of the possible values of the independent variable is considered, it is more conservative and yields wider intervals than competitors like the Bonferroni correction at the same level of confidence. It outperforms the Bonferroni correction as more values are considered.
Consider a simple linear regression model , where is the response variable and the explanatory variable, and let and be the least-squares estimates of and respectively. Then the least-squares estimate of the mean response at the level is . It can then be shown, assuming that the errors independently and identically follow the normal distribution, that an confidence interval of the mean response at a certain level of is as follows:
However, as multiple mean responses are estimated, the confidence level declines rapidly. To fix the confidence coefficient at , the Working–Hotelling approach employs an F-statistic:
where and denotes the upper percentile of the F-distribution with degrees of freedom. The confidence level of is over all values of , i.e. .
Multiple linear regression
The Working–Hotelling confidence bands can be easily generalised to multiple linear regression. Consider a general linear model as defined in the linear regressions article, that is,
Again, it can be shown that the least-squares estimate of the mean response is , where consists of least-square estimates of the entries in , i.e. . Likewise, it can be shown that a confidence interval for a single mean response estimate is as follows:
where is the observed value of the mean squared error .
The Working–Hotelling approach to multiple estimations is similar to that of simple linear regression, with only a change in the degrees of freedom:
In the simple linear regression case, Working–Hotelling–Scheffé confidence bands, drawn by connecting the upper and lower limits of the mean response at every level, take the shape of hyperbolas. In drawing, they are sometimes approximated by the Graybill–Bowden confidence bands, which are linear and hence easier to graph:
where denotes the upper percentile of the Studentized maximum modulus distribution with two means and degrees of freedom.
The simple linear regression model with a Working–Hotelling confidence band.
A simple linear regression model is fit to this data. The values of and have been found to be −39.06 and 61.27 respectively. The goal is to estimate the mean mass of women given their heights at the 95% confidence level. The value of was found to be . It was also found that , , and . Then, to predict the mean mass of all women of a particular height, the following Working–Hotelling–Scheffé band has been derived:
which results in the graph on the left.
Comparison with other methods
Bonferroni bands for the same linear regression model, based on estimating the response variable given the observed values of X. The confidence bands are noticeably tighter.
The Working–Hotelling approach may give tighter or looser confidence limits compared to the Bonferroni correction. In general, for small families of statements, the Bonferroni bounds may be tighter, but when the number of estimated values increases, the Working–Hotelling procedure will yield narrower limits. This is because the confidence level of Working–Hotelling–Scheffé bounds is exactly when all values of the independent variables, i.e. , are considered. Alternatively, from an algebraic perspective, the critical value remains constant as the number estimats of increases, whereas the corresponding values in Bonferonni estimates, , will be increasingly divergent as the number of estimates increases. Therefore, the Working–Hotelling method is more suited for large-scale comparisons, whereas Bonferroni is preferred if only a few mean responses are to be estimated. In practice, both methods are usually used first and the narrower interval chosen.
Another alternative to the Working–Hotelling–Scheffé band is the Gavarian band, which is used when a confidence band is needed that maintains equal widths at all levels.
The Working–Hotelling procedure is based on the same principles as Scheffé's method, which gives family confidence intervals for all possible contrasts. Their proofs are almost identical. This is because both methods estimate linear combinations of mean response at all factor levels. However, the Working–Hotelling procedure does not deal with contrasts but with different levels of the independent variable, so there is no requirement that the coefficients of the parameters sum up to zero. Therefore, it has one more degree of freedom.