- Introduced by
- Croux & Dehon (building on Hotelling's CCA framework)
- Year
- 2003
- Type
- Robust multivariate association
- Family
- Multivariate analysis
What does it do?
Robust canonical correlation analysis replaces the ordinary sample covariance matrix used in classical CCA with a robust estimate, such as the Minimum Covariance Determinant (MCD) or an S-estimator.
The aim is to stop a few outlying observations from dominating the estimated canonical weights and variates between two sets of continuous variables. The canonical correlations are then computed from those variates in the usual way, so they are not themselves outlier-resistant.
The intuition behind the method
Classical CCA takes the canonical weights from a generalised eigenproblem built from sample covariance blocks within and between the X and Y sets. A few extreme multivariate cases can pull those blocks, and therefore the eigenvectors, toward themselves. The robust version builds the same blocks from a covariance estimate that trims or down-weights cases far from the bulk of the data, so the canonical weights, and the variates formed from them, describe the typical structure of the sample more closely.
History
Harold Hotelling introduced canonical correlation analysis in 1936 as a way to summarise the association between two sets of variables. The robust MCD-based version is commonly attributed to Croux and Dehon (2003), but the bibliographic details of that reference could not be confirmed, and the claims about its breakdown point and permutation inference have not been verified. Consult the original paper before relying on those details.
When to use it
Use robust CCA when you want to relate two groups of continuous variables and suspect that gross errors or heavy-tailed observations could distort the classical solution. It is most relevant when the measurements are prone to occasional extreme values, for example from instrument faults or recording errors. Do not use it when the sample is small relative to the number of variables (an informal rule of thumb is fewer than 5 observations per variable across both sets, which is not a validated threshold), because robust estimation needs enough observations to identify the uncontaminated majority. If the data are clean and the sample is adequate, classical CCA is simpler and, under approximate normality, more efficient. For ordinal or categorical variables this method is not the appropriate tool; a method designed for those data types should be chosen instead.
Limitations and considerations
- Robust estimators such as MCD are computationally intensive, because they involve searching over subsets of observations, and the cost increases with both the number of observations and the number of variables.
- Breakdown point and efficiency differ between MCD, S-estimators and MM-estimators, and the choice among them involves a trade-off that is not resolved automatically.
- When there are more variables than observations, the robust covariance blocks cannot be estimated without additional regularisation, and the canonical problem is not identifiable in the usual way.
- Robust estimators are less efficient than the sample covariance when the data are close to multivariate normal, so some precision is lost on clean data.
- The interpretation of the canonical variates requires domain knowledge, as in classical CCA; robustness does not make the dimensions themselves easier to label.
- MCD and S-estimators assume that the bulk of the data is roughly elliptical. Strong departures from an elliptical-like shape can make the estimate and the resulting weights misleading.
- The method assumes continuous variables with finite second moments and a linear association between the two variable sets. If these assumptions are violated, the canonical solution can be hard to interpret even after outliers have been handled.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Because the canonical weights are built from robust covariance blocks, a few extreme multivariate cases have less influence on the estimated weights and canonical variates.
- The output has the same structure as classical CCA (weight vectors, canonical variates and correlations), so the usual interpretive summaries built from these quantities remain available.
- The covariance estimate from MCD has a breakdown point of about (n-h)/n, which approaches 50 percent when h is about n/2. The canonical solution inherits this limit only indirectly, and the result still depends on the choice of subset size h.
- When MCD is used, the robust distances computed from the same estimate can be inspected to identify cases that look atypical, which helps screen the data.
Applications
- Relating neuroimaging measures to cognitive test batteries, where scanner or recording artefacts may create extreme values.
- Ecology: linking species abundance data to sets of environmental variables when some sites are anomalous.
- Econometrics: examining the association between two groups of macroeconomic indicators when some series contain errors.
- Chemometrics: associating spectral features with physical or chemical properties when instrument faults produce outliers.
- Medical research: relating two panels of biomarkers when laboratory errors may produce extreme values.
How it works
How it works
The first step replaces the ordinary sample covariance matrix with a robust estimate of the joint covariance of the two variable sets X and Y. One common choice is the Minimum Covariance Determinant (MCD) estimator, which searches for the subset of h observations with the smallest covariance determinant and uses that subset's covariance, rescaled, as the estimate. Another is an S-estimator, which chooses the covariance by minimising a robust scale of the observation distances. The result is a block matrix with robust within-set and between-set covariance blocks.
Formula
\hat{\boldsymbol{\Sigma}} = \begin{pmatrix} \hat{\boldsymbol{\Sigma}}_{XX} & \hat{\boldsymbol{\Sigma}}_{XY} \\ \hat{\boldsymbol{\Sigma}}_{YX} & \hat{\boldsymbol{\Sigma}}_{YY} \end{pmatrix}Canonical weights are then obtained from the same generalised eigenproblem as in classical CCA, with the robust covariance blocks in place of the ordinary sample blocks. The eigenvector a_k gives the weights for the X side. The Y-side weights b_k are obtained analogously by exchanging the roles of X and Y.
Formula
\hat{\boldsymbol{\Sigma}}_{XX}^{-1}\hat{\boldsymbol{\Sigma}}_{XY}\hat{\boldsymbol{\Sigma}}_{YY}^{-1}\hat{\boldsymbol{\Sigma}}_{YX}\mathbf{a} = \rho^2 \mathbf{a}The canonical variates are the linear composites U_k = a_k' X and V_k = b_k' Y, formed by applying the estimated weight vectors to the original observations. Each pair (U_k, V_k) describes one dimension of association between the two variable sets, and the pairs are ordered from strongest to weakest.
Formula
U_k = \mathbf{a}_k^{\top}\mathbf{X},\quad V_k = \mathbf{b}_k^{\top}\mathbf{Y}The canonical correlation rho_k is the correlation between the paired canonical variates, as given in the formula. Because the weights come from a robust covariance matrix, the variates are less affected by outlying cases. The correlation step itself is the ordinary Pearson correlation, which is not outlier-resistant, so a few extreme variate scores can still inflate or deflate rho_k. A robust correlation can be substituted if the software provides one, but this should be confirmed in the documentation. Whether permutation testing is appropriate for significance has not been validated for robust CCA, so check the software documentation and simulation evidence before relying on it.
Formula
\hat{\rho}_k = \operatorname{corr}(U_k, V_k)Common pitfalls
- Running classical CCA on data with known outliers and treating the results as reliable. Even one or two extreme multivariate observations can change the canonical correlations substantially.
- Choosing the MCD subset size h without checking its effect. A value that is too large reduces robustness, and a value that is too small reduces efficiency. The commonly used default h = floor((n + p + 1)/2) is a starting point, not a guarantee.
- Deciding how many canonical dimensions to keep without a formal criterion. Permutation tests on the robust canonical correlations can be considered, but their use with robust CCA has not been validated; a plot of the correlations is a simple complement.
- Removing flagged cases by hand and then applying robust CCA. The method already down-weights or trims influential cases, so manual deletion on top of it reduces the sample twice.
Frequently asked questions
How does robust CCA differ from classical CCA?
Classical CCA takes its weights from the ordinary sample covariance matrix, which outliers can strongly influence. Robust CCA takes its weights from an outlier-resistant estimate such as MCD or an S-estimator, so the weights and variates reflect the typical structure of the data more closely. The correlation between the variates is still computed in the usual way.
Which robust estimator should I use?
MCD is a common choice for robust CCA and is a reasonable starting point with its default tuning. S-estimators are an alternative with different efficiency and breakdown properties. Whichever is used, the implementation and its tuning settings should be checked in the software documentation.
How many canonical dimensions should I retain?
Retain dimensions whose robust canonical correlations are large and interpretable. A plot of the correlations and the cumulative redundancy indices can guide the decision. Permutation-based significance tests may be considered, but their validity for robust CCA has not been established.
Can I use robust CCA with ordinal data?
The method described here is for continuous variables, because the robust covariance estimate is defined for them. Ordinal items call for a different approach, such as methods built for ordinal data or categorical data (for example, multiple correspondence analysis). Combining polychoric correlations with the robust step described here should not be assumed to provide the same robustness, and the relevant literature should be checked first.
Is a large sample required?
Yes. Contamination probably increases the number of observations needed, because the estimator must identify the uncontaminated majority. The guide of at least 5 observations per variable across both sets combined is an informal rule of thumb rather than a validated requirement; the required size depends on the contamination level and the number of variables and is best checked by simulation. Very small samples are not suitable.
How should I read the output?
Each canonical correlation rho_k measures the association between one pair of variates, and its square is the proportion of variance the two variates share. Weights depend on the scaling of the variables, so interpret standardised weights or loadings rather than raw coefficients. As a sensitivity check, compare the robust solution with the classical CCA; large differences point to influential cases worth examining.
Related methods
Sources
Croux, C. & Dehon, C. (2003). Robust estimation of the canonical correlations. Computational Statistics, 18(3), 555–569.
Open publication referenceCanonical correlation. Wikipedia.
Open publication reference