The Cellwise Minimum Covariance Determinant EstimatorThanks: To appear, Journal of the American Statistical Association.Thanks: Corresponding author, peter@rousseeuw.net .
Abstract
The usual Minimum Covariance Determinant (MCD) estimator of a covariance matrix is robust against casewise outliers. These are cases (that is, rows of the data matrix) that behave differently from the majority of cases, raising suspicion that they might belong to a different population. On the other hand, cellwise outliers are individual cells in the data matrix. When a row contains one or more outlying cells, the other cells in the same row still contain useful information that we wish to preserve. We propose a cellwise robust version of the MCD method, called cellMCD. Its main building blocks are observed likelihood and a penalty term on the number of flagged cellwise outliers. It possesses good breakdown properties. We construct a fast algorithm for cellMCD based on concentration steps (C-steps) that always lower the objective. The method performs well in simulations with cellwise outliers, and has high finite-sample efficiency on clean data. It is illustrated on real data with visualizations of the results.
Keywords: Cellwise outliers, Covariance matrix, Likelihood, Missing values.
1 Motivation
Any practicing statistician or data scientist knows that real data sets often contain outliers. One definition of outliers says that they are cases that do not obey the fit suggested by the majority of the data, which raises suspicion that they may have been generated by a different mechanism. Since cases typically correspond to rows of the data matrix, they are sometimes called rowwise outliers. They may be the result of gross errors, but they can also be nuggets of valuable information. In either case, it is important to find them. In computer science this is called anomaly detection, and in some areas it is known as exception mining. In statistics several approaches were tried, such as testing for outliers and the computation of outlier diagnostics. In our experience the approach working best is that of robust statistics, which aims to fit the majority of the data first, and then flags outliers by their large deviation from that fit.
In this paper we focus on single-class multivariate numerical data without a response variable (although the results are relevant for classification and regression too). The goal is to robustly estimate the central location of the point cloud as well as its covariance matrix, and at the same time flag the outliers that may be present. The underlying model is that the data come from a multivariate Gaussian distribution, after which some data has been replaced by outliers that can be anywhere.
The Minimum Covariance Determinant (MCD) estimator introduced by Rousseeuw (1984); Rousseeuw (1985) is highly robust to casewise outliers. Its definition is quite intuitive. Take an integer that is at least half the sample size . We then look for the subset containing cases such that the determinant of its usual covariance matrix is as small as possible. The resulting robust location estimate is then the mean of that subset, and the robust covariance matrix is its covariance matrix multiplied by a consistency factor. One can show that the estimates are not overly affected when there are fewer than outlying cases. The MCD became computationally feasible with the algorithm of Rousseeuw and Van Driessen (1999), followed by even faster algorithms by Hubert et al. (2012) and De Ketelaere et al. (2020). Copt and Victoria-Feser (2004) computed the MCD for incomplete data. The MCD has also been generalized to high dimensions (Boudt et al., 2020), and to non-elliptical distributions using kernels (Schreurs et al., 2021). For a survey on the MCD and its applications see Hubert et al. (2018). The MCD is available in the procedure ROBUSTREG in SAS, in SAS/IML, in Matlab’s PLS Toolbox, and in the R packages robustbase (Maechler et al., 2022) and rrcov (Todorov, 2012) on CRAN. In Python one can use MinCovDet in scikit-learn (Pedregosa et al., 2011).
In recent times a different outlier paradigm has gained prominence, that of cellwise outliers, first published by Alqallaf et al. (2009). It assumes that the data were generated from a certain distributional model, after which some individual cells (entries) were replaced by other values. The difference between the casewise and the cellwise paradigm is illustrated in Figure 1. In the left panel the outlying cases are shown as black rows. In the panel on the right the cellwise outliers correspond to fewer black squares in total, but together they contaminate over half of the cases, so the existing methods for casewise outliers may fail.
In reality we do not know in advance which cells in the right panel of Figure 1 are outlying (black), unlike the simpler problem of incomplete data where we do know which cells are missing. When the variables have substantial correlations, the cellwise outliers need not be marginally outlying, and then it can be quite hard to detect them. Van Aelst et al. (2011) proposed one of the first detection methods. Rousseeuw and Van den Bossche (2018) predict the values of all cells and flag the cells that differ much from their prediction.
There has been some work on estimating the underlying covariance matrix in the presence of cellwise outliers. One approach is to compute robust covariances between each pair of variables, and to assemble them in a matrix. To estimate these pairwise covariances, Öllerer and Croux (2015) and Croux and Öllerer (2016) use rank correlations. Tarr et al. (2016) instead use the robust pairwise correlation estimator of Gnanadesikan and Kettenring (1972) in combination with the robust scale estimator of Rousseeuw and Croux (1993). As the resulting matrix is not necessarily positive semidefinite (PSD), they then compute the nearest PSD matrix by the method of Higham (2002). Raymaekers and Rousseeuw (2021a) obtain a PSD covariance matrix by transforming (‘wrapping’) the original data variables.
Many cellwise robust methods were developed for settings such as principal components (Hubert et al., 2019), discriminant analysis (Aerts and Wilms, 2017), clustering (García-Escudero et al., 2021), graphical models (Katayama et al., 2018), low-rank approximation (Maronna and Yohai, 2008), regression (Öllerer et al., 2016; Filzmoser et al., 2020), and variable selection (Su et al., 2021). Also, isolated outliers in functional data (Hubert et al., 2015) can be seen as cellwise outliers.
In the next section we introduce the cellwise MCD estimator. It is the first method with a single objective that combines detection and estimation, unlike some existing methods which do detection and estimation separately. Because of this cellMCD has provable cellwise breakdown properties, see section 3. There we also derive its consistency. Section 4 describes its algorithm, and proves that it converges. It is faster than the earlier methods. Some illustrations on real data are shown in section 5. The performance of the method is studied by simulation in section 6, indicating that it is very robust against adversarial contamination. Section 7 concludes with a discussion.
2 A cellwise MCD
We first note that the casewise MCD can be reformulated in terms of likelihood. The likelihood of a -variate Gaussian distribution is
| (1) |
where is a column vector, is a positive definite matrix, and the Mahalanobis distance is . For a sample we put so the maximum likelihood estimator (MLE) of minimizes
| (2) |
Let us now look for a subset with elements which minimizes (2) where the sum is only over in . We can also write this with weights that are 0 or 1 in the objective , so we minimize
| (3) | |||
For the minimizing set of weights we know from maximum likelihood that is the mean of the in , so it is the weighted mean of all , and similarly
| (4) |
But then the third term of (3) becomes
which is constant, and so is the second term. Therefore minimizing (3) is equivalent to minimizing the determinant of (4), which is the definition of the casewise MCD.
In the context of incomplete data, Dempster et al. (1977) and others defined the observed likelihood. Let us denote the missingness pattern of the data matrix by the matrix with entries that are 0 for missing and 1 otherwise. Its rows take the place of the scalar weights in (3). For the Gaussian model the observed likelihood of the th observation (Little and Rubin, 2020) is given by:
| (5) |
in which
| (6) |
is called the partial Mahalanobis distance by Danilov et al. (2012). Here is the vector with only the entries for which , and similarly for . The matrix is the submatrix of containing only the rows and columns of the variables with . Finally, is the dimension of , i.e. the number of non-missing entries of . By convention, a case consisting exclusively of NA’s has , and . Putting we see that maximizing the observed likelihood of the entire data set comes down to minimizing
| (7) |
This maximum likelihood estimate of is typically computed by the EM algorithm (Dempster et al., 1977).
When constructing a cellwise MCD, the matrix now describes which cells are flagged: a flagged cell gets . The notations , , , and are interpreted analogously. The matrix is not given in advance, but will be obtained through the estimation procedure. Now can no longer apply to the number of unflagged cases. Instead, we apply it to the number of unflagged cells per column. We could minimize
| (8) | |||
over . The first constraint says that the smallest eigenvalue of is at least as large as a number , where the eigenvalues of are denoted as . This ensures that is nonsingular, which is required to compute Mahalanobis distances. In the second constraint, is the number of nonzero entries in the -th column of . Note that we should not choose too low. Whereas for the casewise MCD we can take as low as , that would be ill-advised here because it could happen that two variables and do not overlap in the sense that for all , making it impossible to estimate their covariance. We will impose that throughout.
However, minimizing (8) typically treats too many cells as outlying. This is because a value of that is suitable for one variable may be too low for another, and we do not know ahead of time which variables have many outlying cells and which have few or none. To avoid flagging too many cells, we add a penalty counting the number of flagged cells in each column. The objective function of the cellwise MCD (cellMCD) then becomes
| (9) | |||
The notation stands for the number of nonzero elements in this vector, so the number of zero weights in column of , i.e. the number of flagged cells in column of . The constants for are computed (in Section 4) from the desired percentage of flagged cells in the absence of contamination. At the same time we keep the robustness constraint that . Combining a penalty term with a constraint is not new, see the work of She et al. (2022) on casewise robust regression. In our context, the constraint will ensure the robustness of the estimator (through Proposition 2 below), whereas the penalty term discourages flagging too many cells, which improves the estimation accuracy at clean data as seen in simulations.
The cellMCD method is the first cellwise robust technique that combines the fitting of the parameters and the flagging of outlying cells in one objective function. The constraint for says that we require at least unflagged cells in each column. In order to avoid a singular covariance matrix, we obviously need . Combining these inequalities we obtain . But the curse of dimensionality implies that many spurious structures can be found in increasing dimensions, so we want a more comfortable ratio of cases per dimension. For the casewise MCD the rule of thumb is (Rousseeuw and van Zomeren, 1990), and we will require that here too.
The cellMCD method defined by (9) is equivariant for permuting the cases, for shifting the data, and for multiplying the variables by nonzero constants. But unlike the casewise MCD it is not equivariant under general nonsingular linear transformations, or even orthogonal transformations. This is because cells are intimately tied to the coordinate system, and an orthogonal transformation changes the cells. This is an important difference between the casewise and cellwise approaches. For instance, consider the standard multivariate Gaussian model in dimension with the suspicious point . By an orthogonal transformation of the data, this point can be moved to or to . The casewise MCD is equivariant to such transformations and will still flag the same case. But in the cellwise paradigm has one outlying cell, has two, and has four, so cellMCD will react differently, as it should.
3 Theoretical properties
Alqallaf et al. (2009) define the cellwise breakdown value of a location estimator. Here we will focus on finite-sample breakdown values in the sense of Donoho and Huber (1983) and Lopuhaä and Rousseeuw (1991). The finite-sample cellwise breakdown value of an estimator at a dataset is given by the smallest fraction of cells per column that need to be replaced to carry the estimate outside all bounds. Formally, let be a dataset of size , and denote by any corrupted sample obtained by replacing at most cells in each column of by arbitrary values. Then the finite-sample cellwise breakdown value of a location estimator at is given by
| (10) |
Analogously to the casewise setting, we can also define the cellwise explosion breakdown value of a covariance estimator as
| (11) |
Moreover, we define the cellwise implosion breakdown value of as
| (12) |
The definitions of the corresponding casewise breakdown values are very similar, the only difference being that the corrupted samples, let us call them , are obtained by replacing at most rows of by arbitrary rows. If we denote the casewise breakdown values by , and we can formulate the following simple but useful result:
Proposition 1.
For all estimators and at any dataset it holds that, , and .
The proof consists of realizing that the casewise contaminated samples can be seen as cellwise contaminated samples . It is thus generally true that the cellwise breakdown value is less than or equal to the casewise breakdown value. Therefore, all upper bounds on casewise breakdown values in the literature also hold for cellwise breakdown values.
When proving breakdown values one often assumes that the original data set is in general position, meaning that no more than points lie in any dimensional affine subspace. In particular, no three points lie on a line, no 4 points lie on a plane, and so on. When the data are drawn from a continuous distribution, it is in general position with probability 1. Real data have a limited precision, so they are not always in general position.
The inequalities in Proposition 1 can be strict. For instance, the casewise implosion breakdown value of the classical covariance matrix Cov at a dataset in general position is very high, in fact it is which goes to 1 for increasing sample size . This is because whenever of the original data points are kept, Cov remains nonsingular. In stark contrast, its cellwise implosion breakdown value is quite low:
| (13) |
To see why, let us pick points of which lie on a hyperplane that is not parallel to any coordinate axis. In the remaining rows we can then replace a single cell such that all of the resulting points lie on the same hyperplane, so Cov becomes singular. We can do this by replacing no more than cells in each variable, which is a fraction of its cells.
Raymaekers and Rousseeuw (2023) recently derived a similar upper bound for all affine equivariant estimators . In order to obtain a higher cellwise breakdown value we are thus forced to leave the realm of affine equivariance. In fact, the constraint in the definition (9) of cellMCD is not affine invariant, but it keeps from imploding. Therefore the cellwise implosion breakdown value of cellMCD is 1.
We also want to know the breakdown value of its location estimate and the explosion breakdown value of . These naturally depend on the choice of .
Proposition 2.
If the dataset is in general position and , the cellMCD estimators and satisfy the properties
- (a)
- (b)
- (c)
- (d)
The lower bound is sharp.
Proposition 2 shows that cellMCD is highly robust. Its proof is in Section A.1 of the Supplementary Material. By Proposition 1, it follows that these lower bounds also hold for the casewise breakdown values. This also implies that the method works on a mix of cellwise and casewise outliers as well. We do not actually recommend to choose as low as the proposition allows: as explained before this could lead to some poorly defined covariances and numerical instability. We stick with our earlier recommendation of , and in fact is the default in our implementation.
Let us now turn to the asymptotic behavior of cellMCD. At the uncontaminated model distribution and for large only a small fraction of cells is actually discarded, due to our choice of the constants in the penalty term. In that situation the large-sample behavior of cellMCD is therefore the same as without the columnwise constraint on . The cellMCD objective can then be written as
| (14) |
where
| (15) |
in which and . The cellMCD estimate is then
with the empirical distribution and the parameter space of , which incorporates the condition . Denote the set of minimizers as . In section A.2 of the Supplementary Material the following Wald-type consistency result is shown, using work of Van der Vaart (2000):
Proposition 3.
Let be a sequence of estimators which nearly minimize in the sense that for some . Then it holds for all that
where combines the Euclidean and Frobenius norms.
The population minimizer for is not quite the underlying parameter, since a small fraction of cells is always given weight zero due to the penalty term in the objective. But for the location we can prove that the unique minimizer is indeed the underlying parameter vector, so the cellMCD functional for location is Fisher consistent:
Proposition 4.
Let be a strictly unimodal elliptical distribution with center and a density function. For any , we then have the unique
4 Algorithm
In the algorithm we will need the following result about decomposing the Mahalanobis distance and the likelihood.
Proposition 5.
Let us split the -variate case into two nonempty blocks, and split and the positive definite matrix accordingly, like
Then and satisfy
| (16) |
| (17) |
for and .
The proof can be found in section A.3 in the Supplementary Material. The proposition can be interpreted as follows. Take a case with some but not all cells missing, and for simplicity assume that its missing components come first. Then put and the remainder. If are the true underlying parameters, is the conditional expectation and is the conditional covariance matrix . The additivity in (16) and (17) justifies the use of the partial Mahalanobis distances and the observed likelihood in our setting. Moreover, the fact that the difference of two ‘nested’ is again an and hence non-negative implies that the is monotone for nested sets of variables. In particular, if is observed fully we can write
| (18) |
where each time is the matrix (which is a scalar here) and the residuals are and so on. Note that (18) holds for any order of the variables. However, in each order the relative contribution of variable to the total may be different. For the likelihood we obtain similarly
| (19) |
in which the terms do not need to be positive.
If we set in the objective function (9) of cellMCD and use casewise weights, i.e. casewise constant , we recover the objective function (3) of the original casewise MCD. The latter is not convex in and , so neither is (9). The crucial ingredient in the algorithm for the casewise MCD is the concentration step (C-step) of Rousseeuw and Van Driessen (1999). After each C-step the new objective value is less than or equal to the old objective value, so iterating C-steps always converges to a stationary point. We will now construct a C-step for cellMCD with the same properties. Let us denote the current solution of cellMCD by , , and . Then the new C-step proceeds as follows.
Part (a) of the C-step. In this part we update the matrix in (9) while keeping and unchanged. We start the new pattern as , and then we modify column by column, by cycling over the variables . The fact that this job can be done by column is advantageous for maintaining the constraint. Assume we are working on column of , possibly after having modified other columns of already. The current pattern of variable is and we want to obtain a new pattern for column to reduce the objective while leaving the other columns of unchanged. Note that we can write the objective (9) as where
with . For each we compute the difference in the total objective (9) between putting and putting , which is
| (20) |
where the second and third equalities use Proposition 5 in which and are now scalars. Note that is the conditional expectation of the cell conditional on the observed (subscript ‘o’) cells in row , i.e. those with , taking into account any earlier modifications to . Analogously, is the conditional variance of . We now need to minimize subject to the constraint . If holds for or more , then the minimum is attained by setting those to 1 and the others to 0. If not, it is attained by setting to 1 for the with the smallest and to 0 otherwise. After cycling through all columns of we set .
Part (b) of the C-step. Keeping the new pattern fixed we now want to update and . As is fixed the penalty term in (9) does not enter the minimization, so we are in the situation of the objective (7) for incomplete data, where the EM algorithm can be used. We first carry out one E-step which computes conditional means and products for the data entries with , for all rows. Next, we carry out an M-step, followed by imposing the constraint by truncating the eigenvalues of from below at . The C-step ends by reporting , and .
Proposition 6.
For the proof see section A.3 in the Supplementary Material, which also contains the pseudocode of the algorithm. Many variations of the C-step are possible, such as cycling through the columns of in a different order. We could also cycle through the columns of more than once in part (a), and/or run more than one EM-step in part (b). But experiments in section A.6 of the Supplementary Material show that these changes have a negligible and non-systematic effect on estimation accuracy, so we stay with the current version which is the fastest.
Note that cellMCD can still be used when the data contains missing cells, indicated by which are 0 for missing cells and 1 elsewhere. In that situation we first have to remove variables with more than missing values. In the C-step it then suffices to force whenever .
In order to start our C-steps we need an initial estimator. In our experiments we found that the DDCW estimator of Raymaekers and Rousseeuw (2021b) gives good results and is very fast. It is a combination of the DetectDeviatingCells (DDC) method of Rousseeuw and Van den Bossche (2018) and the fast correlation method in (Raymaekers and Rousseeuw, 2021a). DDCW is described in section A.4 of the Supplementary Material. Instead of starting from a single initial estimate, one could also start from several initial estimates. Iterating C-steps from each (with the same and ) until convergence, one can then keep the solution with the lowest objective (9).
The only remaining question is how to select the constants but this is quite simple, we do not need cross-validation or an information criterion. In (20) the term is the square of the residual standardized robustly. For inlying cells this should be below a cutoff, for which we take the chi-squared quantile with one degree of freedom and probability . The term is approximated by using the conditional variance of variable in the initial estimate , given by . So we set each equal to
| (21) |
The effect of this choice is that a cell is flagged iff it lies outside a robust tolerance interval around its predicted value with coverage probability . Therefore we only have to choose a single cutoff probability to generate all automatically. From simulations and examples we found that was a good choice overall, so it is set as the default. Section A.5 provides more information on the and the choice of .
The algorithm has been implemented as the R function cellMCD(). It starts by checking the data for non-numerical variables, cases with too many NA’s and so on. Next, it robustly standardizes the variables, and then computes the initial estimator followed by C-steps until convergence. The constraint is applied to the standardized data, with default . The function also reports the number of flagged cells in each variable. All the plots in the next section were made by the companion function plot_cellMCD(). Both functions have been included in the R package cellWise on CRAN.
5 Illustration on real data
We will illustrate cellMCD on the cars data obtained from the Top Gear website by Alfons (2016), focusing on the 11 numerical variables price, displacement, horsepower, torque, acceleration time, top speed, miles per gallon, weight, length, width, and height. This dataset is popular because both the variables and the cases (the cars) can easily be interpreted. After removing two cars with mostly NA’s we have . We also replaced the highly right-skewed variables price, displacement, horsepower, torque, and top speed by their logarithms. On these data we ran cellMCD in its default version.
To visualize the results, we first look by variable. Consider variable , say horsepower. Its -th cell has observed value as well as its prediction obtained from the unflagged cells in the same row , as in (20). In (20) we also see the conditional variance of this cell. It is then natural to plot the standardized cellwise residual
| (22) |
which is NA when is missing. The left panel of Figure 2 shows the standardized residuals of the variable horsepower versus the index (case number) . This plot was made by the function plot.cellMCD(), which also draws a horizontal tolerance band given by where . Here, some residuals stick out below the tolerance band. The Renault Twizy and Citroen DS3 are energy savers, whereas the Caterham is a super lightweight fun car. The most extreme outlier is the Chevrolet Volt with a standardized residual below . Top Gear lists this car’s power as 86 hp, which cellMCD says is very low compared to what would be expected from the other 10 characteristics of this car. Looking it up revealed that the Volt actually has 149 hp. As far as we know this data error was not detected before.
The right panel of Figure 2 plots the standardized residuals of the variable length versus the observed length itself. The vertical lines are at where and are robust univariate location and scale estimates of length, obtained from the function estLocScale() in the R package cellWise. The points to the left and right of such a vertical tolerance band are marginally outlying, i.e. their length stands out by itself without regard to the other variables. In the bottom left region of the plot we see five cars that are marginal outliers to the left and at the same time have outlying negative residuals, so they are short in absolute terms, as well as relative to what would be expected from their other characteristics. The Smart fortwo, Renault Twizy, Toyota IQ and Aston Martin Cygnet are indeed tiny.
However, not all cellwise outliers are marginal outliers. In the middle bottom part of the plot we marked three cars whose length is not unusual by itself, but that are short relative to what would be expected based on their other 10 variables. They are sports cars, often built small to achieve high speeds. Note that there could also be points that lie inside the horizontal band but (slightly) outside the vertical band. They would correspond to cells that look a bit unusual in the variable , but whose observed value is not that far from the predicted based on its other variables.
The left panel of Figure 3 plots the standardized residual of each car’s weight versus its prediction. Since all the points lie within the vertical tolerance band, no predictions are outlying. But we do see some outlying residuals, most of which can easily be explained. The Bentley is a heavy luxury car, and the Mercedes-Benz G an all-terrain vehicle. Below the horizontal tolerance band we see four lightweight sports cars. What remains is the Peugeot 107 which is small but not sporty at all. Top Gear reports its weight as 210 kg, which seems much too light for a car. Based on its other characteristics, cellMCD predicts its weight as 757 kg with a standard error of 89.5 kg. Looking up this car, its actual weight turns out to be 800 kg, so the value in the Top Gear dataset was mistaken.
The right panel of Figure 3 shows the observed value of top speed versus its prediction. Below the superimposed line we find some electric cars (BMW i3, Vauxhall Ampera) and some small cars (Smart fortwo and Renault Zoe). The one standing out most is the Renault Twizy, a tiny electric one-seater vehicle. Above the line we see some extremely fast sports cars. Also note that some points appear to lie on a horizontal line. Top Gear reports their top speed as 155 mph, corresponding to 250 km/hour. Many of these cars were produced by Audi, BMW and Mercedes with a built-in 250 km/hour speed limiter.
The four plot types in Figures 2 and 3 all focus on a single variable. It can also be instructive to look at a pair of variables, say and . Figure 4 shows the variables width versus acceleration. The points for which or or both are automatically plotted in red. The figure also contains an ellipse, given by
| (23) |
where is the 0.99 quantile of the distribution with two degrees of freedom. Note that outlyingness in this type of plot differs from cellwise outlyingness, since the former refers to two variables only, whereas the latter uses all 11 variables. So it is not unusual to see some red points inside the ellipse, and some black points outside it.
The width of the Land Rover is flagged as this is a wide all terrain vehicle. The red vertical line connects the observed point to its predicted point plotted in blue. That the line is vertical means that the width cell was flagged whereas the acceleration cell was not, that is, and . The acceleration of the Ssangyong Rodius and Lotus Elise is outlying on the left. In fact, Top Gear lists their acceleration time as 0 which is physically impossible: presumably the true value was missing and encoded as 0 instead of NA. The same happens for the Renault Twizy. Note that also the width cell of the Twizy is flagged, so the red line to its predicted point is slanted instead of horizontal. The Caterham also has both cells flagged, as seen from its slanted line.
6 Simulation results
In this section we evaluate the performance of cellMCD by a simulation study. The clean data is generated as points from a -variate Gaussian distribution with mean . Since there is no affine equivariance, letting be the identity matrix is not sufficient. Instead we use the types “A09” and “ALYZ”. The entries of the A09 correlation matrix are given by , yielding both small and large correlations. The ALYZ type are randomly generated correlation matrices following the procedure of Agostinelli et al. (2015) and typically have mostly small absolute correlations. We consider three combinations of sample size and dimension : , , and .
In these clean data, we then replace a fraction in of cells by contaminated cells. These are generated as follows. First, for each column in the data matrix we randomly sample indices of cells to be contaminated. In each row, say , we then collect the indices of the cells to be contaminated. Denote this set of size by . We next replace the cells by the -dimensional vector where and are and restricted to the indices in . The scalar quantifies the distance of the outlying cells to the center of the distribution, and we vary over . The vector is the normed eigenvector of with the smallest eigenvalue. In each row, the outlying cells are thus structurally outlying in the subspace generated by the variables in . Therefore, these cells will often not be marginally outlying, especially when is large and is relatively small, which makes them hard to detect. The R-package cellWise (Raymaekers and Rousseeuw, 2022) contains the function generateData which generates the contaminated data according to this procedure.
We compare the proposed method cellMCD to the following alternative estimators:
- •
Grank, Spearman: the Gaussian and Spearman rank-based estimators used in Öllerer and Croux (2015) and Croux and Öllerer (2016);
- •
GKnpd: the Gnanadesikan-Kettenring estimator used in Tarr et al. (2016);
- •
2SGS: the two-step generalized S-estimator of Agostinelli et al. (2015);
- •
DI: the detection-imputation algorithm of Raymaekers and Rousseeuw (2021b).
In order to evaluate the performance of the different estimators, we compute the Kullback-Leibler discrepancy between the estimated and the true given by
For each setting of the simulation parameters we generate 100 random datasets, and average the Kullback-Leibler discrepancy over these 100 replications. (For the variability around these averages see subsection A.6.1.)
Figure 5 presents the results for , and . (The results for were similar.) Both cellMCD and DI perform well, as does 2SGS provided . As expected, the classical covariance matrix (Cov) and the casewise MCD (labeled caseMCD) were not robust to these adversarial cellwise outliers. Note that the performances of Grank, Spearman and GKnpd do not improve as increases. While these estimators bound the influence that a single cell can have on the estimation, the effect remains substantial as the cell becomes more outlying. This is in contrast to 2SGS, DI and cellMCD in which far outliers get a zero weight.
The top panels of Figure 6 show the results for and . The relative performances are similar to Figure 5. The 2SGS method still does well when , but now suffers more for low . The performances of DI and cellMCD are again very close, with cellMCD often doing slightly better.
The lower panels with and are similar, with cellMCD performing best for all values of while DI is quite close, and 2SGS only doing well for higher .
Table 1 lists the computation times of the methods in the simulation, in seconds. The first five methods are fast but they performed poorly. The bottom three methods did better. In dimensions 20 and 40 the cellMCD method was the fastest among them.
| d=10 | d=20 | d=40 | |
|---|---|---|---|
| Cov | 0.00 | 0.00 | 0.00 |
| Grank | 0.00 | 0.01 | 0.05 |
| Spearman | 0.01 | 0.02 | 0.06 |
| GKnpd | 0.90 | 1.31 | 4.29 |
| caseMCD | 0.04 | 0.53 | 2.37 |
| DDCW | 0.01 | 0.03 | 0.18 |
| 2SGS | 0.67 | 6.91 | 66.88 |
| DI | 0.28 | 4.72 | 41.41 |
| cellMCD | 0.28 | 1.83 | 22.47 |
We are also interested in the performance of these methods on data without outliers. For this we repeated the simulation with , again with 100 replications. The variability of each entry of the covariance matrix was measured taking the Fisher information of that entry into account. These results were then averaged over the upper triangular matrix entries including the diagonal. Next we divided the MSE of the classical MLE estimator by that of each robust method, yielding the finite-sample efficiencies in Table 2.
| ALYZ configuration | A09 configuration | |||||||
|---|---|---|---|---|---|---|---|---|
| method | d=40 | d=40 | ||||||
| cellMCD | 0.90 | 0.90 | 0.89 | 0.89 | 0.93 | 0.96 | ||
| 2SGS | 0.87 | 0.94 | 0.98 | 0.83 | 0.91 | 0.95 | ||
| DI | 0.68 | 0.61 | 0.49 | 0.87 | 0.90 | 0.90 | ||
| GKnpd | 0.74 | 0.80 | 0.81 | 0.78 | 0.77 | 0.79 | ||
| Grank | 0.90 | 0.96 | 0.98 | 0.88 | 0.89 | 0.94 | ||
| Spearman | 0.84 | 0.88 | 0.90 | 0.83 | 0.82 | 0.85 | ||
We see that the efficiency of cellMCD averages over 90%, which is excellent for a highly robust covariance estimator. This is similar to 2SGS, and outperforms DI. As expected Grank has a high efficiency, but we just saw that it performed poorly under contamination, as did GKnpd and Spearman. The finite-sample efficiency of cellMCD is much higher than that of the casewise MCD with the same coverage parameter , which is under 0.70 for this range of dimensions . This is due to the penalty term in (9), which made the number of actually discarded cells much smaller than .
We conclude that cellMCD is about equally robust as DI but with better efficiency, and is about as efficient as 2SGS but with better robustness at contaminated data. Moreover, it does substantially better at contaminated data than the remaining methods.
7 Discussion
The cellMCD method proposed here has an elegant formulation based on a single objective function, making it easier to understand than the earlier 2SGS and DI methods. We proved its good breakdown properties and consistency, and like the casewise MCD it can be computed by an algorithm based on C-steps that always lower the objective function and is guaranteed to converge. We have illustrated cellMCD on a real data set where the accompanying graphical displays revealed interesting aspects of the data that aided interpretation. Simulations indicate that cellMCD outperforms earlier cellwise methods, while being conceptually simple and rather fast to compute.
CellMCD is cellwise robust and incorporates a kind of sparsity penalty (on ). This naturally brings to mind the work of Candès et al. (2011). The goals are clearly related, but there are also some differences. The first is that their work assumes that the cellwise outlier pattern is drawn uniformly at random, whereas we adopt the robustness paradigm that the outliers may be placed adversarially. Secondly, the method of Candès et al. (2011) is equivariant for transposing the data matrix, so it treats cases and variables in the same way, whereas in our setting they have to be treated differently. We do allow for some rows being flagged entirely, whereas we cannot allow flagging an entire column as this would make and not identifiable, which motivates our constraint for .
The fact that implosion breakdown can happen easily in the cellwise setting, see (13), was not mentioned in the literature before. We feel that, apart from cellMCD, also other cellwise robust covariance estimators could benefit from a constraint such as , or similarly from a formulation in which is a convex combination of two matrices, one of which is a small multiple of the identity matrix.
The casewise MCD is typically followed by a reweighting step. This works as follows. First, the estimated covariance matrix is multiplied by a correction factor such that is roughly unbiased when the original data are generated from a Gaussian distribution. Next, one computes the squared robust distances of the data points, given by . Each case then gets a weight depending on its . Typically, the weight is set to 1 when is below some quantile of the distribution with degrees of freedom, and to 0 otherwise. The final estimates are then the weighted mean and the weighted covariance matrix (4). This reweighting step increases the finite-sample efficiency of the estimator.
For cellMCD, the analogous reweighting step would compute the standardized residual (22) of every cell and compare its square to a quantile of the distribution with 1 degree of freedom, yielding zero-one weights . With these one would then run the EM algorithm on the original data. But in fact, the result is not very different from the cellMCD result. This is because all the ingredients are already used in cellMCD, which contains the squared standardized residual in (20), the quantile in (21), and the partial likelihood on which EM is based in (9). So in some sense the components of a reweighting step are already built into cellMCD itself. This explains its rather high finite-sample efficiency in Table 2.
Software availability: The cellMCD method is implemented as the function cellMCD(), and the plots in Section 5 were drawn by the function plot_cellMCD(). Both functions are available in the R package cellWise on CRAN. Its vignette cellMCD_examples reproduces all results and figures in Section 5.
Acknowledgment: We are grateful for the constructive comments made by the Editor, Associate Editor, and five reviewers.
Disclosure statement: The authors report there are no competing interests to declare.
References
- Aerts and Wilms (2017) Aerts, S. and I. Wilms (2017). Cellwise robust regularized discriminant analysis. Statistical Analysis and Data Mining: The ASA Data Science Journal 10(6), 436–447.
- Agostinelli et al. (2015) Agostinelli, C., A. Leung, V. J. Yohai, and R. H. Zamar (2015). Robust estimation of multivariate location and scatter in the presence of cellwise and casewise contamination. Test 24, 441–461.
- Alfons (2016) Alfons, A. (2016). robustHD: Robust methods for high-dimensional data. R package version 0.5.1, CRAN.
- Alqallaf et al. (2009) Alqallaf, F., S. Van Aelst, V. J. Yohai, and R. H. Zamar (2009). Propagation of outliers in multivariate data. The Annals of Statistics 37, 311–331.
- Boudt et al. (2020) Boudt, K., P. J. Rousseeuw, S. Vanduffel, and T. Verdonck (2020). The minimum regularized covariance determinant estimator. Statistics and Computing 30, 113–128.
- Candès et al. (2011) Candès, E. J., X. Li, Y. Ma, and J. Wright (2011). Robust principal component analysis? Journal of the ACM 58(3), 1–37.
- Copt and Victoria-Feser (2004) Copt, S. and M.-P. Victoria-Feser (2004). Fast algorithms for computing high breakdown covariance matrices with missing data. In M. Hubert, G. Pison, A. Struyf, and S. Van Aelst (Eds.), Theory and Applications of Recent Robust Methods, Basel, pp. 71–82. Birkhäuser.
- Croux and Öllerer (2016) Croux, C. and V. Öllerer (2016). Robust and sparse estimation of the inverse covariance matrix using rank correlation measures. In Recent Advances in Robust Statistics: Theory and Applications, pp. 35–55. Springer.
- Danilov et al. (2012) Danilov, M., V. J. Yohai, and R. H. Zamar (2012). Robust estimation of multivariate location and scatter in the presence of missing data. Journal of the American Statistical Association 107, 1178–1186.
- De Ketelaere et al. (2020) De Ketelaere, B., M. Hubert, J. Raymaekers, P. J. Rousseeuw, and I. Vranckx (2020). Real-time outlier detection for large datasets by RT-DetMCD. Chemometrics and Intelligent Laboratory Systems 199, 103957.
- Dempster et al. (1977) Dempster, A., N. Laird, and D. Rubin (1977). Maximum likelihood from incomplete data via the EM algorithm. Journal of the Royal Statistical Society B 39(1), 1–22.
- Donoho and Huber (1983) Donoho, D. and P. Huber (1983). The notion of breakdown point. In P. Bickel, K. Doksum, and J. Hodges (Eds.), A Festschrift for Erich Lehmann, Belmont, pp. 157–184. Wadsworth.
- Filzmoser et al. (2020) Filzmoser, P., S. Höppner, I. Ortner, S. Serneels, and T. Verdonck (2020). Cellwise robust M regression. Computational Statistics & Data Analysis 147, 106944.
- García-Escudero et al. (2021) García-Escudero, L.-A., D. Rivera-García, A. Mayo-Iscar, and J. Ortega (2021). Cluster analysis with cellwise trimming and applications for the robust clustering of curves. Information Sciences 573, 100–124.
- Gnanadesikan and Kettenring (1972) Gnanadesikan, R. and J. Kettenring (1972). Robust estimates, residuals, and outlier detection with multiresponse data. Biometrics 28, 81–124.
- Higham (2002) Higham, N. J. (2002). Computing the nearest correlation matrix – a problem from finance. IMA Journal of Numerical Analysis 22, 329–343.
- Hubert et al. (2018) Hubert, M., M. Debruyne, and P. J. Rousseeuw (2018). Minimum Covariance Determinant and extensions. Wiley Interdisciplinary Reviews: Computational Statistics 10(3), e1421.
- Hubert et al. (2015) Hubert, M., P. J. Rousseeuw, and P. Segaert (2015). Multivariate functional outlier detection. Statistical Methods & Applications 24, 177–202.
- Hubert et al. (2019) Hubert, M., P. J. Rousseeuw, and W. Van den Bossche (2019). MacroPCA: An all-in-one PCA method allowing for missing values as well as cellwise and rowwise outliers. Technometrics 61(4), 459–473.
- Hubert et al. (2012) Hubert, M., P. J. Rousseeuw, and T. Verdonck (2012). A deterministic algorithm for robust location and scatter. Journal of Computational and Graphical Statistics 21, 618–637.
- Katayama et al. (2018) Katayama, S., H. Fujisawa, and M. Drton (2018). Robust and sparse gaussian graphical modelling under cell-wise contamination. Stat 7(1), e181.
- Little and Rubin (2020) Little, R. and D. Rubin (2020). Statistical analysis with missing data (third edition). John Wiley and Sons, New York.
- Lopuhaä and Rousseeuw (1991) Lopuhaä, H. P. and P. J. Rousseeuw (1991). Breakdown points of affine equivariant estimators of multivariate location and covariance matrices. The Annals of Statistics 19, 229–248.
- Maechler et al. (2022) Maechler, M., P. Rousseeuw, C. Croux, V. Todorov, A. Rückstuhl, M. Salibian-Barrera, T. Verbeke, M. Koller, E. Conceicao, and M. di Palma (2022). robustbase: Basic robust statistics. R package, CRAN.
- Maronna and Yohai (2008) Maronna, R. A. and V. J. Yohai (2008). Robust low-rank approximation of data matrices with elementwise contamination. Technometrics 50(3), 295–304.
- Öllerer et al. (2016) Öllerer, V., A. Alfons, and C. Croux (2016). The shooting S-estimator for robust regression. Computational Statistics 31(3), 829–844.
- Öllerer and Croux (2015) Öllerer, V. and C. Croux (2015). Robust high-dimensional precision matrix estimation. In Modern Nonparametric, Robust and Multivariate Methods, eds. K. Nordhausen and S. Taskinen, pp. 325–350. Springer.
- Pedregosa et al. (2011) Pedregosa, F., G. Varoquaux, A. Gramfort, V. Michel, B. Thirion, O. Grisel, M. Blondel, P. Prettenhofer, R. Weiss, V. Dubourg, et al. (2011). Scikit-learn: Machine Learning in Python. The Journal of Machine Learning Research 12, 2825–2830.
- Raymaekers and Rousseeuw (2021a) Raymaekers, J. and P. J. Rousseeuw (2021a). Fast robust correlation for high-dimensional data. Technometrics 63(2), 184–198.
- Raymaekers and Rousseeuw (2021b) Raymaekers, J. and P. J. Rousseeuw (2021b). Handling cellwise outliers by sparse regression and robust covariance. Journal of Data Science, Statistics, and Visualization, Volume 1, Number 3.
- Raymaekers and Rousseeuw (2022) Raymaekers, J. and P. J. Rousseeuw (2022). cellWise: Analyzing Data with Cellwise Outliers. R package, CRAN.
- Raymaekers and Rousseeuw (2023) Raymaekers, J. and P. J. Rousseeuw (2023). Challenges of cellwise outliers. arXiv report 2302.02156.
- Rousseeuw (1984) Rousseeuw, P. J. (1984). Least median of squares regression. Journal of the American Statistical Association 79, 871–880.
- Rousseeuw (1985) Rousseeuw, P. J. (1985). Multivariate estimation with high breakdown point. In W. Grossmann, G. Pflug, I. Vincze, and W. Wertz (Eds.), Mathematical Statistics and Applications, pp. 283–297. Reidel.
- Rousseeuw and Croux (1993) Rousseeuw, P. J. and C. Croux (1993). Alternatives to the median absolute deviation. Journal of the American Statistical Association 88, 1273–1283.
- Rousseeuw and Leroy (1987) Rousseeuw, P. J. and A. Leroy (1987). Robust Regression and Outlier Detection. New York: John Wiley.
- Rousseeuw and Van den Bossche (2018) Rousseeuw, P. J. and W. Van den Bossche (2018). Detecting Deviating Data Cells. Technometrics 60, 135–145.
- Rousseeuw and Van Driessen (1999) Rousseeuw, P. J. and K. Van Driessen (1999). A Fast Algorithm for the Minimum Covariance Determinant Estimator. Technometrics 41, 212–223.
- Rousseeuw and van Zomeren (1990) Rousseeuw, P. J. and B. C. van Zomeren (1990). Unmasking multivariate outliers and leverage points. Journal of the American Statistical Association 85, 633–651.
- Schreurs et al. (2021) Schreurs, J., I. Vranckx, M. Hubert, J. Suykens, and P. J. Rousseeuw (2021). Outlier detection in non-elliptical data by kernel MRCD. Statistics and Computing 31:66, 1–18.
- She et al. (2022) She, Y., Z. Wang, and J. Shen (2022). Gaining outlier resistance with progressive quantiles: Fast algorithms and theoretical studies. Journal of the American Statistical Association 117, 1282–1295.
- Su et al. (2021) Su, P., G. Tarr, and S. Muller (2021). Robust variable selection under cellwise contamination, arXiv preprint 2110.12406.
- Tarr et al. (2016) Tarr, G., S. Muller, and N. Weber (2016). Robust estimation of precision matrices under cellwise contamination. Computational Statistics & Data Analysis 93, 404–420.
- Todorov (2012) Todorov, V. (2012). rrcov: Scalable Robust Estimators with High Breakdown Point. R package, CRAN.
- Van Aelst et al. (2011) Van Aelst, S., E. Vandervieren, and G. Willems (2011). Stahel-Donoho estimators with cellwise weights. Journal of Statistical Computation and Simulation 81(1), 1–27.
- Van der Vaart (2000) Van der Vaart, A. (2000). Asymptotic Statistics. Cambridge University Press.
Supplementary Material to:
The Cellwise Minimum Covariance Determinant
Estimator
Jakob Raymaekers and Peter J. Rousseeuw
A.1 Proof of breakdown results
Proof of Proposition 2.
The proof consists of four parts.
Part (a): this follows immediately from the constraint for .
Part (b): Explosion breakdown of .
Denote by the set of all corrupted samples obtained by replacing at most cells in each column of by arbitrary values, for . Also denote
Then we can write
In other words, we can write the set of all corrupted samples as a finite union over subsets of corrupted samples with the same contaminating configuration .
We start by showing the existence of a solution with finite objective function. Consider any such contaminating configuration . Then take the solution where the location and scatter are the result of the EM-algorithm with fixed missingness pattern given by . Then
in which denotes
the objective function (9)
of cellMCD.
In other words, for all with the same
contaminating configuration, we have a candidate
solution with a finite objective function.
Since there are finitely many such contaminating
distributions, we can always find a candidate
solution with a value of the objective function
smaller than .
We now show that does not explode. By construction, for some constant . Then we have that
where we have used that for any . That is, the largest eigenvalue of any positive semi-definite (sub)matrix is at least as large as its largest diagonal element.
Now we can bound the first term of the objective from below by an increasing function of the largest eigenvalue. First note that we have at least one row for which the -th element of is 1, where . Therefore
where we have used that , i.e. the largest eigenvalue of a positive definite matrix is at most times its largest absolute entry. Also, we have used that since is a covariance matrix, so its maximum occurs on the diagonal.
As all other terms of the objective function are bounded from below by zero, we obtain:
We thus find that the objective function
explodes when .
Given that for any possible contaminated
dataset there is a candidate solution
with objective function less than or
equal to , we conclude that
the solution cannot have an exploding
eigenvalue.
Part (c): Breakdown of .
Note that for all and each variable there is at least one , so a cell that was not replaced. Denote . Then we have
In the last line we have used that
there is at least one uncontaminated cell
in each variable for which ,
together with the fact that this cell is
bounded in absolute value by .
From part (b) we don’t have explosion of
the covariance matrix, so
.
Should our
objective function would explode, but we
know it does not.
Part (d): The bound is sharp. So far we know that and . We now show that this common lower bound cannot be improved, by constructing an example which causes breakdown. For this we take a contaminating configuration obtained by replacing cells in the first column of the data by some value and leaving all other columns untouched. Unlike before, there is no way to cover all these cells with any . Put as before.
Consider any solution with . Denote by the set of indices of the rows which have a contaminated cell equal to in their first variable. Denote by subscript the set of variables for which . By the first order conditions of the EM algorithm, upon convergence of the algorithm we must have where are the imputed observations. For the first entry of we have:
Note that we have replaced by in the last line, since all those cells are uncontaminated. By construction of our contaminated data, we have . Now take a sequence which diverges, i.e. as . Suppose that our estimates and would not break down as . Then the on the left hand side of the above equality would be bounded. The second term on the right hand side is just an average of uncontaminated data so it is bounded too. The last term on the right hand side would be bounded as well, since it consists of the estimated , , and the uncontaminated data. (Note that is bounded since .) However, the first term on the right hand side would diverge. This is a contradiction. We conclude that either the location or the covariance matrix (or both) must diverge as . ∎
A.2 Asymptotic properties of cellMCD
A.2.1 Introduction
In this section we study the asymptotic properties of cellMCD for well-behaved distributions (to be specified later). In order to do so, we consider the cellMCD objective without the columnwise restriction on . This is justified, since from an asymptotic perspective, the columnwise restriction on only plays a role when it is encountered asymptotically. By our choice of , we know that this is not the case for the normal distribution, and even for much more heavy tailed distributions, such as the multivariate Cauchy with independent components, we won’t flag 25 % of the values in the marginal distributions asymptotically.
Now, without the columnwise restriction on , there are different ways of writing the cellMCD objective, of which the version (14) lends itself somewhat better to asymptotic analysis:
where we use (15):
in which and . Our estimate is then
with the empirical distribution and the parameter space.
Suppose, for now, that is a subset of where is the (closed) cone of symmetric positive definite matrices with smallest eigenvalue . We endow the product space with the metric given by , which combines the Euclidean and Frobenius norms. Other norms on the space of matrices are possible (and sometimes more natural), but in our context the Frobenius norm suffices.
A.2.2 Some properties of the objective function
Lemma 1.
For all , the function is continuous.
Proof.
Note that for each fixed , the function is continuous. For any fixed , is thus a minimum of a finite number of continuous functions, which is continuous. ∎
Lemma 2.
For and all , the function is uniformly bounded over all possible in .
Proof.
We have that .
The first inequality stems from minimizing each term of individually. In particular, the last three terms are always positive, so we set them to zero. The first term is bounded from below by , which is negative by our choice of .
The second inequality stems from the instance , in which case .
∎
Lemma 3.
The function is continuous.
A.2.3 Wald-type consistency proof
We can set up a Wald-type consistency proof. Assume that is a compact subset of where is the (closed) cone of symmetric positive definite matrices with smallest eigenvalue . Denote by the set of minima of . It is nonempty due to compactness of , and the continuity of from Lemma 3.
Proposition 7.
Let be a sequence of estimators which nearly minimize , i.e. for which
for some . Then it holds for all and for any compact set that
Proof.
This follows from a direct application of Theorem 5.14 in Van der Vaart (2000). Its conditions are satisfied because
- •
For all , the function is continuous by Lemma 1.
- •
For any sufficiently small ball the function is measurable and satisfies . This holds because, by Lemma 2, we have
∎
A.2.4 Compactness
Proposition 7 gives consistency of the cellMCD estimator to the set of true minimizers of the asymptotic objective. The consistency holds on any compact set of . Ideally, we would like the consistency of cellMCD on the whole parameter space, but that in itself is not compact. Fortunately, we can indeed obtain the desired consistency result by virtue of the following proposition.
Proposition 8.
Let be a random sample from with empirical cdf . Let be an optimal set of parameters for the sample. Then there exists an so that, where is the closed ball of radius around .
Proof.
Consider a sequence of solutions minimizing . Denote the diagonal elements of by and the components of by . We want to show that the diagonal elements of and the components of are bounded eventually:
This suffices because the off-diagonal entries of are bounded by the diagonal entries due to since is PSD.
We will first show that the cannot diverge. Suppose the opposite, so that w.l.o.g. the first diagonal elements of are not bounded in this way. Therefore .
If we denote by and the location and scatter estimates restricted to all but the first coordinates. Denote
If we set the term equal to zero. Note that now, for every , there is a so that
Intuitively this means that, no matter the value of , by inflating we can get arbitrarily close to the value of the objective function obtained by dropping the first coordinates. The contribution of these first coordinates to the objective function becomes arbitrarily close to .
Now consider a new sequence of estimates given by where and . Note that we must have for all , since is a sequence of minimizers of the objective. For this new sequence of estimates we have
where the tildes below indicate the restriction of the quantity to the first coordinates, so and .
Now denote and note that by the assumptions on . Take . Then we can find a so that
where the appears because by the law of large numbers. We thus obtain a contradiction, since is supposed to be a sequence of minimizers and we find that our newly constructed sequence attains a lower value of the objective function with non-zero probability for large enough.
Now we know that cannot diverge. It remains to show that the same is true for . Suppose w.l.o.g. that the first elements of are not appropriately bounded, i.e. that . Note that now, for every , there exists a so that
Intuitively this means that, for any fixed value of , by increasing we can get arbitrarily close to the value of the objective function obtained by dropping the first coordinates. The contribution of these first coordinates to the objective function becomes arbitrarily close to . It is worth noting the subtle difference from the scale case, where we had the same identity uniformly for all . In this case, we cannot make the exact same statement. However, as long as we bound , we can get uniformity. More specifically, we can strengthen the previous statement as follows. For every and , we have that there exists a so that
Note that we used here that all remain bounded (in probability).
We now consider a new sequence of estimates, like before, given by where and . Additionally, take . Then take such that . Then:
where . First note that . Therefore, by our choice of and the law of large numbers. Therefore we obtain
This is again a contradiction, since is supposed to be a sequence of minimizers and we find that our newly constructed sequence attains a lower value for the objective function with nonzero probability for large enough. ∎
A.2.5 Fisher consistency of the cellMCD location estimator
The previous parts were concerned with the consistency of the estimators for the set of population minimizers. The population minimizer for is not quite the underlying parameter, since a small fraction of cells is always given weight zero due to the penalty term in the objective. But for the location we can prove that the unique minimizer is indeed the underlying parameter vector, so the cellMCD functional for location is Fisher consistent. Below we will keep fixed at its minimizer, so only varies. We furthermore assume that is a strictly unimodal elliptical distribution which allows a density function. Finally, we assume w.l.o.g. that the center of symmetry of is .
The following Lemma states the relevant properties of the function . We will use the notation .
Lemma 4.
The function :
- 1.
is minimal in ;
- 2.
This minimum is unique as long as such that it holds that ;
- 3.
only shifts when changes, i.e.
- 4.
is point symmetric around and, for every , weakly monotone increasing in .
Proof.
Suppose we fix and for a moment. Note that , as a function of , has the following properties:
- •
it is quadratic in those for which , and constant in the other . It is thus strictly monotone increasing in ;
- •
it is a point symmetric function in ;
- •
it is minimal in for all for which . So, unless for all , the minimum is not unique;
- •
changing only shifts this function.
So, each function is a quadratic function with a minimum at . This minimum is unique only if for all , in other cases we have some dimensions in which the minimum is not unique (the function is constant there). Now the function we are interested in, is
The first claim now immediately follows. Since each is minimized in , this also holds for the minimum of these functions.
Now, this minimum need not be unique in principle. However, if such that it holds that , then we know that we have an open ball around so that for all in this ball, attains the lowest value for . In that case, we do have that is a unique minimizer of . Intuitively, if we have a region of observations (centered around ) where no cells are flagged, we obtain a unique minimum for .
The third property follows from the fact that for each of the we have that , hence it also holds for .
Finally, is point symmetric around and weakly monotone increasing in , because all have these same properties.
∎
Now that we have the relevant properties of , we need to prove that the expected value of this function w.r.t. a strictly unimodal elliptical density function centered at 0 is minimized at . For this, we first show this in the univariate case.
Lemma 5 (univariate case).
Let be a symmetric function around the origin and assume there is a such that is strictly increasing for and monotone increasing for . Put . Let be a strictly unimodal density function symmetric around 0. When is integrable, the integral
attains its unique minimum at .
Proof.
Note that
where we have used the symmetry of in the last equality.
If , then the last line is because both factors are due to being monotone increasing and symmetric and being unimodal and symmetric, and for . For we obtain in all so almost everywhere, and by strict unimodality of the integrated inequality is strict. If then the last line is still , as now both factors are because of the same reasons. So we find
for all . Note that the equality is reached for , and this is the unique minimizer due to the strict monotonicity of in its central region and the strict unimodality of . ∎
Now we need a multivariate version of the above, which is stated below:
Proposition 9 (multivariate case).
Let the function be point symmetric around the origin and assume there is a such that for every direction on the unit sphere it holds that is strictly increasing for and weakly monotone increasing for . Put . Let be a strictly unimodal density function which is elliptical around 0. When is integrable,
attains its unique minimum at .
Proof.
Note that
By switching to hyperspherical coordinates this multivariate integral becomes
where is the uniform probability measure on the unit sphere . This is a change of variables: x is written as with and . The factor is the Jacobian.
Now consider the inner integral
where the univariate function is symmetric around and monotone increasing in , and even strictly monotone increasing for .
The other function in the inner integral is where forms a straight line. Due to the properties of this function is symmetric about and strictly unimodal. It is in fact a constant multiple of the conditional density on that line. Consider the univariate function . Then is a univariate function of . So the entire inner integral becomes
To this integral we can apply Lemma 5, which tells us that the integral is minimized when and that this minimizer is unique. So we know that for any direction the inner integral is minimal when . Therefore the entire integral is minimal when . This minimizer is unique because the only vector that is orthogonal to every direction on the unit sphere is the origin. ∎
A.3 About the algorithm in Section 4
Proof of Proposition 5.
Put without loss of generality. Following Petersen and Pedersen (2012), p. 47, we can write
with
Note that
and so
For (17), we verify that
so
Finally,
∎
Pseudocode of the cellMCD algorithm
For the purpose of clarity, we assume throughout the pseudocode algorithms that , and are global constants and that the input data has already been standardized robustly. The function getObjective simply computes and returns the cellMCD objective given the current estimates of the parameters.
Proof of Proposition 6.
We first prove statement (i). Part (a) of the C-step repeatedly updates one column of , say column . It sets for all with negative . If that number exceeds the constraint is satisfied, and otherwise it takes the smallest values of . In either case we obtain the lowest sum of the terms of the objective (9) in column that satisfies the constraint, so that sum has to be less than or equal to before. This remains true after repeating the procedure on other columns.
Part (b) starts by performing the standard E-step. Next, the M-step is carried out and the constraint is applied by truncating all eigenvalues of at from below. This combination nevertheless reduces the objective (7) or keeps it the same, following section 11.3 of Little and Rubin (2020) on the Gaussian model with a restricted covariance matrix. This is because the E-step is unchanged, whereas the constraint acts on the M-step which is the same as if the result of the E-step came from complete data. For our specific constraint this was also shown in Proposition 1 of Aubry et al. (2021), see in particular their formulas (33) and (34). Since the objective (7) is reduced or stays the same, this also follows for the total objective (9).
We now prove statement (ii). The algorithm iterates C-steps, and converges because the objective decreases in each C-step (when it remains the same the algorithm is done) and there is a finite lower bound on the objective (9). To see the latter, first consider a fixed matrix . Then the first term satisfies which is finite, and all the other terms are bounded below by zero. The overall lower bound is the minimum of such lower bounds over the finite number of possible matrices that satisfy the constraint, so it is finite. ∎
A.4 The initial estimator DDCW
The C-step iterations of section 4 need initial cellwise robust estimates and of location and covariance. For this purpose we developed an initial estimator called DDCW, described here. Its steps are:
- 1.
Drop variables with too many missing values or zero median absolute deviation, and continue with the remaining columns.
- 2.
Run the DetectDeviatingCells (DDC) method (Rousseeuw and Van den Bossche, 2018) with the constraint that no more than cells are flagged in any variable. DDC also rescales the variables, and may delete some cases. Continue with the remaining imputed and rescaled cases denoted as .
- 3.
Project the on the axes of their principal components, yielding the transformed data points .
- 4.
Compute the wrapped location and covariance matrix (Raymaekers and Rousseeuw, 2021a) of these . Next, compute the temporary points given by . Then remove all cases for which the squared robust distance exceeds .
- 5.
Project the remaining on the eigenvectors of and again compute a wrapped location and covariance matrix.
- 6.
Transform these estimates back to the original coordinate system of the imputed data, and undo the scaling. This yields the estimates and .
Note that DDCW can handle missing values since the DDC method in Step 2 imputes them. The reason for the truncation in the rejection rule in Step 4 is that otherwise the robust distance could be inflated by a single outlying cell. Step 4 tends to remove rows which deviate strongly from the covariance structure. These are typically rows which cannot be shifted towards the majority of the data without changing a large number of cells.
A.5 Choice of the tuning constant
The in the objective function (9) are given by expression (21) which contains the single tuning constant . This tuning constant determines how many cells are flagged, which has consequences for efficiency and robustness. Therefore, we have to choose its default value carefully.
Based on the discussion around (20), the condition for flagging a cell is
where the scalars and are the estimated conditional mean and variance of the cell given the observed cells in row , i.e. those with . Together with our choice of in (21), we see that is flagged if and only if
i.e. its squared conditional residual exceeds the -th quantile of the chi-square distribution.
There is no simple analytic expression for the population cellMCD covariance matrix. We can write it as the minimizer of the objective function, as we have done in (9). For a given weight matrix it satisfies (keeping fixed for simplicity of notation):
where
and
This is the maximum likelihood estimate for incomplete data, which is consistent for cells missing completely at random, but here the are not of that type since they correspond to cells that were flagged due to being extreme in some sense.
From these formulas, the cellMCD covariance matrix can be seen as a classical covariance matrix computed on the imputed data, with an additional correction. If the imputed data is the original data, i.e. if we flag no cells, we recover the classical covariance matrix.
To illustrate how the flagging of cells depends on the choice of we look at regions where one or both cells are flagged. For this we considered a bivariate normal distribution with center . The diagonal entries of its scatter matrix are , and its off-diagonal entries equal . The resulting “domains of attraction” are shown in the figure below, for different values of . In the central region no cells are flagged. In the horizontal region the first cell is flagged, and in the vertical region the second cell is. In the ‘corner’ regions both cells are flagged. We see that the central region expands with .
As long as and remain bounded (which happens under a wide variety of distributions, including heavy-tailed and contaminated ones, due to the good breakdown value), this implies that the cellMCD estimator will yield the classical maximum likelihood estimator of the covariance matrix if is taken large enough.
This might tempt us to look for a rate at which can diverge while achieving estimation consistency. This would be similar to letting the tuning parameter in Huber-type estimators diverge as in Sun et al. (2020). This can work well under specific assumptions on the contamination. The drawback of this exercise for us, and the reason why we chose not to pursue this direction, is that the breakdown value will be lost no matter the rate at which diverges. To see why the breakdown value is lost, let tend to 1 at some rate depending on the sample size . Then we can replicate part (d) of the proof of Proposition 2 on the breakdown value in Section A.1 of the Supplementary Material, where we can pick a fixed percentage of cells, say for some , and set them equal to the sequence where does not diverge too fast, while . It suffices to take . But then the method would break down.
The default choice of was guided by a tradeoff between robustness and efficiency. This is a typical approach in robust statistics, for instance when choosing the tuning constant of Huber’s M-estimator or Tukey’s bisquare. In Figures 5 and 6 in Section 6 of the paper we saw that the cellMCD method with this is very robust to outliers, and Table 2 showed its good finite-sample efficiency. We can also look at the efficiency for varying . The table below shows some approximate large-sample efficiencies as a function of . They were obtained by repeatedly generating data points from the multivariate normal distribution in dimension with covariance matrix of type A09, and running cellMCD with cutoff given by different -th quantiles. The variances of the entries of the resulting matrices were then compared to those of the classical covariance matrix. This rough result illustrates that the efficiency goes up with increasing , and reaches a satisfactory value for .
| quantile | 0.95 | 0.975 | 0.99 | 0.995 | 0.999 | 0.9999 |
|---|---|---|---|---|---|---|
| efficiency | 0.84 | 0.92 | 0.93 | 0.94 | 0.99 | 0.99 |
A.6 More simulation results
A.6.1 Variability of the simulation results
A reviewer asked for the variability of the Kullback-Leibler
discrepancy in the simulation, the averages of which are shown
in Figures 5 and 6
in the paper. Their standard deviations are listed in
Table 4 below for ALYZ,
and in Table 5 for A09.
| d | method | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 10 | Grank | 2.71 | 7.02 | 10.19 | 10.85 | 11.01 | 11.05 | 11.10 | 11.13 | 11.15 | 11.17 |
| 10 | Spearman | 3.15 | 6.36 | 8.07 | 8.43 | 8.54 | 8.56 | 8.59 | 8.61 | 8.62 | 8.63 |
| 10 | GKnpd | 3.86 | 6.78 | 7.31 | 7.24 | 7.63 | 9.12 | 9.35 | 10.35 | 10.53 | 11.07 |
| 10 | Cov | 2.48 | 6.83 | 13.89 | 23.65 | 36.13 | 51.34 | 69.30 | 90.00 | 113.44 | 139.64 |
| 10 | caseMCD | 2.41 | 5.53 | 12.47 | 23.06 | 33.57 | 50.53 | 76.77 | 102.79 | 134.07 | 168.88 |
| 10 | 2SGS | 2.45 | 6.71 | 11.60 | 0.20 | 0.20 | 0.19 | 0.19 | 0.19 | 0.19 | 0.19 |
| 10 | DI | 2.47 | 4.21 | 0.73 | 0.66 | 0.60 | 0.64 | 0.63 | 0.64 | 0.63 | 0.71 |
| 10 | cellMCD | 2.14 | 5.97 | 0.94 | 0.29 | 0.30 | 0.29 | 0.29 | 0.29 | 0.29 | 0.29 |
| 20 | Grank | 2.30 | 7.15 | 10.89 | 11.88 | 12.23 | 12.43 | 12.56 | 12.64 | 12.72 | 12.76 |
| 20 | Spearman | 2.91 | 6.24 | 7.90 | 8.40 | 8.61 | 8.73 | 8.81 | 8.86 | 8.91 | 8.94 |
| 20 | GKnpd | 3.24 | 5.98 | 5.89 | 3.87 | 7.07 | 10.71 | 13.10 | 14.50 | 14.80 | 15.55 |
| 20 | Cov | 2.24 | 6.82 | 14.49 | 25.20 | 38.96 | 55.76 | 75.60 | 98.50 | 124.44 | 153.42 |
| 20 | caseMCD | 2.15 | 6.94 | 14.95 | 28.32 | 48.00 | 68.38 | 99.64 | 130.81 | 152.51 | 186.62 |
| 20 | 2SGS | 2.32 | 6.87 | 8.49 | 0.53 | 0.31 | 0.20 | 0.16 | 0.14 | 0.12 | 0.12 |
| 20 | DI | 1.79 | 1.54 | 0.29 | 0.28 | 0.25 | 0.27 | 0.27 | 0.26 | 0.26 | 0.27 |
| 20 | cellMCD | 1.75 | 3.46 | 0.21 | 0.18 | 0.18 | 0.18 | 0.18 | 0.20 | 0.19 | 0.19 |
| 40 | Grank | 3.51 | 11.66 | 17.98 | 20.23 | 21.30 | 21.94 | 22.36 | 22.67 | 22.91 | 23.09 |
| 40 | Spearman | 4.26 | 9.37 | 12.09 | 13.24 | 13.85 | 14.23 | 14.49 | 14.68 | 14.83 | 14.94 |
| 40 | GKnpd | 4.69 | 8.59 | 8.29 | 5.31 | 5.00 | 10.67 | 15.81 | 18.57 | 19.58 | 21.56 |
| 40 | Cov | 3.41 | 11.31 | 24.74 | 43.60 | 67.86 | 97.53 | 132.60 | 173.07 | 218.94 | 270.21 |
| 40 | caseMCD | 3.24 | 11.07 | 24.44 | 43.20 | 68.25 | 101.38 | 143.31 | 176.56 | 242.36 | 311.15 |
| 40 | 2SGS | 3.54 | 11.22 | 7.07 | 2.49 | 1.60 | 1.13 | 0.89 | 0.73 | 0.59 | 0.50 |
| 40 | DI | 2.20 | 0.93 | 0.50 | 0.45 | 0.43 | 0.40 | 0.40 | 0.42 | 0.39 | 0.39 |
| 40 | cellMCD | 2.28 | 1.10 | 0.31 | 0.36 | 0.35 | 0.35 | 0.38 | 0.36 | 0.34 | 0.39 |
| d | method | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 10 | Grank | 1.22 | 2.60 | 4.10 | 4.93 | 5.62 | 6.20 | 6.64 | 7.00 | 7.17 | 7.27 |
| 10 | Spearman | 1.20 | 2.36 | 3.34 | 3.93 | 4.37 | 4.75 | 5.00 | 5.19 | 5.28 | 5.34 |
| 10 | GKnpd | 2.58 | 1.83 | 4.81 | 7.70 | 7.76 | 8.12 | 7.44 | 6.92 | 7.69 | 6.88 |
| 10 | Cov | 1.19 | 2.34 | 3.99 | 6.13 | 8.79 | 12.00 | 15.76 | 20.10 | 25.00 | 30.48 |
| 10 | caseMCD | 0.77 | 2.42 | 7.19 | 12.35 | 19.00 | 24.31 | 32.86 | 43.60 | 56.26 | 71.06 |
| 10 | 2SGS | 0.62 | 0.86 | 0.30 | 0.23 | 0.18 | 0.18 | 0.17 | 0.18 | 0.18 | 0.17 |
| 10 | DI | 0.36 | 0.34 | 0.39 | 0.42 | 0.43 | 0.42 | 0.41 | 0.42 | 0.47 | 0.43 |
| 10 | cellMCD | 0.30 | 0.30 | 0.31 | 0.32 | 0.31 | 0.30 | 0.37 | 0.35 | 0.39 | 0.40 |
| 20 | Grank | 0.85 | 1.67 | 2.83 | 3.61 | 4.23 | 4.75 | 5.14 | 5.36 | 5.51 | 5.61 |
| 20 | Spearman | 0.79 | 1.42 | 2.01 | 2.52 | 2.91 | 3.22 | 3.43 | 3.56 | 3.65 | 3.72 |
| 20 | GKnpd | 0.72 | 1.17 | 1.57 | 1.72 | 6.78 | 9.10 | 8.58 | 8.39 | 8.94 | 8.13 |
| 20 | Cov | 0.84 | 1.46 | 2.44 | 3.79 | 5.53 | 7.65 | 10.15 | 13.04 | 16.30 | 19.95 |
| 20 | caseMCD | 0.48 | 1.46 | 4.00 | 7.01 | 10.57 | 15.09 | 20.43 | 26.51 | 36.33 | 44.09 |
| 20 | 2SGS | 0.50 | 1.38 | 1.03 | 0.51 | 0.20 | 0.13 | 0.11 | 0.11 | 0.10 | 0.10 |
| 20 | DI | 0.19 | 0.18 | 0.18 | 0.15 | 0.16 | 0.18 | 0.18 | 0.18 | 0.17 | 0.20 |
| 20 | cellMCD | 0.13 | 0.15 | 0.14 | 0.15 | 0.15 | 0.16 | 0.17 | 0.17 | 0.16 | 0.15 |
| 40 | Grank | 0.79 | 1.27 | 2.23 | 3.05 | 3.66 | 4.07 | 4.34 | 4.53 | 4.66 | 4.74 |
| 40 | Spearman | 0.68 | 1.14 | 1.68 | 2.14 | 2.45 | 2.66 | 2.79 | 2.89 | 2.96 | 3.01 |
| 40 | GKnpd | 0.53 | 0.91 | 1.34 | 1.56 | 1.31 | 8.14 | 9.18 | 10.61 | 11.60 | 10.15 |
| 40 | Cov | 0.77 | 1.11 | 1.73 | 2.68 | 3.97 | 5.61 | 7.57 | 9.86 | 12.47 | 15.40 |
| 40 | caseMCD | 0.51 | 0.96 | 2.10 | 5.11 | 7.19 | 10.37 | 13.51 | 17.46 | 21.48 | 25.84 |
| 40 | 2SGS | 0.63 | 1.31 | 2.47 | 1.95 | 0.77 | 0.42 | 0.32 | 0.29 | 0.26 | 0.28 |
| 40 | DI | 0.37 | 0.28 | 0.29 | 0.24 | 0.25 | 0.24 | 0.25 | 0.27 | 0.28 | 0.26 |
| 40 | cellMCD | 0.14 | 0.12 | 0.13 | 0.13 | 0.14 | 0.15 | 0.15 | 0.16 | 0.15 | 0.15 |
In these tables we note that the standard deviations
differ a lot by method and value of .
Of course, the same is true for the averages as well.
Figures 8 and 9
below plot the signal to noise ratio of the discrepancy,
that is, their average divided by their standard deviation.
The roughly horizontal nature of these curves indicates
that the variability and the average typically grow
together.
ALYZ model, 10% outliers,
A09 model, 10% outliers,
ALYZ model, 10% outliers,
A09 model, 10% outliers,
ALYZ model, 10% outliers,
A09 model, 10% outliers,
A.6.2 Simulation on the ordering of the variables
In section 4, part (a) of the C-step updates the matrix in (9) while keeping and unchanged. We start the new pattern as , and then we modify column by column, by cycling over the variables . A referee asked to check the effect of the order in which the variables are updated on the result of the algorithm, in the simulations with A09 in section 6.
In order to study this we ran an experiment in which different orderings of the variables (columns) were tried, while keeping the remainder of the algorithm unchanged. We considered 5 options:
- •
original: the variables are updated in the original ordering of the data (1 to ).
- •
T descending: the variables are updated in the order of descending tail weight, as measured by .
- •
T ascending: the variables are updated in the order of ascending tail weight, measured in the same way.
- •
W descending: the variables are updated in the order of descending number of unflagged cells, as measured by .
- •
W ascending: the variables are updated in the order of ascending number of unflagged cells, measured in the same way.
For each version we carried out 100 replications, and computed the averaged MSE of the estimated center, the KLdiv of the estimated covariance matrix, and the value of the objective function. This yielded the tables below. Based on these results, the choice of the ordering appears to have only a tiny effect.
| MSE() | KLdiv() | objective | |
|---|---|---|---|
| original | 0.01000 | 1.297 | 1285.94 |
| T descending | 0.00985 | 1.289 | 1286.28 |
| T ascending | 0.00993 | 1.291 | 1286.93 |
| W descending | 0.01002 | 1.298 | 1286.56 |
| W ascending | 0.00990 | 1.281 | 1286.19 |
| MSE() | KLdiv() | objective | |
|---|---|---|---|
| original | 0.01046 | 1.301 | 1614.71 |
| T descending | 0.01053 | 1.300 | 1614.88 |
| T ascending | 0.01052 | 1.301 | 1614.79 |
| W descending | 0.01063 | 1.301 | 1616.70 |
| W ascending | 0.01039 | 1.292 | 1615.02 |
| MSE() | KLdiv() | objective | |
|---|---|---|---|
| original | 0.01185 | 2.749 | 2034.36 |
| T descending | 0.01179 | 2.707 | 2033.03 |
| T ascending | 0.01182 | 2.740 | 2032.88 |
| W descending | 0.01201 | 2.838 | 2036.42 |
| W ascending | 0.01179 | 2.749 | 2034.73 |
A.6.3 Simulations on the number of W-steps and EM-steps
The concentration step (C-step) of the cellMCD algorithm in section 4 consists of two parts. Part (a) updates the matrix in (9) while keeping and as they are. Let us call this a W-step. Part (b) uses the new ‘missingness’ pattern and carries out an EM-step to update and . So each C-step contains a single W-step and a single EM-step.
A referee asked what would be the effect of increasing the number of W-steps and/or EM-steps. We studied this by considering 5 settings. The original setting is denoted as 1W+1EM, so a single W-step and a single EM-step. The other four settings are, with similar notation, 5W+1EM, 1W+5EM, 5W+5EM, and 10W+10EM. The convergence criterion and everything else in the algorithm was left unchanged. We ran 100 replications of the algorithm versions, for the following combinations of choices. The dimension is either 10 (with ), 20 (with ), or 40 (with ), and the true is either A09 or ALYZ. The contamination fraction is 0, 0.1, or 0.2 . And finally, the position of the cellwise outliers is given by equal to 4 or 10.
As expected, increasing the number of W-steps and/or EM-steps increases the overall computation time. This is seen in Table 9 which provides the averaged computation time over all settings in each of the three dimensions. Note that W-steps are more expensive than EM-steps, due to frequent evaluations of the objective function. The table shows that increasing the number of steps is costly, especially in the higher dimensions.
| version | d=10 | d=20 | d=40 |
|---|---|---|---|
| 1W + 1EM | 0.42 | 2.72 | 26.24 |
| 5W + 1EM | 0.83 | 10.02 | 118.78 |
| 1W + 5EM | 0.61 | 4.31 | 32.32 |
| 5W + 5EM | 1.13 | 11.74 | 125.77 |
| 10W + 10EM | 2.20 | 23.16 | 250.44 |
The main question is of course whether the faster 1W+1EM version pays a price in estimation accuracy. The next three tables say that it does not, as the differences in MSE(), KLdiv() and the objective function were tiny. Also, the effect is not systematic: more computation time does not necessarily yield a lower MSE(), KLdiv(), or objective.
| A09 | ALYZ | |||||||
|---|---|---|---|---|---|---|---|---|
| method | MSE() | KLdiv() | objective | MSE() | KLdiv() | objective | ||
| 0 | – | 1W + 1EM | 0.01001 | 1.228 | 1289.27 | 0.00998 | 0.846 | 2286.53 |
| 0 | – | 5W + 1EM | 0.00998 | 1.243 | 1289.66 | 0.01000 | 0.844 | 2286.49 |
| 0 | – | 1W + 5EM | 0.00998 | 1.233 | 1289.19 | 0.01000 | 0.846 | 2286.53 |
| 0 | – | 5W + 5EM | 0.00998 | 1.244 | 1289.55 | 0.01002 | 0.845 | 2286.41 |
| 0 | – | 10W + 10EM | 0.00998 | 1.244 | 1289.55 | 0.01002 | 0.845 | 2286.41 |
| 0.1 | 4 | 1W + 1EM | 0.01050 | 1.323 | 1613.00 | 0.01139 | 1.141 | 2789.84 |
| 0.1 | 4 | 5W + 1EM | 0.01046 | 1.303 | 1612.90 | 0.01132 | 1.138 | 2789.59 |
| 0.1 | 4 | 1W + 5EM | 0.01050 | 1.300 | 1613.27 | 0.01137 | 1.136 | 2790.15 |
| 0.1 | 4 | 5W + 5EM | 0.01040 | 1.293 | 1612.79 | 0.01134 | 1.138 | 2789.58 |
| 0.1 | 4 | 10W + 10EM | 0.0104 | 1.293 | 1612.79 | 0.01134 | 1.138 | 2789.58 |
| 0.1 | 10 | 1W + 1EM | 0.01043 | 1.418 | 1714.75 | 0.01094 | 1.118 | 2828.22 |
| 0.1 | 10 | 5W + 1EM | 0.01043 | 1.416 | 1714.92 | 0.01092 | 1.121 | 2828.31 |
| 0.1 | 10 | 1W + 5EM | 0.01038 | 1.421 | 1714.67 | 0.01096 | 1.121 | 2828.22 |
| 0.1 | 10 | 5W + 5EM | 0.01041 | 1.418 | 1714.89 | 0.01092 | 1.121 | 2828.32 |
| 0.1 | 10 | 10W + 10EM | 0.01041 | 1.418 | 1714.89 | 0.01092 | 1.121 | 2828.32 |
| 0.2 | 4 | 1W + 1EM | 0.01180 | 2.710 | 2034.65 | 0.01568 | 3.473 | 3119.95 |
| 0.2 | 4 | 5W + 1EM | 0.01181 | 2.748 | 2034.04 | 0.01559 | 3.359 | 3119.06 |
| 0.2 | 4 | 1W + 5EM | 0.01179 | 2.745 | 2036.07 | 0.01549 | 3.455 | 3118.36 |
| 0.2 | 4 | 5W + 5EM | 0.01184 | 2.768 | 2035.55 | 0.01571 | 3.369 | 3119.30 |
| 0.2 | 4 | 10W + 10EM | 0.01184 | 2.768 | 2035.55 | 0.01571 | 3.369 | 3119.30 |
| 0.2 | 10 | 1W + 1EM | 0.01109 | 1.795 | 2109.86 | 0.01223 | 2.009 | 3324.95 |
| 0.2 | 10 | 5W + 1EM | 0.01099 | 1.794 | 2109.43 | 0.01224 | 2.015 | 3324.98 |
| 0.2 | 10 | 1W + 5EM | 0.01104 | 1.774 | 2110.05 | 0.01222 | 2.025 | 3325.00 |
| 0.2 | 10 | 5W + 5EM | 0.01096 | 1.780 | 2109.32 | 0.01226 | 2.025 | 3325.05 |
| 0.2 | 10 | 10W + 10EM | 0.01096 | 1.779 | 2109.33 | 0.01229 | 2.021 | 3325.09 |
| A09 | ALYZ | |||||||
|---|---|---|---|---|---|---|---|---|
| method | MSE() | KLdiv() | objective | MSE() | KLdiv() | objective | ||
| 0 | – | 1W + 1EM | 0.00242 | 1.151 | 9694.82 | 0.00247 | 0.830 | 19346.52 |
| 0 | – | 5W + 1EM | 0.00242 | 1.154 | 9694.30 | 0.00246 | 0.831 | 19346.57 |
| 0 | – | 1W + 5EM | 0.00243 | 1.153 | 9694.68 | 0.00247 | 0.830 | 19346.57 |
| 0 | – | 5W + 5EM | 0.00243 | 1.155 | 9694.24 | 0.00246 | 0.829 | 19346.72 |
| 0 | – | 10W + 10EM | 0.00243 | 1.155 | 9694.24 | 0.00246 | 0.829 | 19346.72 |
| 0.1 | 4 | 1W + 1EM | 0.00251 | 1.185 | 12451.15 | 0.00283 | 1.216 | 23240.19 |
| 0.1 | 4 | 5W + 1EM | 0.00252 | 1.186 | 12446.70 | 0.00283 | 1.211 | 23240.16 |
| 0.1 | 4 | 1W + 5EM | 0.00251 | 1.189 | 12450.67 | 0.00284 | 1.213 | 23240.50 |
| 0.1 | 4 | 5W + 5EM | 0.00251 | 1.187 | 12446.52 | 0.00283 | 1.215 | 23240.09 |
| 0.1 | 4 | 10W + 10EM | 0.00251 | 1.187 | 12446.51 | 0.00283 | 1.215 | 23240.09 |
| 0.1 | 10 | 1W + 1EM | 0.00248 | 1.256 | 13289.50 | 0.00267 | 1.214 | 23693.20 |
| 0.1 | 10 | 5W + 1EM | 0.00248 | 1.257 | 13288.34 | 0.00266 | 1.215 | 23693.08 |
| 0.1 | 10 | 1W + 5EM | 0.00248 | 1.259 | 13289.29 | 0.00267 | 1.214 | 23693.38 |
| 0.1 | 10 | 5W + 5EM | 0.00248 | 1.255 | 13288.59 | 0.00267 | 1.220 | 23692.84 |
| 0.1 | 10 | 10W + 10EM | 0.00248 | 1.255 | 13288.59 | 0.00267 | 1.219 | 23692.84 |
| 0.2 | 4 | 1W + 1EM | 0.00270 | 2.086 | 15592.22 | 0.00386 | 3.346 | 25257.25 |
| 0.2 | 4 | 5W + 1EM | 0.00270 | 2.102 | 15590.99 | 0.00385 | 3.375 | 25258.53 |
| 0.2 | 4 | 1W + 5EM | 0.00271 | 2.081 | 15592.68 | 0.00383 | 3.338 | 25258.51 |
| 0.2 | 4 | 5W + 5EM | 0.00271 | 2.092 | 15590.41 | 0.00386 | 3.354 | 25257.58 |
| 0.2 | 4 | 10W + 10EM | 0.00270 | 2.091 | 15590.34 | 0.00386 | 3.345 | 25257.52 |
| 0.2 | 10 | 1W + 1EM | 0.00260 | 1.593 | 16725.02 | 0.00321 | 1.952 | 27383.61 |
| 0.2 | 10 | 5W + 1EM | 0.00259 | 1.588 | 16722.75 | 0.00321 | 1.957 | 27383.51 |
| 0.2 | 10 | 1W + 5EM | 0.00259 | 1.589 | 16724.92 | 0.00321 | 1.953 | 27383.79 |
| 0.2 | 10 | 5W + 5EM | 0.00259 | 1.586 | 16723.12 | 0.00322 | 1.970 | 27383.19 |
| 0.2 | 10 | 10W + 10EM | 0.00259 | 1.586 | 16723.17 | 0.00322 | 1.969 | 27383.08 |
| A09 | ALYZ | |||||||
|---|---|---|---|---|---|---|---|---|
| method | MSE() | KLdiv() | objective | MSE() | KLdiv() | objective | ||
| 0 | – | 1W + 1EM | 0.00122 | 2.184 | 37556.92 | 0.00126 | 1.937 | 79272.01 |
| 0 | – | 5W + 1EM | 0.00122 | 2.188 | 37556.93 | 0.00126 | 1.931 | 79272.70 |
| 0 | – | 1W + 5EM | 0.00122 | 2.186 | 37556.64 | 0.00126 | 1.939 | 79271.40 |
| 0 | – | 5W + 5EM | 0.00122 | 2.188 | 37557.10 | 0.00126 | 1.931 | 79272.81 |
| 0 | – | 10W + 10EM | 0.00122 | 2.188 | 37557.10 | 0.00126 | 1.931 | 79272.81 |
| 0.1 | 4 | 1W + 1EM | 0.00126 | 2.279 | 49674.77 | 0.00153 | 2.808 | 92440.95 |
| 0.1 | 4 | 5W + 1EM | 0.00126 | 2.273 | 49659.15 | 0.00153 | 2.801 | 92441.82 |
| 0.1 | 4 | 1W + 5EM | 0.00126 | 2.281 | 49673.60 | 0.00153 | 2.816 | 92441.39 |
| 0.1 | 4 | 5W + 5EM | 0.00126 | 2.275 | 49658.97 | 0.00153 | 2.809 | 92439.42 |
| 0.1 | 4 | 10W + 10EM | 0.00126 | 2.275 | 49658.97 | 0.00153 | 2.804 | 92440.26 |
| 0.1 | 10 | 1W + 1EM | 0.00125 | 2.325 | 51862.73 | 0.00142 | 2.943 | 95432.80 |
| 0.1 | 10 | 5W + 1EM | 0.00126 | 2.321 | 51857.96 | 0.00142 | 2.922 | 95434.68 |
| 0.1 | 10 | 1W + 5EM | 0.00125 | 2.329 | 51862.62 | 0.00141 | 2.933 | 95433.13 |
| 0.1 | 10 | 5W + 5EM | 0.00125 | 2.320 | 51858.69 | 0.00142 | 2.934 | 95433.04 |
| 0.1 | 10 | 10W + 10EM | 0.00125 | 2.320 | 51858.69 | 0.00142 | 2.936 | 95433.03 |
| 0.2 | 4 | 1W + 1EM | 0.00129 | 4.083 | 65008.14 | 0.00201 | 9.206 | 99283.76 |
| 0.2 | 4 | 5W + 1EM | 0.00130 | 4.121 | 65001.05 | 0.00201 | 9.311 | 99286.22 |
| 0.2 | 4 | 1W + 5EM | 0.00129 | 4.087 | 65007.01 | 0.00201 | 9.261 | 99286.68 |
| 0.2 | 4 | 5W + 5EM | 0.00130 | 4.119 | 64999.17 | 0.00202 | 9.297 | 99285.07 |
| 0.2 | 4 | 10W + 10EM | 0.00130 | 4.120 | 64999.05 | 0.00202 | 9.297 | 99285.13 |
| 0.2 | 10 | 1W + 1EM | 0.00127 | 3.515 | 67014.48 | 0.00170 | 4.313 | 108819.48 |
| 0.2 | 10 | 5W + 1EM | 0.00127 | 3.523 | 67009.90 | 0.00169 | 4.330 | 108819.88 |
| 0.2 | 10 | 1W + 5EM | 0.00126 | 3.521 | 67016.49 | 0.00170 | 4.338 | 108819.34 |
| 0.2 | 10 | 5W + 5EM | 0.00127 | 3.517 | 67009.13 | 0.00169 | 4.333 | 108819.46 |
| 0.2 | 10 | 10W + 10EM | 0.00127 | 3.517 | 67009.25 | 0.00169 | 4.321 | 108819.65 |
A.6.4 Results for other variations on the method
Figures 5 and 6 in the paper show the Kullback-Leibler discrepancy of several covariance estimators in dimensions 10, 20, and 40. Referees requested two more estimators to be considered:
- •
the initial estimator DDCW, which is fast as seen from its entries in Table 1 in the paper;
- •
cellMCD without the penalty term, that is, setting all . We denote this as cellMCD_q0 .
Figure 10 below plots both versions, together with the curve for cellMCD shown in Figures 5 and 6 in the paper. We see that DDCW and cellMCD_q0 do not explode in the sense that the effect of contaminated cells remains bounded, which is what we want for our initial estimator DDCW. However, cellMCD_q0 has a large discrepancy, because always taking out 25% of the cells in each variable hurts efficiency. DDCW does reasonably well by itself under A09, but very poorly under ALYZ. Neither version can thus be considered a competitive alternative to cellMCD.
Additional References
- Aubry et al. (2021) Aubry, A., A. De Maio, S. Marano, and M. Rosamilia (2021). Structured covariance matrix estimation with missing (complex) data for radar applications via expectation-maximization. IEEE Transactions on Signal Processing 69, 5920–5934.
- Petersen and Pedersen (2012) Petersen, K. B. and M. S. Pedersen (2012). The Matrix Cookbook. Technical University of Denmark.
- Sun et al. (2020) Sun, Q., Zhou, W and Fan, J. (2020). Adaptive Huber regression. Journal of the American Statistical Association 115, 254–265.