Accounting for Structured Missingness in Canonical Correlation Analysis

preprint OA: gold CC-BY-NC-ND-4.0
📄 Open PDF Full text JSON View at publisher

Abstract

A particularly challenging form of missing data is structured missingness, where sets of subjects and variables consistently have missing data. For tabular data from sub-studies or modalities, structured missingness can come from non-participation in followup studies, which creates large blocks of missing data. Canonical Correlation Analysis (CCA) is a multivariate modelling tool commonly used to link two different set of variables, and in neuroimaging has typically been used to find associations between imaging and non-imaging variables. Motivated by CCA, we propose a new method for covariance estimation from incomplete data that handles data with a mix of structured and unstructured missingness, assuming Missing at Random (MAR). Our proposed method is compared to existing methodology by way of evaluation on simulated data and on real data from subjects in the UK Biobank brain imaging cohort.
Full text 45,320 characters · extracted from preprint-html · click to expand
Accounting for Structured Missingness in Canonical Correlation Analysis | medRxiv /* */ /* */ <!-- <!-- /*! * yepnope1.5.4 * (c) WTFPL, GPLv2 */ (function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0];var j=d.createElement(s);var dl=l!='dataLayer'?'&l='+l:'';j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;j.type='text/javascript';j.async=true;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-P4HH5NV'); Skip to main content Home About Submit ALERTS / RSS Search for this keyword Advanced Search Accounting for Structured Missingness in Canonical Correlation Analysis View ORCID Profile Lav Radosavljević , View ORCID Profile Stephen M. Smith , View ORCID Profile Thomas E. Nichols doi: https://doi.org/10.1101/2025.10.09.25337581 Lav Radosavljević 1 Nuffield Department of Population Health, University of Oxford Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Lav Radosavljević Stephen M. Smith 2 Nuffield Department of Clinical Neurosciences, University of Oxford Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Stephen M. Smith Thomas E. Nichols 1 Nuffield Department of Population Health, University of Oxford Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Thomas E. Nichols For correspondence: thomas.nichols{at}bdi.ox.ac.uk Abstract Full Text Info/History Metrics Supplementary material Data/Code Preview PDF Abstract A particularly challenging form of missing data is structured missingness, where sets of subjects and variables consistently have missing data. For tabular data from sub-studies or modalities, structured missingness can come from non-participation in followup studies, which creates large blocks of missing data. Canonical Correlation Analysis (CCA) is a multivariate modelling tool commonly used to link two different set of variables, and in neuroimaging has typically been used to find associations between imaging and non-imaging variables. Motivated by CCA, we propose a new method for covariance estimation from incomplete data that handles data with a mix of structured and unstructured missingness, assuming Missing at Random (MAR). Our proposed method is compared to existing methodology by way of evaluation on simulated data and on real data from subjects in the UK Biobank brain imaging cohort. 1 Introduction There has recently been an increased interest in studying and characterising the structure of missingness patterns in large-scale data sets 1 – 3 . Structured Missingness (SM) can have diverse causes, such as combining sub-studies with overlapping sets of participants, batch failure or recording data from a questionnaire where some questions are recorded only if the subject answered ‘Yes’ or ‘No’ to a previous question, leading to blocks of missing data 1 . While missing data literature mostly ignores missing data structure, this might be problematic. It is not uncommon for SM to lead to a situation where highly correlated variables are mostly jointly missing, making it much more difficult to impute missing values using correlated variables 3 . Therefore, new missing data methodology is needed to address SM specifically. In this work, we focus on handling SM for the task of Canonical Correlation Analysis (CCA) 4 . Our work is inspired by tabular data from subjects in the UK Biobank (UKB) Brain Imaging Cohort. This data consists of imaging derived phenotypes (IDPs), which are derived from MRI images of the subjects’ brains, and non-imaging derived phenotypes (nIDPs), which come from diverse sub-studies in UKB. SM in this type of data is caused by non-participation, as each subject has participated in a specific set of sub-studies, and non-participation in any sub-study will lead to missingness for all variable derived from the same. Additionally, a sub-study can also have unstructured missingness (UM) that is attributable to any other cause. Figure 1 illustrates this setting, which is similar to a multi-view learning problem with missing views 5 , 6 , and with UM added. CCA is commonly used to link IDPs and nIDPs, both of which can have SM, so it is therefore important to investigate how to best handle SM for this analytical task. We evaluate several existing methods on both real and synthetic data and propose a new method which handles SM and UM separately. Download figure Open in new tab Figure 1. The missing data in a sub-study can be divided into structured missingness (SM), caused by non participation, and unstructured missingness (UM) attributable to any other cause. 1.1 Canonical Correlation Analysis CCA is a multivariate analysis method commonly used in e.g. neuroscience for tasks such as de-noising, detecting task fMRI activation or analysing and testing associations between different modalities 7 – 11 . It finds the maximal correlation between linear combinations of two variable sets. If and are random vectors representing the two variable sets, CCA seeks to find weight vectors such that canonical variables u = x ⊤ β x and v = y ⊤ β y have maximal correlation. CCA can be performed via the generalised eigenvalue problem (GEP) in the following way 12 : Where and is the covariance matrix of ( x, y ). In practice, since the joint covariance matrix of x and y is usually unknown, it is estimated from data; D = ( X, Y ), where X and Y are n × d x and n × d y data matrices corresponding to n independent observations of ( x, y ). 1.2 Confounding and Missingness When analysing associations between IDP and nIDP data, there are often sources of confounding which we want to adjust for prior to performing CCA. In epidemiological studies, variables such as age, sex, BMI, ethnicity, geographical region and variables related to socioeconomic status are examples of confounds 13 . These are the same types of variables that are also broadly predictive of study participation 14 and therefore also SM. Figure 2 shows the relationship between missingness and confounding variables that is assumed throughout the paper. Also, if we assume that our confound variable b is fully observed, we see that this missing data model falls under Missing at Random (MAR), since the relationship between data can be described using only observed variables. If m is the missingness indicator of our joint random vector d = ( b, x, y ), which can be split into observed and unobserved components d obs and d mis , then we have that Download figure Open in new tab Figure 2: Structured missingness is assumed to be determined by the confounding variables, i.e., baseline characteristics such as age, sex, BMI, ethnicity, socioeconomic status etc., while unstructured missingness is assumed to be independent of all variables. This assumption results in data that falls under MAR, which our method relies on. and since b ⊆ d obs (confounds being always fully observed), it follows that which by definition means that data is MAR. 1.3 Related Work Since CCA requires estimation of the covariance matrix from observed data, the work most relevant to this paper concerns the estimation of covariance matrices from incomplete data. Under the assumption of multivariate Gaussianity and MAR, the Maximum Likelihood Estimate (MLE) of the covariance matrix Σ can be found via the Expectation-Maximisation (EM) algorithm 15 . This is, however, a highly computationally expensive procedure, as each iteration of the EM algorithm requires h inversions of ( d x + d y ) × ( d x + d y ) matrices, where h is the number of missingness patterns observed in the n rows of D . It is easy to see that any unstructured missingness will lead to h ≈ n in the high dimensional case, because there are possible missingness patterns m , and it is therefore unlikely that the same missingness pattern would appear more than once. This consequently leads to a very high time complexity for the EM algorithm. Therefore, the use of the MLE of the covariance matrix via EM has mostly been restricted to low-dimensional, small data settings 16 . Several faster unbiased methods using inverse probability weighting (IPW) have been proposed for learning covariance matrices from incomplete data assuming missing completely at random (MCAR). The method proposed by Lounici (2014) 17 assumes that missingness for each entry is determined by independent and identically distributed Bernoulli random variables with a known probability δ . However, this estimator is heavily biased in our structured setup where there is both strong dependence between missing data patterns and differing rates of missingness between variables. Park and Lim (2019) 18 extend this approach to allow for dependence between missingness patterns and variable-specific missingness rates, but their proposed estimator requires a-priori knowledge of the joint probability distribution of the missingness over all variables. If these parameters are estimated from data, the Park and Lim estimator becomes the standard covariance matrix estimate using pairwise complete observations (PCO), which is not necessarily positive semi-definite (PSD). Multivariate Imputation by Chained Equations (MICE) 19 , 20 is also commonly used to handle missing data and is applicable to the problem of covariance estimation from incomplete data. MICE iteratively creates random synthetic replacements for the missing entries by fitting regression models for each variable using all other variables, which stochastically impute missing entries. Like the EM algorithm, this method also suffers from high computational cost, although this problem can be alleviated by using a carefully selected subset of variables to fit the prediction models, instead of using all available variables 3 , 21 – 23 . Finally, it should be noted that in most cases, missing data is handled via simple, non-stochastic, Single Imputation methods such as mean imputation or matrix completion, prior to applying CCA. This is an inherently biased approach, unless imputation can be done with perfect accuracy, as non-stochastic imputation creates a downward bias in variance by not accounting for noise in the imputed values. And since the variance is biased post imputation, covariance is also generally biased. 2 Methods Our method handles structured and unstructured missingness separately. When linking two modalities using CCA, we are often very close to a pure multi-view setting (i.e., a setting with no UM) where the EM algorithm can be practically used for covariance matrix estimation. However, the unstructured missingness makes this intractable, as discussed in subsection 1.3 and also in Le Morvan et. al. (2020) 24 . Additionally, we assume that correlations within X and Y are strong, while correlations between X and Y are weak, making unstructured missingness easy to impute and structured missingness difficult to impute. For example, a study measuring the weights of different body parts will produce highly correlated variables, as the weights of individual body parts are strongly correlated with the subjects’ height and BMI. Variables from different studies that measure completely different things tend to be more weakly correlated. We therefore propose to handle unstructured missingness prior to applying the EM algorithm, either via a single imputation method such as mean imputation or SoftImpute (SI) 25 , or via MICE. After that, we use EM to obtain an approximate MLE of the covariance matrix from incomplete data. In Figure 3 , we see an illustration that describes the estimation procedure. When using MICE, we create r multiply imputed data sets, obtain MLE covariance matrices for each of them, and average them to obtain a single estimate. Download figure Open in new tab Figure 3: Illustration of our proposed method. A) We apply a Single Imputation method to impute the unstructured missingness in X and Y . After this, the EM algorithm is applied to obtain the MLE covariance matrix. B) We use MICE to create r multiply imputed data sets where only unstructured missingness has been imputed. We apply EM to obtain r MLE covariance matrices, which we average to obtain a single estimate. There is mathematical intuition to support the validity of the proposed method using MICE. Let Σ be the covariance matrix described in equation 1 . If D obs = ( X obs , Y obs ) is the observed data and D UM = ( X UM , Y UM ) is unobserved data obscured by unstructured missingness only, we know that where ℒ is the likelihood function. It can be argued further, using the logic of Monte-Carlointegration that where have been sampled independently from ℙ( D UM | D obs ) using MICE. It follows that where the second approximation assumes that the functions are well approximated by quadratic functions with the same Hessian (see supplementary material for a full justification). Since D obs and together form an imputed data set with only structured missingness, it is computationally tractable to find argmax Σ via EM. Thus, our final estimate is In practice, when finding the average of covariance matrices, they are often averaged in a reparametrised form and then returned to their original form after averaging 26 , 27 . We average the covariance matrices in Cholesky space 28 , because this is a simple and fast reparametrisation that has been shown to have good empirical performance for covariance matrices that are well conditioned 27 . This is a version of the standard method of pooling multiply imputed data, called Rubin’s rules 19 , performed on covariance matrices in a reparametrised form. In order to save computational time, we only use the variables in X to impute X UM and only the variables in Y to impute Y UM , as variables from the same sub-study tend to be more strongly correlated than variables from different substudies, making them more suitable for imputation. For the version of our method that uses MICE to impute UM, we only use a selection of 5 imputation variables for each variable. The main benefit of our proposed method is that the covariance matrix is estimated efficiently without imputation, after handling the small amount of UM. The EM MLE after imputing UM uses all data available, in contrast with MICE where we are forced to select a subset for each variable that we use for imputation. This both saves computational time and reduces bias by avoiding this type of truncation. 2.1 Other Methods We compare several other methods to our approach. The simplest of these include Single Imputation methods, mean imputation and SoftImpute. For SoftImpute, we select the soft threshold for singular values heuristically using the elbow rule 29 . Another method is MICE, where we create r multiply imputed data sets, calculate the sample covariance matrix on each set, and average them to obtain a single estimate (pooling is done in Cholesky space as described in section 2 ). Since we are working in a high dimensional setting, we use the variable selection procedure for iterative imputation models described in Radosavljević et. al. (2024) 3 . Here, we use 20 imputation variables for each variable. Finally, we consider the method of estimating the covariance matrix using pairwise complete observations. This estimate is unbiased under MCAR, but is not necessarily PSD. We solve this by first calculating standard deviations for each variable using complete observation. We then calculate the correlation matrix using the PCO approach and project it to the closest PSD correlation matrix with Higham’s Algorithm 30 using the nearPD function in R’s Matrix package 31 . Finally, we transform this correlation matrix back to a PSD covariance matrix using the estimated standard deviations. We acknowledge that there could be some benefit in excluding rows that have structured missingness in either X or Y , especially for Single Imputation methods where bias is increased with the amount of missingness. Assuming that the causal structure shown in Figure 2 is correct, excluding rows with SM should yield correct inferential results, as fully observed confounds contain all information that is predictive of missingness. On the other hand, the loss of information by excluding whole rows with SM could be detrimental to inference, or lead to a situation where the number of rows and columns are similar, which is itself problematic for weight stability in CCA. We therefore perform all methods (excluding our proposed method) using both approaches, as shown in Figure 4 . Download figure Open in new tab Figure 4: Illustration of the two approaches used for CCA. A) We use all rows in X and Y , irrespective of structured missingness. B) All rows where there is SM in either X or Y are excluded prior to downstream analysis. 2.2 Deconfounding To adjust for confounding variables in our CCA, we first exclude the few rows where there is any missingness in the confounds and then perform standard Ordinary Least Squares (OLS) based deconfounding on X and Y as a preprocessing step. This is a standard approach to handling confounds in CCA 32 . Interestingly, since we assume that structured missingness is determined in large part by confounds, our data will be approximately MCAR after deconfounding, as the data in X and Y will be orthogonal to the confounds, and thus by extension uncorrelated with the structured missingness patterns. 2.3 Simulation Study To evaluate our method, we perform a simulation study mimicking the real data case. We simulate data sets D = ( B, X, Y ) where B are confounds and ( X, Y ) is the pair of substudies that we want to perform CCA on. The process for generating confounds is shown using pseudo-code in the supplementary material. The data generation process is inspired by Singular Value Decomposition (SVD) and assumes the existence of a low rank approximation of data. ( X, Y ) are generated in a similar way, where are two matrices with common variance generated using an SVD inspired procedure, and we set where Γ X and Γ Y are two matrices of confound effects. We induce structured missingness in ( X, Y ) using our simulated B , such that the probability of SM in X is p SM and 1.5 p SM in Y , while guaranteeing that SM can be predicted using B with an AUC score of AUC SM = 0.8. The process we use for creating informative SM is described fully in Radosavljević et. al. (2024) 3 . SM is determined via a Logistic Regression model using the confounds as variables. The coefficients of the Logistic Regression model are scaled using a binary search procedure to match the AUC score that we have chosen (AUC SM ). We also induce unstructured missingness at a rate of p UM in total, but such that the probability of UM is allowed to vary between variables. Specifically, the rates of UM for each variable are drawn from a Beta distribution with expectation p UM and variance Lastly, we induce 1% missingness in the confounds for a subset of variables that are not used to induce structured missingness. We vary the rates of missingness to be p SM = 0.1, 0.2, 0.4 and p UM = 0.01, 0.05, 0.15. We also vary a parameter σ U = 0.02, 0.03, 0.05, which controls the level of correlation between X and Y after removing confounding effects, with higher values of σ U leading to stronger canonical correlation. σ U is the standard deviation of the variance components that are shared between and , while the variance components that are unique to either or all have standard deviation 1. We set n = 50000 (roughly the number of subjects in the UKB Brain Imaging cohort) and d x = d y = 200. We evaluate the performance of each missingness method on 100 synthetic data sets for each setting, by estimating canonical variable coefficients on a training set and then calculating the average correlation of the first ten canonical variables constructed on a non-confounded test set using our estimated coefficients. In other words, if are our estimated canonical coefficients and is our non-confounded test set, the score is: The goal is for this score to be as high as possible. We then obtain relative scores by dividing by the score obtained using the Gold Standard (GS), which in our case means analysis on data with no missingness. The relative scores (score / score GS ) are thus usually in the interval (0, 1) and represent how close our missingness method gets us to replicating a scenario with no missingness. Given the assumptions of our method, we expect it to perform the best compared to other methods for cases where the rate of SM is high and the rate of UM is low, as UM has the lowest impact on covariance estimation in that scenario. 2.4 Study on Real Data To evaluate our method on real data, we analyse four sub-studies from UK Biobank which have structured missingness. They include diffusion MRI (dMRI) weighted-mean tract diffusivity IDPs, food preferences, NMR metabolomics, and refractometry. We also include a set of confounds: sex, age, ethnic background (binary White British vs. not White British), income, townsend deprivation index, BMI, frequency of alcohol consumption, smoking status and geographical north and east coordinates. Additionally, we include age-squared, ageby-sex and age-squared-by-sex, to account for non-linear age effects and interaction effects between sex and age. Variable numbers, rates of SM and UM, as well as informativeness of SM for the data sets are shown in table 1 . A table showing the proportion of overlapping participants for each pair of studies is shown in table 2 . The sets are chosen to represent typical analyses of this kind: The IDP data is high-dimensional and has low rates of SM and UM, the food preferences data has moderate rates of SM and almost no UM, NMR metabolomics has a high rate of SM and low rate of UM, and the Refractometry variables have high levels of SM and UM. Table 2 also shows the proportion of subjects that have participated in both studies for each pair of studies, showing diverse settings ranging from 77% for IDPs vs. Food Preferences, to 5.5% for NMR metabolomics vs. Refractometry. View this table: View inline View popup Download powerpoint Table 1: Number of variables, level of structured ( p SM ) and unstructured ( p UM ) missingness as well as informativeness of structured missingness (AUC SM ). AUC SM is estimated by fitting a logistic regression model for predicting SM using confounds; AUC SM is the AUC score for prediction calculated on test data. View this table: View inline View popup Download powerpoint Table 2: Proportion of subjects (out of n = 46471), that participated in both studies. The table shows a wide range of settings for CCA from structured missing data; for IDPs vs. Food Preferences, a comfortable majority of subjects participated in both studies, while for NMR metabolomics vs. Refractometry, fewer than 6% of subjects participated in both studies, and is consequently a much more unstable setting. We evaluate missing data methods for CCA on each of six possible pairs of sub-studies. For each pair of sub-studies, we make 100 train-test splits (80% − 20%). Deconfounded canonical coefficients are estimated on training data using each missingness method. On test data, the complete cases are kept, deconfounded and the canonical variables are calculated using CCA coefficients from each method. The correlation between these canonical variables constructed on test data is calculated and, with best methods having largest correlation. We also show a real world example of how our method is be used to link two studies, food-preferences and NMR metabolomics, by applying our proposed method using EM combined with SoftImpute to find the first canonical modes of the two datasets. The canonical modes are then correlated with the variables in each respective study to find links between variables from different studies. 3 Results 3.1 Simulated Data Table 3 shows the results of the simulation study described in subsection 2.3, detailing the performance of all methods relative to the Gold Standard under different simulation settings. We see that for most settings, the two versions of our proposed method that use SoftImpute and MICE (MICE+EM and SI+EM), have results comparable to those of MICE or better. This is particularly encouraging for the version that uses SoftImpute, as this is a very computationally cheap method. Our proposed methods give very similar performance to MICE’s and dominate in a few settings. The PCO approach performs by far the worst overall. Figure 5 shows the computational time of each method on a single synthetic data set. Our method is much faster than MICE, especially when using mean imputation and SoftImpute to handle UM. MICE takes ≈ 2 hours in total, whereas MICE+EM takes ≈ 40 minutes, and mean+EM and SoftImpute+EM both take below 1 minute. View this table: View inline View popup Download powerpoint Table 3: Simulation results showing the performance of each method in different settings. The results in each entry show the average of the first 10 canonical correlations on held out data relative to the same average for the Gold Standard method, which is the case where we have no missing data (see subsection 2.3). The median result over 100 simulations is recorded. Bold font indicates the best result for a given setting. We see that the versions of our method that use SoftImpute or MICE to impute UM perform competitively compared to MICE. Download figure Open in new tab Figure 5: Computational time for each method on a single synthetic data set ( p SM = 0.2, p UM = 0.05, σ U = 0.03). The y -axis is shown on a logarithmic scale. We can see that our method is much faster than MICE, especially when using mean imputation and SoftImpute to impute UM. 3.2 Real Data Table 4 shows the results on real data. As we can see, the three versions of our proposed method perform the best relative to other methods for pairs of data sets that include the IDPs. A reasonable explanation for this is that the IDPs have by far the most number of variables, and our proposed method is designed for high dimensional settings. Conversely, all three versions of our method have low scores for the NMR metabolomics and Refractometry pair. This can possibly be explained by the low level of correlation between the data sets, and low percentage of participants of both studies, leading to very unstable coefficients. For the two remaining comparisons, our methods perform similar to MICE. A possible explanation for this is that all other sets have ≈ 100 variables, so the dimensionality is sufficiently low for MICE to work almost optimally (see subsection 2.1 for details on “truncating” MICE in the high-dimensional setting). As with simulated data, we also see that the PCO approach performs the worst. View this table: View inline View popup Download powerpoint Table 4: Results for evaluation on real data. Bold font indicates the best result for a given pair of sub-studies. As we can see, MICE combined with EM has the best performance for all pairs of studies that involve the IDPs. A reasonable explanation for this is that the IDPs have by far the most number of variables, and our proposed method is designed for high dimensional settings. All three versions of our method have low scores for the NMR metabolomics and Refractometry pair. This can possibly be explained by the low level of correlation between the data sets, and low percentage of participants of both studies, leading to very unstable coefficients. In Figures 6 and 7 , we see the variables most strongly correlated or anti-correlated with the first canonical modes of the food preference and NMR metabolomics datasets. The first canonical correlation between the two datasets is r = 0.38. As we can see, the main link between the two datasets seems to be the positive correlation between a preference for fatty fish, and Omega-3 and Docosahexaenoic fatty acids. The correlation between consuming fatty fish and Omega-3 is a well established results in nutrition science 33 , 34 . The equivalent plots for the five remaining CCA comparisons are found in the supplementary material. Download figure Open in new tab Figure 6: Food preferences: top variables in terms of association with the first canonical mode. We see a clear pattern; the canonical mode is positively correlated with a liking for fatty fish and other seafood, and negatively associated with a liking for a number of carbohydrate rich foods. The first canonical correlation is r = 0.38. Download figure Open in new tab Figure 7: NMR metabolomics: top variables in terms of association with the first canonical mode. We see a very clear pattern; the canonical mode is strongly positively correlated with the proportion of Omega-3 and Docosahexaenonic fatty acids out of total fatty acids. The first canonical correlation is r = 0.38. 4 Discussion We have proposed a new method for handling missing data for CCA. As seen from both real and simulated data, our proposed method is most useful relative to other methods in cases where the rate of UM is low, and we have also shown that it is computationally much faster than the best method, MICE. Conversely, we have shown that the proposed method performs poorly when there is a high level of UM. For those cases, SoftImpute or MICE on data where SM is excluded are better alternatives. For example, in a situation where we have two data sets with > 300 variables each, and the rate of UM is 20% in either of the sets, we strongly recommend the use of our method as compared to a more standard approach such as MICE, because it is much faster than MICE and at least as accurate. In this work, we have limited ourselves to cases where CCA is performed on pairs of sub-studies. It is however, completely viable to use our proposed method for cases where we are dealing with multiple sub-studies, either as parts of X and Y or in the case of multi-set CCA (MCCA) 35 , 36 , i.e., an extension of CCA with multiple data sets instead of merely two. In fact, it is entirely possible that our proposed method is more useful in these settings, as it becomes, in these cases, impossible to remove all rows with SM without reducing the number of rows to be either zero or lower than the total number of variables. Lastly, we would like to note that our work shows that incorporating knowledge of SM in missing data methodology can yield better and faster results than standard approaches that are agnostic to structure. It is therefore necessary to study the effect of SM on analysis and develop suitable methodology for SM more broadly. Our proposed method of covariance estimation and CCA has been released as an R package and can be found in the following GitHub repository: https://github.com/lavrad99/SM_CCA Data Availability Simulated data can be made available upon reasonable request to authors. Declarations Ethics approval and consent to participate The UK Biobank has received ethical approval from the North West Multi-Center Research Ethics Committee (11/NW/0382). This research project received approval from the UKB under application number 8107. This research project has adhered to the Declaration of Helsinki Competing interests The authors have no competing interests to declare. Funding LR is supported by the EPSRC Centre for Doctoral Training in Health Data Science (EP/S02428X/1) The Wellcome Centre for Integrative Neuroimaging (WIN FMRIB) is supported by core funding from the Wellcome Trust (203139/Z/16/Z). SS: Wellcome Trust Collaborative Award 215573/Z/19/Z Acknowledgements The computational aspects of this research were supported by the Wellcome Trust Core Award Grant Number 203141/Z/16/Z and the NIHR Oxford BRC. The views expressed are those of the author(s) and not necessarily those of the NHS, the NIHR or the Department of Health References [1]. ↵ Mitra R , McGough SF , Chakraborti T , Holmes C , Copping R , Hagenbuch N , et al. Learning from data with structured missingness . Nature Machine Intelligence . 2023 ; 5 ( 1 ): 13 – 23 . OpenUrl [2]. Jackson J , Mitra R , Hagenbuch N , McGough S , Harbron C. A Complete Characterisation of Structured Missingness . arXiv preprint arXiv:230702650. 2023 . [3]. ↵ Radosavljevic L , Smith SM , Nichols TE . A Generative Model For Evaluating Missing Data Methods in Large Epidemiological Cohorts . medRxiv . 2024 : 2024 – 04 . [4]. ↵ Hotelling H. Relations between two sets of variates . In: Breakthroughs in statistics: methodology and distribution . Springer ; 1992 . p. 162 – 90 . [5]. ↵ Xu C , Tao D , Xu C. Multi-view learning with incomplete views . IEEE Transactions on Image Processing . 2015 ; 24 ( 12 ): 5812 – 25 . OpenUrl PubMed [6]. ↵ Zhang L , Zhao Y , Zhu Z , Shen D , Ji S. Multi-view missing data completion . IEEE Transactions on Knowledge and Data Engineering . 2018 ; 30 ( 7 ): 1296 – 309 . OpenUrl [7]. ↵ Smith SM , Nichols TE , Vidaurre D , Winkler AM , Behrens TE , Glasser MF , et al. A positive-negative mode of population covariation links brain connectivity, demographics and behavior . Nature neuroscience . 2015 ; 18 ( 11 ): 1565 – 7 . OpenUrl CrossRef PubMed [8]. Farahibozorg SR , Harrison SJ , Bijsterbosch JD , Woolrich MW , Smith SM . Multiscale Modes of Functional Brain Connectivity . bioRxiv . 2024 : 2024 – 05 . [9]. Zhuang X , Yang Z , Sreenivasan KR , Mishra VR , Curran T , Nandy R , et al. Multivariate group-level analysis for task fMRI data with canonical correlation analysis . NeuroImage . 2019 ; 194 : 25 – 41 . OpenUrl PubMed [10]. Zhuang X , Yang Z , Cordes D. A technical review of canonical correlation analysis for neuroscience applications . Human brain mapping . 2020 ; 41 ( 13 ): 3807 – 33 . OpenUrl CrossRef PubMed [11]. ↵ Winkler AM , Renaud O , Smith SM , Nichols TE . Permutation inference for canonical correlation analysis . Neuroimage . 2020 ; 220 : 117065 . OpenUrl CrossRef PubMed [12]. ↵ Ge R , Jin C , Netrapalli P , Sidford A , et al. Efficient algorithms for large-scale generalized eigenvector computation and canonical correlation analysis . In: International Conference on Machine Learning . PMLR ; 2016 . p. 2741 – 50 . [13]. ↵ Alfaro-Almagro F , McCarthy P , Afyouni S , Andersson JL , Bastiani M , Miller KL , et al. Confound modelling in UK Biobank brain imaging . NeuroImage . 2021 ; 224 : 117002 . OpenUrl PubMed [14]. ↵ Fry A , Littlejohns TJ , Sudlow C , Doherty N , Adamska L , Sprosen T , et al. Comparison of sociodemographic and health-related characteristics of UK Biobank participants with those of the general population . American journal of epidemiology . 2017 ; 186 ( 9 ): 1026 – 34 . OpenUrl CrossRef PubMed [15]. ↵ Schafer JL . Analysis of incomplete multivariate data . CRC press ; 1997 . [16]. ↵ Enders CK , Peugh JL . Using an EM covariance matrix to estimate structural equation models with missing data: Choosing an adjusted sample size to improve the accuracy of inferences . Structural Equation Modeling . 2004 ; 11 ( 1 ): 1 – 19 . OpenUrl [17]. ↵ Lounici K. High-dimensional covariance matrix estimation with missing observations . 2014 . [18]. ↵ Park S , Lim J. Non-asymptotic rate for high-dimensional covariance estimation with non-independent missing observations . Statistics & Probability Letters . 2019 ; 153 : 113 – 23 . OpenUrl [19]. ↵ Rubin DB . Multiple imputation for nonresponse in surveys . Wiley Series in Probability and Statistics . Wiley ; 1987 . [20]. ↵ Van Buuren S , Groothuis-Oudshoorn K. mice: Multivariate imputation by chained equations in R . Journal of statistical software . 2011 ; 45 : 1 – 67 . OpenUrl [21]. ↵ Pedregosa F , Varoquaux G , Gramfort A , Michel V , Thirion B , Grisel O , et al. Scikit-learn: Machine Learning in Python . Journal of Machine Learning Research . 2011 ; 12 : 2825 – 30 . OpenUrl [22]. Van Buuren S , Oudshoorn K. Flexible multivariate imputation by MICE . Leiden : TNO ; 1999 . [23]. ↵ Graham JW . Missing data analysis: Making it work in the real world . Annual review of psychology . 2009 ; 60 : 549 – 76 . OpenUrl CrossRef PubMed Web of Science [24]. ↵ Le Morvan M , Josse J , Moreau T , Scornet E , Varoquaux G. NeuMiss networks: differentiable programming for supervised learning with missing values . Advances in Neural Information Processing Systems . 2020 ; 33 : 5980 – 90 . OpenUrl [25]. ↵ Mazumder R , Hastie T , Tibshirani R. Spectral regularization algorithms for learning large incomplete matrices . The Journal of Machine Learning Research . 2010 ; 11 : 2287 – 322 . OpenUrl PubMed [26]. ↵ Pervaiz U , Vidaurre D , Woolrich MW , Smith SM . Optimising network modelling methods for fMRI . NeuroImage . 2020 ; 211 : 116604 . OpenUrl CrossRef PubMed [27]. ↵ Dryden IL , Koloydenko A , Zhou D. Non-Euclidean statistics for covariance matrices, with applications to diffusion tensor imaging . The Annals of Applied Statistics . 2009 : 1102 – 23 . [28]. ↵ Lin Z. Riemannian geometry of symmetric positive definite matrices via Cholesky decomposition . SIAM Journal on Matrix Analysis and Applications . 2019 ; 40 ( 4 ): 1353 – 70 . OpenUrl CrossRef [29]. ↵ Greenacre M , Groenen PJ , Hastie T , d’Enza AI , Markos A , Tuzhilina E. Principal component analysis . Nature Reviews Methods Primers . 2022 ; 2 ( 1 ): 100 . OpenUrl [30]. ↵ Higham NJ . Computing the nearest correlation matrix—a problem from finance . IMA journal of Numerical Analysis . 2002 ; 22 ( 3 ): 329 – 43 . OpenUrl CrossRef [31]. ↵ Bates D , Maechler M , Jagan M , et al. Matrix: Sparse and dense matrix classes and methods. R package version 0999375-43 , URL http://cranr-projectorg/package=Ma-trix . 2010 . [32]. ↵ Wang HT , Smallwood J , Mourao-Miranda J , Xia CH , Satterthwaite TD , Bassett DS , et al. Finding the needle in a high-dimensional haystack: Canonical correlation analysis for neuroscientists . NeuroImage . 2020 ; 216 : 116745 . OpenUrl CrossRef PubMed [33]. ↵ Harris WS , Varvel SA , Pottala JV , Warnick GR , McConnell JP . Comparative effects of an acute dose of fish oil on omega-3 fatty acid levels in red blood cells versus plasma: implications for clinical utility . Journal of clinical lipidology . 2013 ; 7 ( 5 ): 433 – 40 . OpenUrl PubMed [34]. ↵ Milte CM , Coates AM , Buckley JD , Hill AM , Howe PR . Dose-dependent effects of docosahexaenoic acid-rich fish oil on erythrocyte docosahexaenoic acid and blood lipid levels . British Journal of Nutrition . 2008 ; 99 ( 5 ): 1083 – 8 . OpenUrl PubMed [35]. ↵ Kettenring JR . Canonical analysis of several sets of variables . Biometrika . 1971 ; 58 ( 3 ): 433 – 51 . OpenUrl CrossRef Web of Science [36]. ↵ Parra LC . Multi-set canonical correlation analysis simply explained . arXiv preprint arXiv:180203759. 2018 . View the discussion thread. Back to top Previous Next Posted October 10, 2025. Download PDF Supplementary Material Data/Code Email Thank you for your interest in spreading the word about medRxiv. NOTE: Your email address is requested solely to identify you as the sender of this article. Your Email * Your Name * Send To * Enter multiple addresses on separate lines or separate them with commas. You are going to email the following Accounting for Structured Missingness in Canonical Correlation Analysis Message Subject (Your Name) has forwarded a page to you from medRxiv Message Body (Your Name) thought you would like to see this page from the medRxiv website. Your Personal Message CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions. Share Accounting for Structured Missingness in Canonical Correlation Analysis Lav Radosavljević , Stephen M. Smith , Thomas E. Nichols medRxiv 2025.10.09.25337581; doi: https://doi.org/10.1101/2025.10.09.25337581 Share This Article: Copy Citation Tools Accounting for Structured Missingness in Canonical Correlation Analysis Lav Radosavljević , Stephen M. Smith , Thomas E. Nichols medRxiv 2025.10.09.25337581; doi: https://doi.org/10.1101/2025.10.09.25337581 Citation Manager Formats BibTeX Bookends EasyBib EndNote (tagged) EndNote 8 (xml) Medlars Mendeley Papers RefWorks Tagged Ref Manager RIS Zotero Tweet Widget Facebook Like Google Plus One Subject Area Epidemiology Subject Areas All Articles Addiction Medicine (568) Allergy and Immunology (863) Anesthesia (297) Cardiovascular Medicine (4421) Dentistry and Oral Medicine (443) Dermatology (382) Emergency Medicine (606) Endocrinology (including Diabetes Mellitus and Metabolic Disease) (1507) Epidemiology (15212) Forensic Medicine (30) Gastroenterology (1121) Genetic and Genomic Medicine (6581) Geriatric Medicine (667) Health Economics (996) Health Informatics (4520) Health Policy (1366) Health Systems and Quality Improvement (1611) Hematology (539) HIV/AIDS (1264) Infectious Diseases (except HIV/AIDS) (15906) Intensive Care and Critical Care Medicine (1103) Medical Education (620) Medical Ethics (144) Nephrology (667) Neurology (6580) Nursing (345) Nutrition (998) Obstetrics and Gynecology (1141) Occupational and Environmental Health (956) Oncology (3324) Ophthalmology (970) Orthopedics (369) Otolaryngology (420) Pain Medicine (435) Palliative Medicine (129) Pathology (663) Pediatrics (1689) Pharmacology and Therapeutics (691) Primary Care Research (710) Psychiatry and Clinical Psychology (5432) Public and Global Health (9212) Radiology and Imaging (2193) Rehabilitation Medicine and Physical Therapy (1368) Respiratory Medicine (1194) Rheumatology (593) Sexual and Reproductive Health (709) Sports Medicine (529) Surgery (709) Toxicology (99) Transplantation (288) Urology (265) (function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'9ff39519a93d3fe2',t:'MTc3OTM2NjUyMQ=='};var a=document.createElement('script');a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();

Text is read by the "Ask this paper" AI Q&A widget below. Extraction quality varies by source — PMC NXML preserves structure cleanly, OA-HTML may include some navigation residue, and OA-PDF can have broken hyphenation. The publisher copy (via DOI) is the canonical version.

My notes (saved in your browser only)

Ask this paper AI returns verbatim quotes from the full text · source: preprint-html

Answers must be backed by verbatim quotes from this paper's full text. Hallucinated quotes are dropped automatically; if no verbatim passage answers the question, we say so. How this works

Citation neighborhood (no data yet)

We don't have any in-corpus citations linked to this paper yet. This is a recent paper (2025) — citers typically take a year or two to land, and the OpenAlex reference graph may still be filling in.

Source provenance

europepmc
last seen: 2026-05-20T01:45:00.602351+00:00
unpaywall
last seen: 2026-05-21T05:10:58.409756+00:00
License: CC-BY-NC-ND-4.0