Tutorials › Multivariate Statistics (Graduate) › Scheffé Protection Over Every Linear Contrast

Simultaneous Multivariate Inference · Tutorial 215 of 975

Scheffé Protection Over Every Linear Contrast

Learn why maximizing over every contrast yields a Hotelling ellipsoid and an exact Scheffé confidence bound.

Intermediate 10 min read

What You'll Learn

  • Define simultaneous Scheffé bounds for every nonzero linear contrast of a mean vector.
  • Maximize the standardized contrast error and identify the direction attaining the maximum.
  • Obtain the exact Gaussian critical value from the Hotelling \(T^2\) distribution.
  • Calculate Scheffé bounds for specific contrasts using sample means and covariances.
  • Distinguish protection over all contrasts from a bound for only one contrast.

Why Protect Every Contrast?

A mean vector has many possible summaries. For a population mean \(\mu\in\mathbb{R}^p\), each nonzero vector \(c\in\mathbb{R}^p\) defines a linear contrast \(c'\mu\). If the direction \(c\) is selected after looking at the data, an interval calibrated for one prespecified direction need not retain its advertised coverage. Scheffé protection addresses the broader demand: construct bounds that cover every linear contrast at once.

The key is to measure the largest error over all directions after standardizing each contrast by its estimated standard error. That maximum is not an intractable search. It equals the square root of the Hotelling quadratic form for the mean, so an exact Gaussian critical value follows from the \(F\) distribution.

Setup and definition: Let \(X_1,\ldots,X_n\) be independent and identically distributed \(p\)-dimensional random vectors with distribution \(N_p(\mu,\Sigma)\), where \(\Sigma\) is positive definite, \(n>p\), and \(S\) is the usual unbiased sample covariance matrix. Write \(\bar X\) for the sample mean. A \(1-\alpha\) Scheffé simultaneous confidence statement over all nonzero contrasts is a random collection of bounds such that, with probability \(1-\alpha\), every \(c\in\mathbb{R}^p\setminus\{0\}\) satisfies \[ c'\mu\in\left[c'\bar X-\sqrt{K_\alpha\,c'Sc/n},\;c'\bar X+\sqrt{K_\alpha\,c'Sc/n}\right]. \] Here \(K_\alpha\) is the Scheffé critical constant, specified below. The assumptions \(n>p\) and positive definite \(\Sigma\) ensure that \(S\) is positive definite with probability one.

Maximizing the Standardized Contrast Error

For any fixed nonzero \(c\), the estimated standard error of \(c'\bar X\) is \(\sqrt{c'Sc/n}\). The standardized estimation error is therefore \[ \frac{c'(\bar X-\mu)}{\sqrt{c'Sc/n}}. \] To protect all contrasts, we need to control the absolute value of this quantity simultaneously over every nonzero direction \(c\).

Result: maximum over all directions. For every positive definite \(S\) and every \(\delta\in\mathbb{R}^p\), \[ \sup_{c\ne 0}\frac{|c'\delta|}{\sqrt{c'Sc/n}} =\sqrt{n\,\delta'S^{-1}\delta}. \] If \(\delta\ne 0\), the maximum is attained when \(c\) is proportional to \(S^{-1}\delta\). If \(\delta=0\), both sides are zero.

To prove the result, set \(a=S^{1/2}c\) and \(b=S^{-1/2}\delta\), where \(S^{1/2}\) is the positive definite square root of \(S\). Then \(c'\delta=a'b\), while \(c'Sc=a'a\). The Cauchy–Schwarz inequality gives \[ \frac{|c'\delta|}{\sqrt{c'Sc/n}} =\sqrt{n}\frac{|a'b|}{\sqrt{a'a}} \leq \sqrt{n\,b'b} =\sqrt{n\,\delta'S^{-1}\delta}. \] When \(\delta\ne0\), choose \(a\) proportional to \(b\), which is equivalent to choosing \(c\) proportional to \(S^{-1}\delta\); equality then holds. When \(\delta=0\), every numerator is zero. This proves the result. \(\square\)

The maximizing direction generally depends on the unknown error \(\delta=\bar X-\mu\). That is exactly why the maximum matters: controlling each direction separately without accounting for the search does not automatically control the direction that happens to have the largest error. The result turns the entire search into one quadratic statistic.

The Exact Gaussian Critical Value

Define Hotelling’s statistic for testing a specified mean vector \(\mu\) by \[ T^2=n(\bar X-\mu)'S^{-1}(\bar X-\mu). \] Under the Gaussian assumptions in the setup, its exact finite-sample distribution is \[ \frac{n-p}{p(n-1)}T^2\sim F_{p,n-p}, \] where \(F_{p,n-p}\) denotes an \(F\) random variable with numerator degrees of freedom \(p\) and denominator degrees of freedom \(n-p\). Write \(F_{p,n-p;1-\alpha}\) for its \(1-\alpha\) quantile. Thus the \(1-\alpha\) quantile of \(T^2\) is \[ K_\alpha=\frac{p(n-1)}{n-p}F_{p,n-p;1-\alpha}. \]

For completeness, the distributional statement follows from the standard Gaussian sampling results: \(\sqrt{n}\,\Sigma^{-1/2}(\bar X-\mu)\) is standard multivariate normal, and it is independent of \((n-1)\Sigma^{-1/2}S\Sigma^{-1/2}\), which has a Wishart distribution with identity scale and \(n-1\) degrees of freedom. The standard Hotelling \(T^2\) distribution for this independent normal vector and Wishart matrix gives the displayed \(F\) relation. The condition \(n>p\) ensures the inverse exists.

Theorem: exact Scheffé simultaneous bounds. Under the Gaussian setup above, let \[ K_\alpha=\frac{p(n-1)}{n-p}F_{p,n-p;1-\alpha}. \] Then \[ P\left\{\text{for every }c\ne0,\quad |c'(\bar X-\mu)|\leq \sqrt{K_\alpha\,c'Sc/n}\right\}=1-\alpha. \] Consequently, the intervals centered at \(c'\bar X\) with half-width \(\sqrt{K_\alpha\,c'Sc/n}\) cover every nonzero linear contrast simultaneously with probability \(1-\alpha\).

To prove the theorem, apply the maximum result with \(\delta=\bar X-\mu\). The event that every contrast is covered is equivalent to \[ \sup_{c\ne0}\frac{|c'(\bar X-\mu)|}{\sqrt{c'Sc/n}}\leq\sqrt{K_\alpha}, \] which, by the maximization identity, is equivalent to \(T^2\leq K_\alpha\). By the exact \(F\) distribution, this event has probability \(1-\alpha\). The bounds therefore have the claimed simultaneous coverage. \(\square\)

This derivation also explains the connection to the mean confidence ellipsoid. The condition \(T^2\leq K_\alpha\) describes an ellipsoidal region for \(\mu\); requiring the contrast bounds to hold for every direction is another way of expressing membership in that region. The common Scheffé multiplier is fixed by the ellipsoid’s exact Gaussian calibration, not by treating the infinitely many contrasts as independent tests.

Worked Contrasts

Worked Example: A Contrast in Two Dimensions

Suppose \(p=2\), \(n=10\), \(\bar X=(4,7)'\), and \[ S=\begin{pmatrix}4&1\\1&9\end{pmatrix}. \] At the 95% confidence level, \(F_{2,8;0.95}\approx4.459\), so \[ K_{0.05}=\frac{2(9)}{8}(4.459)\approx10.033. \] For \(c=(1,-1)'\), the estimated contrast is \(c'\bar X=4-7=-3\). Its estimated variance is \[ \frac{c'Sc}{n} =\frac{(1,-1)\begin{pmatrix}4&1\\1&9\end{pmatrix}(1,-1)'}{10} =\frac{4+9-2}{10} =\frac{11}{10}. \] The Scheffé margin is \(\sqrt{10.033(11/10)}\approx3.322\). The simultaneous interval for \(\mu_1-\mu_2\) is therefore \([-6.322,\;0.322]\), approximately. It is wider than a bound calibrated only for this one prespecified contrast because it protects every direction in \(\mathbb{R}^2\).

Worked Example: Finding the Direction of the Largest Standardized Error

Use the same \(S\) and sample size as above, and suppose the true mean is \(\mu=(3,6)'\). Then \(\delta=\bar X-\mu=(1,1)'\). Since \[ S^{-1}=\frac{1}{35}\begin{pmatrix}9&-1\\-1&4\end{pmatrix}, \qquad S^{-1}\delta=\frac{1}{35}\begin{pmatrix}8\\3\end{pmatrix}, \] the maximizing contrast direction is \(c=(8,3)'\), or any nonzero multiple of it. The squared maximum standardized error is \[ n\delta'S^{-1}\delta =10\left(\frac{9-1-1+4}{35}\right) =\frac{22}{7}, \] so the maximum absolute standardized error is \(\sqrt{22/7}\approx1.773\). Directly checking \(c=(8,3)'\), we get \(c'\delta=11\) and \[ c'Sc=(8,3)\begin{pmatrix}4&1\\1&9\end{pmatrix}\begin{pmatrix}8\\3\end{pmatrix} =385. \] Thus the standardized error is \(11/\sqrt{385/10}\approx1.773\), confirming the maximizing value.

Worked Example: A Three-Coordinate Contrast

Let \(p=3\), \(n=12\), \(\bar X=(2,5,1)'\), and \(S=\operatorname{diag}(1,4,9)\). For \(c=(1,1,-1)'\), the estimated contrast is \(2+5-1=6\), and \[ \frac{c'Sc}{n}=\frac{1+4+9}{12}=\frac{14}{12}. \] At 95% confidence, \(F_{3,9;0.95}\approx3.863\), giving \[ K_{0.05}=\frac{3(11)}{9}(3.863)\approx14.163. \] The margin is \(\sqrt{14.163(14/12)}\approx4.065\), so the Scheffé interval for \(\mu_1+\mu_2-\mu_3\) is approximately \([1.935,\;10.065]\). This interval is one member of the simultaneous collection: the same coverage statement applies to every nonzero contrast vector in three dimensions.

Interpreting the Protection

The word simultaneous refers to the probability of the whole collection of statements. With probability \(1-\alpha\), all the contrast intervals cover their respective true values at once. It does not mean that each interval is formed from an independent procedure, nor does it require listing the contrasts in advance. A contrast may be chosen after examining the data and the simultaneous guarantee still applies, provided it is a linear combination of the \(p\) coordinates covered by the stated setup.

The bound is unchanged if \(c\) is replaced by any nonzero scalar multiple of \(c\): both the estimated contrast and its margin scale by the same absolute factor. Thus a contrast direction, rather than a particular numerical scaling of its coefficient vector, determines the substantive comparison.

Common Mistake

  • Using a one-contrast critical value for a contrast chosen after seeing the data. A \(t\)-critical value can calibrate a single prespecified contrast, but it does not by itself guarantee coverage over every possible direction. The correction is to use the Scheffé multiplier \(K_\alpha=p(n-1)F_{p,n-p;1-\alpha}/(n-p)\) when the claim must hold for all nonzero contrasts.
  • Dropping the factor \(p\) or confusing the \(F\) quantile with the \(T^2\) quantile. The exact relation is \((n-p)T^2/[p(n-1)]\sim F_{p,n-p}\). Solving it for the cutoff of \(T^2\) gives \(p(n-1)F_{p,n-p;1-\alpha}/(n-p)\).
  • Claiming exact finite-sample coverage without Gaussian sampling. The displayed \(F\) calibration is exact under the independent multivariate normal model with \(n>p\). Without those assumptions, it is not justified as an exact finite-sample result.
Key takeaway: The largest standardized error over all nonzero linear contrasts is \(\sqrt{n(\bar X-\mu)'S^{-1}(\bar X-\mu)}\). Calibrating that maximum with the exact Hotelling \(T^2\) distribution yields Scheffé bounds that cover every contrast simultaneously.

Check Your Understanding

Check that you can connect the geometric maximum to its finite-sample calibration.

  1. What assumptions are needed for the exact Scheffé critical value given here?
  2. Write the exact expression for \(K_\alpha\) in terms of an \(F\) quantile, \(p\), \(n\), and \(\alpha\).
  3. For nonzero \(\delta\), what direction of \(c\) attains the maximum standardized error?
  4. Why does coverage for one prespecified contrast not alone establish simultaneous coverage over every contrast?
  5. How would the Scheffé interval change if \(c\) were replaced by \(ac\) for a nonzero scalar \(a\)?
Clinical Biostats