Tutorials › Multivariate Statistics (Graduate) › Power Along Covariance Eigenvectors

Inference on Mean Vectors · Tutorial 209 of 975

Power Along Covariance Eigenvectors

Learn why an equally large mean shift is harder to detect in a high-variance direction and how to compare power across directions.

Intermediate 11 min read

What You'll Learn

  • Express a mean shift in covariance eigenvector coordinates
  • Calculate noncentrality for shifts of equal Euclidean length
  • Compare power for known- and estimated-covariance tests
  • Identify the least and most detectable shift directions
  • Distinguish equal Euclidean shifts from equal standardized effects

Why Direction Matters

A multivariate mean test does not respond only to the length of a mean shift. It also responds to the direction of that shift relative to the covariance matrix. If two populations have the same mean-shift length, the shift that lies along a high-variance direction is less pronounced against the background variation than one along a low-variance direction. Covariance-standardized noncentrality makes this comparison precise.

We consider independent observations \(X_1,\ldots,X_n\) from a \(p\)-variate normal distribution \(N_p(\mu,\Sigma)\), where \(\Sigma\) is positive definite. The null hypothesis is \(H_0:\mu=0\). Write the spectral decomposition of the covariance matrix using orthonormal eigenvectors \(v_1,\ldots,v_p\) and positive eigenvalues \(\eta_1,\ldots,\eta_p\):

$$ \Sigma v_j=\eta_j v_j,\qquad v_i^\mathsf{T}v_j= \begin{cases} 1,&i=j,\\ 0,&i\ne j. \end{cases} $$

The eigenvalue \(\eta_j\) is the variance of an observation projected onto \(v_j\). We compare shifts of length \(d>0\) along these directions, so that \(\mu=dv_j\). The key quantity for both the known-covariance and one-sample Hotelling tests is the noncentrality parameter

$$ \Delta=n\mu^\mathsf{T}\Sigma^{-1}\mu. $$

This is a squared, covariance-standardized effect multiplied by sample size. It is not the ordinary squared Euclidean length \(d^2=\mu^\mathsf{T}\mu\).

Definition: For a mean shift \(\mu\), the noncentrality parameter is \(\Delta=n\mu^\mathsf{T}\Sigma^{-1}\mu\). For a shift of Euclidean length \(d\) along a unit covariance eigenvector \(v_j\), it is \(\Delta=nd^2/\eta_j\). Thus, at fixed \(n\) and \(d\), larger variance in the shift direction means smaller noncentrality.

Deriving the Eigenvector Comparison

Because \(v_j\) is an eigenvector of \(\Sigma\), it is also an eigenvector of \(\Sigma^{-1}\), with eigenvalue \(1/\eta_j\). Consequently, for \(\mu=dv_j\),

$$ \Delta =n(dv_j)^\mathsf{T}\Sigma^{-1}(dv_j) =nd^2v_j^\mathsf{T}\Sigma^{-1}v_j =\frac{nd^2}{\eta_j}v_j^\mathsf{T}v_j =\frac{nd^2}{\eta_j}. $$

The last equality uses the unit length of \(v_j\). This yields the direction comparison directly: if \(\eta_a<\eta_b\), then \(nd^2/\eta_a>nd^2/\eta_b\). To translate this ordering into a power ordering, we need the fact that power for the tests considered here increases with the noncentrality parameter.

Worked Example: Equal Shifts Along Two Eigenvectors

Suppose \(p=2\), \(n=20\), and the covariance eigenvalues are \(\eta_1=1\) and \(\eta_2=9\). Compare shifts of length \(d=0.6\) along their respective unit eigenvectors.

The squared shift length is \(d^2=0.6^2=0.36\), so \(nd^2=20(0.36)=7.2\). Along the first eigenvector,

$$ \Delta_1=\frac{7.2}{1}=7.2. $$

Along the second eigenvector,

$$ \Delta_2=\frac{7.2}{9}=0.8. $$

The Euclidean lengths are identical, but the first shift has nine times the noncentrality: \(7.2/0.8=9\). The second direction has nine times the variance, which makes that same-length shift less distinguishable from sampling variation. For a level-\(\alpha\) known-covariance test, the two powers are \(P\{\chi^2_2(7.2)>c_\alpha\}\) and \(P\{\chi^2_2(0.8)>c_\alpha\}\), respectively, where \(c_\alpha\) is the upper-\(\alpha\) critical value of the central \(\chi^2_2\) distribution.

Why Larger Noncentrality Means Greater Power

Under the normal model with known \(\Sigma\), the statistic \(n\bar X^\mathsf{T}\Sigma^{-1}\bar X\) has a noncentral chi-square distribution with \(p\) degrees of freedom and noncentrality \(\Delta\) under the alternative. The level-\(\alpha\) test rejects when this statistic exceeds the central \(\chi^2_p\) upper-\(\alpha\) critical value. For estimated covariance, let \(S\) be the sample covariance matrix. When \(n>p\), the one-sample Hotelling statistic has the exact calibration

$$ \frac{n-p}{p(n-1)}\,n\bar X^\mathsf{T}S^{-1}\bar X \sim F_{p,n-p}(\Delta). $$

Here \(F_{p,n-p}(\Delta)\) denotes the noncentral \(F\) distribution with the indicated numerator and denominator degrees of freedom and noncentrality \(\Delta\). These exact distributions assume independent multivariate normal observations and positive-definite \(\Sigma\); the Hotelling form also requires \(n>p\).

Result: For either test at a fixed significance level, power is nondecreasing in \(\Delta\). Therefore, among mean shifts of a fixed Euclidean length, power is greatest along an eigenvector with the smallest covariance eigenvalue and least along an eigenvector with the largest covariance eigenvalue.

A proof follows from a mixture representation. If \(Y\) has a noncentral chi-square distribution with \(\nu\) degrees of freedom and noncentrality \(\Delta\), its moment-generating function is

$$ M_Y(t)=(1-2t)^{-\nu/2} \exp\!\left(\frac{\Delta t}{1-2t}\right), \qquad t<\frac12. $$

Set \(K\sim\operatorname{Poisson}(\Delta/2)\). The mixture that first draws \(K\) and then draws a central \(\chi^2_{\nu+2K}\) variable has moment-generating function

$$ \begin{aligned} E\!\left[(1-2t)^{-(\nu+2K)/2}\right] &=(1-2t)^{-\nu/2}E[(1-2t)^{-K}]\\ &=(1-2t)^{-\nu/2} \exp\!\left(\frac{\Delta}{2}\left(\frac{1}{1-2t}-1\right)\right)\\ &=(1-2t)^{-\nu/2} \exp\!\left(\frac{\Delta t}{1-2t}\right). \end{aligned} $$

This is the same moment-generating function, so the distributions agree. Now take \(\Delta_2>\Delta_1\ge0\). Couple the corresponding Poisson counts as \(K_2=K_1+J\), where \(K_1\sim\operatorname{Poisson}(\Delta_1/2)\), \(J\sim\operatorname{Poisson}((\Delta_2-\Delta_1)/2)\), and \(K_1,J\) are independent. Then \(K_2\ge K_1\). A central chi-square variable with \(r+2\) degrees of freedom can be represented as an independent \(\chi^2_r\) variable plus a \(\chi^2_2\) variable. Increasing the degrees of freedom in this coupling therefore increases the variable, so the probability of exceeding any fixed positive cutoff cannot decrease. This proves the power ordering for the known-covariance test.

For the noncentral \(F\) distribution, its numerator is a noncentral chi-square variable divided by its degrees of freedom, and its denominator is an independent central chi-square variable divided by its degrees of freedom. Couple the numerators using the preceding argument and keep the same positive denominator in both cases. The \(F\) statistic is then no smaller under \(\Delta_2\) than under \(\Delta_1\), so its upper-tail rejection probability cannot decrease. Hence the estimated-covariance test has the same nondecreasing power ordering. \(\square\)

Worked Example: Comparing Exact Hotelling-Test Power

Suppose \(n=10\), \(p=2\), and the covariance eigenvalues are \(1\) and \(4\). Compare length-\(0.5\) shifts along the two eigenvectors using the one-sample Hotelling test at level \(0.05\).

First, \(nd^2=10(0.5^2)=2.5\). The two noncentrality parameters are therefore

$$ \Delta_{\text{low variance}}=\frac{2.5}{1}=2.5, \qquad \Delta_{\text{high variance}}=\frac{2.5}{4}=0.625. $$

The null critical value is \(c=F^{-1}_{2,8}(0.95)\), where \(F_{2,8}\) is the central \(F\) distribution. Under the alternatives, the respective rejection probabilities are

$$ P\{F_{2,8}(2.5)>c\} \quad\text{and}\quad P\{F_{2,8}(0.625)>c\}. $$

The first is larger by the monotonicity result. Equivalently, the original Hotelling statistic is compared with the cutoff \(p(n-1)c/(n-p)=2(9)c/8=2.25c\); this rescaling does not change which direction has higher power. The comparison is exact under the stated normal model, not an approximation based on a large sample.

Shifts That Are Not Eigenvectors

An arbitrary unit direction \(u\) can be written as \(u=\sum_{j=1}^p a_jv_j\), where \(\sum_j a_j^2=1\). For a shift \(\mu=du\), the noncentrality is a weighted combination of the eigenvalue-specific contributions:

$$ \Delta =nd^2u^\mathsf{T}\Sigma^{-1}u =nd^2\sum_{j=1}^p\frac{a_j^2}{\eta_j}. $$

Since the weights \(a_j^2\) are nonnegative and sum to one, this quantity lies between \(nd^2/\eta_{\max}\) and \(nd^2/\eta_{\min}\), where \(\eta_{\max}\) and \(\eta_{\min}\) are the largest and smallest eigenvalues. The eigenvector directions attain these bounds.

Worked Example: A Shift Between Two Eigenvectors

Let

$$ \Sigma= \begin{pmatrix}5&4\\4&5\end{pmatrix}, \qquad v_1=\frac{1}{\sqrt2}\begin{pmatrix}1\\1\end{pmatrix}, \qquad v_2=\frac{1}{\sqrt2}\begin{pmatrix}1\\-1\end{pmatrix}. $$

Direct multiplication gives \(\Sigma v_1=9v_1\) and \(\Sigma v_2=v_2\), so the eigenvalues are \(9\) and \(1\). Take \(n=25\) and \(d=0.4\). A shift along \(v_1\) has noncentrality \(25(0.4^2)/9=4/9\); one along \(v_2\) has noncentrality \(25(0.4^2)/1=4\).

Now consider the unit direction \(u=(1,0)^\mathsf{T}\). Its eigenvector coordinates are \(a_1=a_2=1/\sqrt2\), since \(u=(v_1+v_2)/\sqrt2\). Thus

$$ \Delta =25(0.4^2)\left(\frac{(1/\sqrt2)^2}{9} +\frac{(1/\sqrt2)^2}{1}\right) =4\left(\frac{1}{18}+\frac12\right) =\frac{20}{9}. $$

This lies between \(4/9\) and \(4\), as the eigenvalue bounds require. The direction \(u\) is not itself a covariance eigenvector, so its noncentrality combines both variance directions.

Interpretation and a Common Pitfall

The ordering is about equal Euclidean shifts. A shift along a high-variance eigenvector is harder to detect because its size is small relative to the standard deviation in that direction. If the shifts instead have equal covariance-standardized length, they have equal noncentrality and hence equal power for these tests. For example, setting the shift length along \(v_j\) to \(d_j=c\sqrt{\eta_j}\) gives \(\Delta=nc^2\), independent of \(j\).

A common mistake is to argue that greater variance in a direction must make a mean shift easier to detect because the data vary more in that direction. That reasoning confuses spread with signal. For a fixed shift, greater spread makes the signal-to-noise ratio smaller: the contribution to noncentrality is \(nd^2/\eta_j\), not \(nd^2\eta_j\). Another mistake is to compare raw shift lengths while ignoring their directions. A Euclidean distance alone does not determine power unless the covariance structure is also accounted for.

Key takeaway: At fixed sample size and Euclidean shift length, the inverse covariance weights each direction. The smallest covariance eigenvalue gives the largest noncentrality and the highest power; the largest eigenvalue gives the smallest noncentrality and the lowest power.

Check Your Understanding

Use the noncentrality parameter to answer these questions.

  1. For a shift of length \(d\) along an eigenvector with eigenvalue \(\eta\), write the noncentrality parameter.
  2. If two eigenvalues are \(2\) and \(8\), which direction gives greater power for equal-length shifts, and by what factor do the noncentralities differ?
  3. Why does the power ordering also apply to the exact one-sample Hotelling test when covariance is estimated?
  4. For a unit direction \(u=\sum_j a_jv_j\), what conditions do the coefficients \(a_j\) satisfy, and how do they enter the noncentrality?
  5. How can two shifts in different directions have equal power despite unequal Euclidean lengths?
Clinical Biostats