Tutorials › Multivariate Statistics (Graduate) › Simultaneous Inference for Eigenvalues and Variance Shares

PCA Inference and Asymptotics · Tutorial 521 of 975

Simultaneous Inference for Eigenvalues and Variance Shares

Build simultaneous confidence statements for eigenvalues and variance shares using their joint asymptotic covariance, rather than treating the estimates as independent.

Advanced 13 min read

What You'll Learn

  • Define a joint parameter vector containing selected eigenvalues and explained-variance shares
  • Derive influence functions for eigenvalues and variance shares
  • Estimate the joint asymptotic covariance from centered observations
  • Construct simultaneous intervals using a joint maximum statistic or a Wald ellipsoid
  • Recognize singular covariance caused by exact constraints among variance shares
  • Distinguish simultaneous coverage from a collection of marginal confidence intervals

Why Simultaneous Inference Is Different

A principal components analysis often reports several eigenvalues and several explained-variance proportions together. If each estimate is paired with a separate 95% confidence interval, those intervals do not generally provide 95% coverage for the whole collection. Moreover, the estimates are dependent: a change in one eigenvalue can affect both other eigenvalues and the total variance used in every variance share.

This tutorial constructs joint asymptotic confidence statements for a specified collection of simple population eigenvalues and variance shares. The central object is their joint covariance. It enters both the joint calibration of maximum-statistic intervals and the shape of a Wald confidence ellipsoid.

Definition: Let \(X_1,\ldots,X_n\) be independent and identically distributed \(p\)-dimensional observations with mean \(\mu\) and positive-definite covariance matrix \(\Sigma\). Write the ordered eigenvalues of \(\Sigma\) as \(\lambda_1>\cdots>\lambda_p>0\), and let \(u_j\) be a unit eigenvector for \(\lambda_j\). The explained-variance share of the \(j\)th component is \(\rho_j=\lambda_j/T\), where \(T=\operatorname{tr}(\Sigma)=\sum_{k=1}^p\lambda_k\). A selected joint parameter vector \(\theta\) may contain several \(\lambda_j\)'s, several \(\rho_j\)'s, or both.

For the sample covariance matrix, use \(S=n^{-1}\sum_{i=1}^n(X_i-\bar X)(X_i-\bar X)'\), with \(\bar X=n^{-1}\sum_iX_i\). Let \(\hat\lambda_j\) and \(\hat u_j\) be its ordered eigenvalues and corresponding unit eigenvectors. The sample share is \(\hat\rho_j=\hat\lambda_j/\operatorname{tr}(S)\). Assume the eigenvalues used in the analysis are distinct, so their first-order perturbations have the usual scalar form.

Joint First-Order Variation

Put \(Y=X-\mu\). The influence function for a simple eigenvalue is \(\psi_{\lambda_j}(X)=(u_j'Y)^2-\lambda_j\). For a variance share, the denominator also varies. Applying the quotient rule gives \(\psi_{\rho_j}(X)=\{\psi_{\lambda_j}(X)-\rho_j(\|Y\|^2-T)\}/T\). These formulas show directly why treating the estimates as independent is usually unjustified: each share includes the fluctuation in total variance, and several eigenvalue influence functions are computed from the same observation.

$$ \psi_{\rho_j}(X) = \frac{(u_j'Y)^2-\lambda_j-\rho_j(\|Y\|^2-T)}{T}. $$

Choose \(q\) coordinates for \(\theta\), and stack their influence functions into a vector \(\psi(X)\). If \(E\|Y\|^4<\infty\), the multivariate central limit theorem and first-order eigenvalue and quotient expansions give \(\sqrt n(\hat\theta-\theta)\xrightarrow{d}N_q(0,V)\), where \(V=E[\psi(X)\psi(X)']\). This covariance includes every cross-covariance among the selected eigenvalues and shares.

Theorem: Suppose the observations are iid, \(E\|X\|^4<\infty\), the population covariance is positive definite, and every eigenvalue used in \(\theta\) is simple. If \(V\) is the covariance matrix of the stacked influence vector and is nonsingular, then \[ \sqrt n(\hat\theta-\theta)\xrightarrow{d}N_q(0,V). \] A consistent estimate \(\hat V\) of \(V\) can be obtained by substituting sample eigenvalues, eigenvectors, shares, and centered observations into the influence functions and taking their empirical covariance.

Here is the justification. The first-order eigenvalue expansion for a simple eigenvalue gives \(\hat\lambda_j-\lambda_j=n^{-1}\sum_i\psi_{\lambda_j}(X_i)+o_p(n^{-1/2})\). The corresponding trace expansion is \(\operatorname{tr}(S)-T=n^{-1}\sum_i(\|X_i-\mu\|^2-T)+o_p(n^{-1/2})\). The quotient map \((a,b)\mapsto a/b\) is differentiable at \((\lambda_j,T)\), since \(T>0\). Its derivative gives the displayed share influence function. Stacking these expansions yields \(\sqrt n(\hat\theta-\theta)=n^{-1/2}\sum_i\psi(X_i)+o_p(1)\). The fourth-moment condition ensures finite covariance for this vector, so the multivariate central limit theorem gives the stated limit. For the plug-in estimate, the sample eigenvalues, eigenvectors and shares are consistent under the stated spectral gaps; the empirical covariance of the substituted influence vectors converges to \(V\) by the law of large numbers and the finite fourth moment. Thus \(\hat V\xrightarrow{p}V\). \(\square\)

In practice, define \(\hat\psi_i\) by substituting \(Y_i=X_i-\bar X\), \(\hat u_j\), \(\hat\lambda_j\), \(\hat\rho_j\), and \(\operatorname{tr}(S)\) into the influence formulas. Then set \(\hat V=n^{-1}\sum_i(\hat\psi_i-\bar{\hat\psi})(\hat\psi_i-\bar{\hat\psi})'\). This estimates the covariance of the root-\(n\) limit; the estimated covariance of \(\hat\theta\) itself is \(\hat V/n\).

Two Ways to Make Statements Simultaneous

One approach forms a maximum of standardized errors. Let \(\hat s_a^2=\hat V_{aa}\), for \(a=1,\ldots,q\), and let \(\hat R\) be the correlation matrix corresponding to \(\hat V\). For a chosen error probability \(\alpha\), let \(\hat c_{1-\alpha}\) be the \(1-\alpha\) quantile of \(\max_a|Z_a|\) for \(Z\sim N_q(0,\hat R)\). Subject to the regularity conditions that the relevant marginal variances are positive and the limiting quantile is unique, intervals \(\hat\theta_a\pm\hat c_{1-\alpha}\hat s_a/\sqrt n\) have joint asymptotic coverage \(1-\alpha\). Unlike separate marginal intervals, their critical value reflects the dependence encoded in \(\hat R\).

Theorem: Under the joint limit above, if each \(V_{aa}>0\) and the distribution of \(\max_a|Z_a|\), for \(Z\sim N_q(0,R)\), has a unique \(1-\alpha\) quantile \(c_{1-\alpha}\), then using the consistent plug-in estimate of that quantile gives \[ P\!\left( \theta_a\in \left[\hat\theta_a-\hat c_{1-\alpha}\frac{\hat s_a}{\sqrt n}, \hat\theta_a+\hat c_{1-\alpha}\frac{\hat s_a}{\sqrt n}\right] \text{ for every }a \right)\longrightarrow 1-\alpha. \]

To verify the coverage, the event that every interval covers is exactly the event \(\max_a|\sqrt n(\hat\theta_a-\theta_a)/\hat s_a|\leq\hat c_{1-\alpha}\). By the joint limit and \(\hat s_a\xrightarrow{p}\sqrt{V_{aa}}\), the vector inside the maximum converges in distribution to a mean-zero normal vector with correlation matrix \(R\). Consistency of \(\hat R\) and uniqueness of the quantile imply \(\hat c_{1-\alpha}\xrightarrow{p}c_{1-\alpha}\). The limiting maximum has a continuous distribution at that quantile, so convergence in distribution gives the claimed limiting probability. \(\square\)

A second approach uses a joint Wald ellipsoid. If \(V\) is nonsingular, the quadratic form \(n(\hat\theta-\theta)'\hat V^{-1}(\hat\theta-\theta)\) converges in distribution to a chi-square random variable with \(q\) degrees of freedom. The ellipsoid at the chi-square quantile has asymptotic joint coverage \(1-\alpha\); its coordinate projections give simultaneous intervals. This method uses the full covariance matrix in the ellipsoid's orientation, while the maximum method calibrates the largest standardized coordinate directly.

Worked Examples

Worked Example: Dependence Between Two Variance Shares

Suppose \(X\) is trivariate normal with covariance eigenvalues \(4,2,1\). Find the first-order covariance matrix of the first two explained-variance shares.

The total variance is \(T=7\), so \(\rho_1=4/7\) and \(\rho_2=2/7\). In population eigenvector coordinates, write \(Y_j=\sqrt{\lambda_j}Z_j\), where the \(Z_j\)'s are independent standard normal variables, and let \(A_j=Z_j^2-1\). Then \(E[A_j]=0\), \(\operatorname{Var}(A_j)=2\), and distinct \(A_j\)'s are independent.

The numerator of \(\psi_{\rho_1}\), before division by \(T=7\), has coefficients \(12/7,-8/7,-4/7\) on \(A_1,A_2,A_3\). Thus its coefficients after division by 7 are \(12/49,-8/49,-4/49\). For \(\psi_{\rho_2}\), the coefficients after division by 7 are \(-8/49,10/49,-2/49\). Independence of the \(A_j\)'s now gives

$$ \operatorname{Var}(\psi_{\rho_1})=\frac{64}{343}, \qquad \operatorname{Var}(\psi_{\rho_2})=\frac{48}{343}, \qquad \operatorname{Cov}(\psi_{\rho_1},\psi_{\rho_2})=-\frac{48}{343}. $$

For instance, the covariance is \(2\{12(-8)+(-8)(10)+(-4)(-2)\}/49^2=-336/2401=-48/343\). The correlation is \(-48/\sqrt{64\cdot48}=-\sqrt{3}/2\). The two shares therefore fluctuate strongly in opposite directions. This covariance is essential to calibrating a joint statement; using two independent normal errors would misrepresent the joint distribution.

Worked Example: A Joint Ellipsoid for Two Shares

Continue with the population shares \(4/7\) and \(2/7\), and take \(n=200\). Construct coordinate intervals from the 95% Wald ellipsoid for these two shares.

The asymptotic standard errors are the square roots of the diagonal elements of \(V/n\):

$$ \sqrt{\frac{64}{343\cdot200}}\approx0.03054, \qquad \sqrt{\frac{48}{343\cdot200}}\approx0.02645. $$

For a two-dimensional ellipsoid, the 95% chi-square critical value is \(\chi^2_{2,0.95}\approx5.991\), whose square root is approximately \(2.448\). Projecting the ellipsoid onto each coordinate therefore gives the simultaneous intervals

$$ \frac47\pm2.448(0.03054)\approx[0.4967,0.6462], \qquad \frac27\pm2.448(0.02645)\approx[0.2210,0.3505]. $$

These are coordinate projections of one joint confidence ellipsoid, not two separately calibrated 95% intervals. The off-diagonal covariance found in the preceding example determines the ellipsoid's orientation and its joint coverage. The endpoints are approximate, since both the covariance and the asymptotic approximation are estimated.

Worked Example: Maximum Calibration When Errors Are Independent

Suppose two standardized estimates have limiting correlation matrix \(R=I_2\). Find the 95% maximum-statistic critical value and compare it with a Bonferroni critical value.

For independent standard normal variables \(Z_1,Z_2\), the probability that both absolute values are at most \(c\) is \(P(|Z_1|\leq c,|Z_2|\leq c)=[2\Phi(c)-1]^2\), where \(\Phi\) is the standard normal distribution function. Setting this equal to \(0.95\) gives \[ \Phi(c)=\frac{1+\sqrt{0.95}}{2}\approx0.98734, \] so \(c\approx2.235\). The simultaneous maximum-statistic intervals thus use approximately \(2.235\) standard errors for each coordinate.

Bonferroni instead uses \(z_{1-0.05/(2\cdot2)}=z_{0.9875}\approx2.241\). It is a valid conservative alternative, but it does not calibrate to the joint distribution; here it is slightly wider. When the estimated correlation matrix is not the identity, the maximum-statistic critical value is calculated from that estimated joint normal distribution rather than from the independent formula.

Singularity, Interpretation, and a Common Pitfall

If all \(p\) variance shares are included, they sum to one. Their joint covariance matrix is therefore singular: the deviations in the shares cannot vary freely in all \(p\) directions. More generally, redundant coordinates or exact constraints can make a selected joint covariance singular. Do not invert a singular matrix as though it were nonsingular. One may omit a redundant share, use a maximum-statistic method with positive marginal variances, or use a Wald construction on the nonredundant subspace with the appropriate rank and generalized inverse.

A common mistake is to report several marginal 95% intervals and describe them as a 95% joint confidence statement. The individual coverage statements do not imply that all intervals cover simultaneously with probability 0.95. Another mistake is to calculate standard errors separately and set all cross-covariances to zero. As the share example shows, the common random denominator can induce substantial dependence. The correction is to form the joint influence vector first, estimate its full covariance, and calibrate the complete collection together.

Key takeaway: Simultaneous inference requires the joint sampling behavior of the selected eigenvalues and shares. Their covariance determines the appropriate maximum-statistic calibration or Wald ellipsoid; marginal standard errors alone do not describe joint uncertainty.

Check Your Understanding

Use the definitions and joint-inference methods developed above.

  1. Why does the influence function for an explained-variance share include a term involving the fluctuation of total variance?
  2. For a vector of three selected quantities, what distribution determines the maximum-statistic critical value?
  3. Why does the covariance matrix of all \(p\) explained-variance shares fail to be nonsingular?
  4. What additional feature does a joint Wald ellipsoid use that separate marginal intervals ignore?
  5. When is a Bonferroni critical value a useful alternative to estimating a dependence-aware maximum-statistic critical value?
Clinical Biostats