arXiv is now an independent nonprofit! Learn more
License: CC BY 4.0
arXiv:2207.13493v2 [stat.ME] 15 Nov 2023

The Cellwise Minimum Covariance Determinant EstimatorThanks: To appear, Journal of the American Statistical Association.Thanks: Corresponding author, peter@rousseeuw.net .

Jakob Raymaekers Affiliation: Department of Quantitative Economics, Maastricht University, The Netherlands Affiliation: and Affiliation: Peter J. Rousseeuw Affiliation: Section of Statistics and Data Science, University of Leuven, Belgium
November 15, 2023
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 hh that is at least half the sample size nn. We then look for the subset containing hh 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 n−hn-h 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.

Figure 1: The casewise (left) and cellwise (right) outlier paradigms. (Black means outlying.)

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 QnQ_{n} 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 dd-variate Gaussian distribution is

f(𝒙,𝝁,𝚺)=1(2​π)d/2​|𝚺|1/2e−MD2(𝐱,𝝁,𝚺)/2f(\bm{x},\bm{\mu},\bm{\Sigma})=\frac{1}{(2\pi)^{d/2}|\bm{\Sigma}|^{1/2}}e^{\displaystyle-\MD^{2}(\bm{x},\bm{\mu},\bm{\Sigma})/2} (1)

where 𝝁\bm{\mu} is a column vector, 𝚺\bm{\Sigma} is a positive definite matrix, and the Mahalanobis distance is MD⁡(𝐱,𝝁,𝚺)=(𝐱−𝝁)⊤​𝚺−1​(𝐱−𝝁)\MD(\bm{x},\bm{\mu},\bm{\Sigma})=\sqrt{(\bm{x}-\bm{\mu})^{\top}\bm{\Sigma}^{-1}(\bm{x}-\bm{\mu})}. For a sample 𝒙1,…,𝒙n\bm{x}_{1},\ldots,\bm{x}_{n} we put L⁡(𝒙i,𝝁,𝚺):=−2​ln⁡(f⁡(𝒙i,𝝁,𝚺))L(\bm{x}_{i},\bm{\mu},\bm{\Sigma}):=-2\ln(f(\bm{x}_{i},\bm{\mu},\bm{\Sigma})) so the maximum likelihood estimator (MLE) of (𝝁,𝚺)(\bm{\mu},\bm{\Sigma}) minimizes

∑i=1nL⁡(𝒙i,𝝁,𝚺)=∑i=1n(ln⁡|𝚺|+d​ln⁡(2​π)+MD2⁡(𝐱i,𝝁,𝚺)).\sum_{i=1}^{n}L(\bm{x}_{i},\bm{\mu},\bm{\Sigma})=\sum_{i=1}^{n}\big(\ln|\bm{\Sigma}|+d\ln(2\pi)+\MD^{2}(\bm{x}_{i},\bm{\mu},\bm{\Sigma})\,\big)\;. (2)

Let us now look for a subset H⊂{1,…,n}H\subset\{1,...,n\} with hh elements which minimizes (2) where the sum is only over ii in HH. We can also write this with weights wiw_{i} that are 0 or 1 in the objective ∑i=1nwi​L​(𝒙i,𝝁,𝚺)\sum_{i=1}^{n}w_{i}L(\bm{x}_{i},\bm{\mu},\bm{\Sigma}), so we minimize

∑i=1nwi​(ln⁡|𝚺|+d​ln⁡(2​π)+MD2⁡(𝐱i,𝝁,𝚺))\displaystyle\sum_{i=1}^{n}w_{i}\big(\ln|\bm{\Sigma}|+d\ln(2\pi)+\MD^{2}(\bm{x}_{i},\bm{\mu},\bm{\Sigma})\,\big) (3)
under the constraint that ​∑i=1nwi=h.\displaystyle\mbox{under the constraint that }\sum_{i=1}^{n}{w_{i}}=h\;.

For the minimizing set of weights wiw_{i} we know from maximum likelihood that 𝝁^\bm{\widehat{\mu}} is the mean of the 𝒙i\bm{x}_{i} in HH, so it is the weighted mean of all 𝒙i\bm{x}_{i} , and similarly

𝚺^=1h​∑i=1nwi​(𝒙i−𝝁^)​(𝒙i−𝝁^)⊤.\bm{\widehat{\Sigma}}=\frac{1}{h}\sum_{i=1}^{n}w_{i}(\bm{x}_{i}-\bm{\widehat{\mu}})(\bm{x}_{i}-\bm{\widehat{\mu}})^{\top}\;. (4)

But then the third term of (3) becomes

∑i=1nwi​(𝒙i−𝝁^)⊤​𝚺^−1​(𝒙i−𝝁^)=∑i=1ntrace(wi​(𝒙i−𝝁^)​(𝒙i−𝝁^)⊤​𝚺^−1)=\sum_{i=1}^{n}{w_{i}(\bm{x}_{i}-\bm{\widehat{\mu}})^{\top}\bm{\widehat{\Sigma}}^{-1}(\bm{x}_{i}-\bm{\widehat{\mu}})}=\sum_{i=1}^{n}{\tr\Big(w_{i}(\bm{x}_{i}-\bm{\widehat{\mu}})(\bm{x}_{i}-\bm{\widehat{\mu}})^{\top}\bm{\widehat{\Sigma}}^{-1}\Big)}=
trace(∑i=1nwi​(𝒙i−𝝁^)​(𝒙i−𝝁^)⊤​𝚺^−1)=trace(h​𝚺^​𝚺^−1)=h​d\tr\Big(\sum_{i=1}^{n}w_{i}(\bm{x}_{i}-\bm{\widehat{\mu}})(\bm{x}_{i}-\bm{\widehat{\mu}})^{\top}\bm{\widehat{\Sigma}}^{-1}\Big)=\tr\big(h\bm{\widehat{\Sigma}}\bm{\widehat{\Sigma}}^{-1}\big)=hd

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 n×dn\times d data matrix 𝑿\bm{X} by the n×dn\times d matrix 𝑾\bm{W} with entries wi​jw_{ij} that are 0 for missing xi​jx_{ij} and 1 otherwise. Its rows 𝒘i\bm{w}_{i} take the place of the scalar weights wiw_{i} in (3). For the Gaussian model the observed likelihood of the iith observation (Little and Rubin, 2020) is given by:

f(𝒙i(𝒘i),𝝁(𝒘i),𝚺(𝒘i)):=1(2​π)d(𝒘i)/2​|𝚺(𝒘i)|1/2e−MD2(𝐱i,𝐰i,𝝁,𝚺)/2\displaystyle f(\bm{x}_{i}^{(\bm{w}_{i})},\bm{\mu}^{(\bm{w}_{i})},\bm{\Sigma}^{(\bm{w}_{i})}):=\frac{1}{(2\pi)^{d^{(\bm{w}_{i})}/2}|\bm{\Sigma}^{(\bm{w}_{i})}|^{1/2}}e^{\displaystyle-\MD^{2}(\bm{x}_{i},\bm{w}_{i},\bm{\mu},\bm{\Sigma})/2} (5)

in which

MD⁡(𝐱i,𝐰i,𝝁,𝚺):=(𝐱i(𝐰i)−𝝁(𝐰i))⊤​(𝚺(𝐰i))−1​(𝐱i(𝐰i)−𝝁(𝐰i))\MD(\bm{x}_{i},\bm{w}_{i},\bm{\mu},\bm{\Sigma}):=\sqrt{(\bm{x}_{i}^{(\bm{w}_{i})}-\bm{\mu}^{(\bm{w}_{i})})^{\top}(\bm{\Sigma}^{(\bm{w}_{i})})^{-1}(\bm{x}_{i}^{(\bm{w}_{i})}-\bm{\mu}^{(\bm{w}_{i})})} (6)

is called the partial Mahalanobis distance by Danilov et al. (2012). Here 𝒙i(𝒘i)\bm{x}_{i}^{(\bm{w}_{i})} is the vector with only the entries for which wi​j=1w_{ij}=1, and similarly for 𝝁(𝒘i)\bm{\mu}^{(\bm{w}_{i})}. The matrix 𝚺(𝒘i)\bm{\Sigma}^{(\bm{w}_{i})} is the submatrix of 𝚺\bm{\Sigma} containing only the rows and columns of the variables jj with wi​j=1w_{ij}=1. Finally, d(𝒘i)d^{(\bm{w}_{i})} is the dimension of 𝒙i(𝒘i)\bm{x}_{i}^{(\bm{w}_{i})}, i.e. the number of non-missing entries of 𝒙i\bm{x}_{i} . By convention, a case 𝒙i\bm{x}_{i} consisting exclusively of NA’s has d(𝒘i)=0d^{(\bm{w}_{i})}=0, MD⁡(𝐱i,𝐰i,𝝁,𝚺)=0\MD(\bm{x}_{i},\bm{w}_{i},\bm{\mu},\bm{\Sigma})=0 and |𝚺(𝒘i)|=1|\bm{\Sigma}^{(\bm{w}_{i})}|=1. Putting L⁡(𝒙i,𝒘i,𝝁,𝚺):=−2​ln⁡(f⁡(𝒙i,𝒘i,𝝁,𝚺))L(\bm{x}_{i},\bm{w}_{i},\bm{\mu},\bm{\Sigma}):=-2\ln(f(\bm{x}_{i},\bm{w}_{i},\bm{\mu},\bm{\Sigma})) we see that maximizing the observed likelihood of the entire data set comes down to minimizing

∑i=1nL⁡(𝒙i,𝒘i,𝝁,𝚺)=∑i=1n(ln⁡|𝚺(𝒘i)|+d(𝒘i)​ln⁡(2​π)+MD2⁡(𝐱i,𝐰i,𝝁,𝚺)).\sum_{i=1}^{n}L(\bm{x}_{i},\bm{w}_{i},\bm{\mu},\bm{\Sigma})=\sum_{i=1}^{n}\big(\ln|\bm{\Sigma}^{(\bm{w}_{i})}|+d^{(\bm{w}_{i})}\ln(2\pi)+\MD^{2}(\bm{x}_{i},\bm{w}_{i},\bm{\mu},\bm{\Sigma})\,\big)\;\;. (7)

This maximum likelihood estimate of (𝝁,𝚺)(\bm{\mu},\bm{\Sigma}) is typically computed by the EM algorithm (Dempster et al., 1977).

When constructing a cellwise MCD, the matrix 𝑾\bm{W} now describes which cells are flagged: a flagged cell xi​jx_{ij} gets wi​j=0w_{ij}=0. The notations 𝒙i(𝒘i)\bm{x}_{i}^{(\bm{w}_{i})}, d(𝒘i)d^{(\bm{w}_{i})}, 𝝁(𝒘i)\bm{\mu}^{(\bm{w}_{i})}, and 𝚺(𝒘i)\bm{\Sigma}^{(\bm{w}_{i})} are interpreted analogously. The matrix 𝑾\bm{W} is not given in advance, but will be obtained through the estimation procedure. Now hh 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

∑i=1n(ln⁡|𝚺(𝒘i)|+d(𝒘i)​ln⁡(2​π)+MD2⁡(𝐱i,𝐰i,𝝁,𝚺))\displaystyle\sum_{i=1}^{n}\Big(\ln|\bm{\Sigma}^{(\bm{w}_{i})}|+d^{(\bm{w}_{i})}\ln(2\pi)+\MD^{2}(\bm{x}_{i},\bm{w}_{i},\bm{\mu},\bm{\Sigma})\,\Big) (8)
under the constraints λd(𝚺)⩾a and ||𝑾.j||0⩾h for all j=1,…,d\displaystyle\mbox{ under the constraints }\lambda_{d}(\bm{\Sigma})\geqslant a\mbox{ and }||\bm{W}_{.j}||_{0}\geqslant h\mbox{ for all }j=1,\ldots,d

over (𝝁,𝚺,𝑾)(\bm{\mu},\bm{\Sigma},\bm{W}). The first constraint says that the smallest eigenvalue of 𝚺\bm{\Sigma} is at least as large as a number a>0a>0, where the eigenvalues of 𝚺\bm{\Sigma} are denoted as λ1​(𝚺)⩾…⩾λd​(𝚺)\lambda_{1}(\bm{\Sigma})\geqslant\ldots\geqslant\lambda_{d}(\bm{\Sigma}). This ensures that 𝚺\bm{\Sigma} is nonsingular, which is required to compute Mahalanobis distances. In the second constraint, ||𝑾.j||0||\bm{W}_{.j}||_{0} is the number of nonzero entries in the jj-th column of 𝑾\bm{W}. Note that we should not choose hh too low. Whereas for the casewise MCD we can take hh as low as 0.5​n0.5n, that would be ill-advised here because it could happen that two variables jj and kk do not overlap in the sense that wi​j​wi​k=0w_{ij}w_{ik}=0 for all ii, making it impossible to estimate their covariance. We will impose that h⩾0.75​nh\geqslant 0.75n throughout.

However, minimizing (8) typically treats too many cells as outlying. This is because a value of hh 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

∑i=1n(ln|𝚺(𝒘i)|+d(𝒘i)ln(2π)+MD2(𝐱i,𝐰i,𝝁,𝚺))+∑j=1dqj||𝟏d−𝑾.j||0\displaystyle\sum_{i=1}^{n}{\Big(\ln|\bm{\Sigma}^{(\bm{w}_{i})}|+d^{(\bm{w}_{i})}\ln(2\pi)+\MD^{2}(\bm{x}_{i},\bm{w}_{i},\bm{\mu},\bm{\Sigma})\,\Big)}+\sum_{j=1}^{d}q_{j}||\bm{1}_{d}-\bm{W}_{.j}||_{0} (9)
under the constraints λd(𝚺)⩾a and ||𝑾.j||0⩾h for all j=1,…,d.\displaystyle\mbox{ under the constraints }\lambda_{d}(\bm{\Sigma})\geqslant a\mbox{ and }||\bm{W}_{.j}||_{0}\geqslant h\mbox{ for all }j=1,\ldots,d\,.

The notation ||𝟏d−𝑾.j||0||\bm{1}_{d}-\bm{W}_{.j}||_{0} stands for the number of nonzero elements in this vector, so the number of zero weights in column jj of 𝑾\bm{W}, i.e. the number of flagged cells in column jj of 𝑿\bm{X}. The constants qjq_{j} for j=1,…,dj=1,\ldots,d 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 ||𝑾.j||0⩾h||\bm{W}_{.j}||_{0}\geqslant h. Combining a penalty term with a ||.||0||.||_{0} constraint is not new, see the work of She et al. (2022) on casewise robust regression. In our context, the constraint ||𝑾.j||0⩾h||\bm{W}_{.j}||_{0}\geqslant h will ensure the robustness of the estimator (through Proposition 2 below), whereas the penalty term ∑jqj||𝟏d−𝑾.j||0\sum_{j}q_{j}||\bm{1}_{d}-\bm{W}_{.j}||_{0} 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 (𝑾)(\bm{W}) in one objective function. The constraint ||𝑾.j||0⩾h||\bm{W}_{.j}||_{0}\geqslant h for j=1,…,dj=1,\ldots,d says that we require at least hh unflagged cells in each column. In order to avoid a singular covariance matrix, we obviously need h>dh>d. Combining these inequalities we obtain n>4​d/3n>4d/3 . 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 n/d⩾5n/d\geqslant 5 (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 d=4d=4 with the suspicious point (10,0,0,0)(10,0,0,0). By an orthogonal transformation of the data, this point can be moved to (50,50,0,0)(\sqrt{50},\sqrt{50},0,0) or to (5,5,5,5)(5,5,5,5). The casewise MCD is equivariant to such transformations and will still flag the same case. But in the cellwise paradigm (10,0,0,0)(10,0,0,0) has one outlying cell, (50,50,0,0)(\sqrt{50},\sqrt{50},0,0) has two, and (5,5,5,5)(5,5,5,5) 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 𝝁^\bm{\widehat{\mu}} at a dataset 𝑿\bm{X} is given by the smallest fraction of cells per column that need to be replaced to carry the estimate outside all bounds. Formally, let 𝑿\bm{X} be a dataset of size nn, and denote by 𝑿m\bm{X}^{m} any corrupted sample obtained by replacing at most mm cells in each column of 𝑿\bm{X} by arbitrary values. Then the finite-sample cellwise breakdown value of a location estimator 𝝁^\bm{\widehat{\mu}} at 𝑿\bm{X} is given by

εn∗​(𝝁^,𝑿)=min⁡{mn:sup𝑿m||𝝁^​(𝑿m)−𝝁^​(𝑿)||=∞}.\varepsilon^{*}_{n}(\bm{\widehat{\mu}},\bm{X})=\min\left\{\frac{m}{n}:\;\sup_{\bm{X}^{m}}{\left|\left|\bm{\widehat{\mu}}(\bm{X}^{m})-\bm{\widehat{\mu}}(\bm{X})\right|\right|}=\infty\right\}. (10)

Analogously to the casewise setting, we can also define the cellwise explosion breakdown value of a covariance estimator 𝚺^\bm{\widehat{\Sigma}} as

εn+​(𝚺^,𝑿)=min⁡{mn:sup𝑿mλ1​(𝚺^)=∞}.\varepsilon^{+}_{n}(\bm{\widehat{\Sigma}},\bm{X})=\min\left\{\frac{m}{n}:\;\sup_{\bm{X}^{m}}\lambda_{1}(\bm{\widehat{\Sigma}})=\infty\right\}. (11)

Moreover, we define the cellwise implosion breakdown value of 𝚺^\bm{\widehat{\Sigma}} as

εn−​(𝚺^,𝑿)=min⁡{mn:inf𝑿mλd​(𝚺^)=0}.\varepsilon^{-}_{n}(\bm{\widehat{\Sigma}},\bm{X})=\min\left\{\frac{m}{n}:\;\inf_{\bm{X}^{m}}\lambda_{d}(\bm{\widehat{\Sigma}})=0\right\}. (12)

The definitions of the corresponding casewise breakdown values are very similar, the only difference being that the corrupted samples, let us call them 𝑿~m\bm{\widetilde{X}}^{m}, are obtained by replacing at most mm rows of 𝑿\bm{X} by arbitrary rows. If we denote the casewise breakdown values by δn∗\delta^{*}_{n}, δn+\delta^{+}_{n} and δn−\delta^{-}_{n} we can formulate the following simple but useful result:

Proposition 1.

For all estimators 𝛍^\bm{\widehat{\mu}} and 𝚺^\bm{\widehat{\Sigma}} at any dataset 𝐗\bm{X} it holds thatεn∗​(𝛍^,𝐗)⩽δn∗​(𝛍^,𝐗)\varepsilon^{*}_{n}(\bm{\widehat{\mu}},\bm{X})\leqslant\delta^{*}_{n}(\bm{\widehat{\mu}},\bm{X}), εn+​(𝚺^,𝐗)⩽δn+​(𝚺^,𝐗)\varepsilon^{+}_{n}(\bm{\widehat{\Sigma}},\bm{X})\leqslant\delta^{+}_{n}(\bm{\widehat{\Sigma}},\bm{X}), and εn−​(𝚺^,𝐗)⩽δn−​(𝚺^,𝐗)\varepsilon^{-}_{n}(\bm{\widehat{\Sigma}},\bm{X})\leqslant\delta^{-}_{n}(\bm{\widehat{\Sigma}},\bm{X}).

The proof consists of realizing that the casewise contaminated samples 𝑿~m\bm{\widetilde{X}}^{m} can be seen as cellwise contaminated samples 𝑿m\bm{X}^{m}. 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 𝑿\bm{X} is in general position, meaning that no more than dd points lie in any d−1d-1 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 (n−d)/n(n-d)/n which goes to 1 for increasing sample size nn. This is because whenever d+1d+1 of the original data points are kept, Cov remains nonsingular. In stark contrast, its cellwise implosion breakdown value is quite low:

εn−​(Cov,𝑿)=⌈n−dd⌉/n⩽1d.\varepsilon^{-}_{n}(\mbox{\bf Cov},\bm{X})=\left\lceil\frac{n-d}{d}\right\rceil/n\,\leqslant\,\frac{1}{d}\;. (13)

To see why, let us pick dd points of 𝑿\bm{X} which lie on a hyperplane that is not parallel to any coordinate axis. In the remaining n−dn-d 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 ⌈(n−d)/d⌉\lceil(n-d)/d\rceil cells in each variable, which is a fraction ⌈(n−d)/d⌉/n\lceil(n-d)/d\rceil/n of its nn cells.

Raymaekers and Rousseeuw (2023) recently derived a similar upper bound for all affine equivariant estimators 𝚺^\bm{\widehat{\Sigma}}. In order to obtain a higher cellwise breakdown value we are thus forced to leave the realm of affine equivariance. In fact, the constraint λd​(𝚺^)⩾a>0\lambda_{d}(\bm{\widehat{\Sigma}})\geqslant a>0 in the definition (9) of cellMCD is not affine invariant, but it keeps 𝚺^\bm{\widehat{\Sigma}} from imploding. Therefore the cellwise implosion breakdown value of cellMCD is 1.

We also want to know the breakdown value of its location estimate 𝝁^\bm{\widehat{\mu}} and the explosion breakdown value of 𝚺^\bm{\widehat{\Sigma}}. These naturally depend on the choice of hh.

Proposition 2.

If the dataset 𝐗\bm{X} is in general position and h⩾⌊n2⌋+1h\geqslant\lfloor\frac{n}{2}\rfloor+1, the cellMCD estimators 𝛍^\bm{\widehat{\mu}} and 𝚺^\bm{\widehat{\Sigma}} satisfy the properties

  • (a)

    εn−​(𝚺^,𝑿)=1\varepsilon^{-}_{n}(\bm{\widehat{\Sigma}},\bm{X})=1

  • (b)

    εn+​(𝚺^,𝑿)⩾(n−h+1)/n\varepsilon^{+}_{n}(\bm{\widehat{\Sigma}},\bm{X})\geqslant(n-h+1)/n

  • (c)

    εn∗​(𝝁^,𝑿)⩾(n−h+1)/n\varepsilon^{*}_{n}(\bm{\widehat{\mu}},\bm{X})\geqslant(n-h+1)/n

  • (d)

    The lower bound (n−h+1)/n(n-h+1)/n 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 hh 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 h⩾0.75​nh\geqslant 0.75n, and in fact h=0.75​nh=0.75n is the default in our implementation.

Let us now turn to the asymptotic behavior of cellMCD. At the uncontaminated model distribution and for large nn only a small fraction of cells is actually discarded, due to our choice of the constants qjq_{j} in the penalty term. In that situation the large-sample behavior of cellMCD is therefore the same as without the columnwise constraint on 𝑾\bm{W}. The cellMCD objective can then be written as

G⁡(μ,Σ,F)≔∫gμ,Σ​(x)​F​(𝑑x)G(\mu,\Sigma,F)\coloneqq\int g_{\mu,\Sigma}(x)F(\mathrm{d}x) (14)

where

gμ,Σ​(x)≔minw∈{0,1}d⁡{ln⁡|Σ(w)|+d(𝒘)​ln⁡(2​π)+MD2​(x,w,μ,Σ)+𝒒​(𝟏−w)⊤}g_{\mu,\Sigma}(x)\coloneqq\min_{w\in\{0,1\}^{d}}{\left\{\ln\left|\Sigma^{(w)}\right|+d^{(\bm{w})}\ln(2\pi)+\text{MD}^{2}(x,w,\mu,\Sigma)+\bm{q}\,(\bm{1}-w)^{\top}\right\}} (15)

in which 𝒒=(q1,…,qd)\bm{q}=(q_{1},\ldots,q_{d}) and w=(w1,…,wd)w=(w_{1},\ldots,w_{d}). The cellMCD estimate is then

argmin(μ,Σ)∈Θ⁡G​(μ,Σ,Fn)\argmin_{\left(\mu,\Sigma\right)\in\Theta}G(\mu,\Sigma,F_{n})

with FnF_{n} the empirical distribution and Θ\Theta the parameter space of (μ,Σ)(\mu,\Sigma), which incorporates the condition λd​(Σ)⩾a\lambda_{d}(\Sigma)\geqslant a. Denote the set of minimizers as Θ∗\Theta^{*}. 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 (μ^n,Σ^n)(\hat{\mu}_{n},\hat{\Sigma}_{n}) be a sequence of estimators which nearly minimize G⁡(⋅,⋅,Fn)G(\cdot,\cdot,F_{n}) in the sense that G⁡(μ^n,Σ^n,Fn)⩽G⁡(μ∗,Σ∗,Fn)+oP​(1)G(\hat{\mu}_{n},\hat{\Sigma}_{n},F_{n})\leqslant G(\mu^{*},\Sigma^{*},F_{n})+o_{P}(1) for some (μ∗,Σ∗)∈Θ∗(\mu^{*},\Sigma^{*})\in\Theta^{*}. Then it holds for all ε>0\varepsilon>0 that

P⁡(D⁡((μ^n,Σ^n),Θ∗)⩾ε)→0,P(\,D((\hat{\mu}_{n},\hat{\Sigma}_{n}),\Theta^{*})\geqslant\varepsilon\,)\rightarrow 0\,,

where D⁡((μ^n,Σ^n),(μ∗,Σ∗)):=max⁡(‖μ^n−μ∗‖2,‖Σ^n−Σ^∗‖F)D((\hat{\mu}_{n},\hat{\Sigma}_{n}),(\mu^{*},\Sigma^{*})):=\max(||\hat{\mu}_{n}-\mu^{*}||_{2},||\hat{\Sigma}_{n}-\widehat{\Sigma}^{*}||_{F}) combines the Euclidean and Frobenius norms.

The population minimizer for Σ\Sigma 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 μ\mu 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 FF be a strictly unimodal elliptical distribution with center μ\mu and a density function. For any Σ\Sigma, we then have the unique argminm∈ℝd⁡G​(m,Σ,F)=μ.\argmin_{m\in\mathbb{R}^{d}}\,G(m,\Sigma,F)=\mu\;.

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 dd-variate case 𝐱\bm{x} into two nonempty blocks, and split 𝛍\bm{\mu} and the d×dd\times d positive definite matrix 𝚺\bm{\Sigma} accordingly, like

𝒙=[𝒙1𝒙2]𝝁=[𝝁1𝝁2]𝚺=[𝚺11𝚺12𝚺21𝚺22].\begin{array}[]{lll}\bm{x}=\begin{bmatrix}\bm{x}_{1}\\ \bm{x}_{2}\end{bmatrix}&\bm{\mu}=\begin{bmatrix}\bm{\mu}_{1}\\ \bm{\mu}_{2}\end{bmatrix}&\bm{\Sigma}=\begin{bmatrix}\bm{\Sigma}_{11}&\bm{\Sigma}_{12}\\ \bm{\Sigma}_{21}&\bm{\Sigma}_{22}\end{bmatrix}\;.\end{array}

Then MD2⁡(𝐱,𝛍,𝚺)=(𝐱−𝛍)⊤​𝚺−1​(𝐱−𝛍)\MD^{2}(\bm{x},\bm{\mu},\bm{\Sigma})=(\bm{x}-\bm{\mu})^{\top}\bm{\Sigma}^{-1}(\bm{x}-\bm{\mu}) and L⁡(𝐱,𝛍,𝚺)=−2​ln⁡(f⁡(𝐱,𝛍,𝚺))L(\bm{x},\bm{\mu},\bm{\Sigma})=-2\ln(f(\bm{x},\bm{\mu},\bm{\Sigma})) satisfy

MD2⁡(𝐱,𝝁,𝚺)=MD2⁡(𝐱1,𝐱^1,𝐂1)+MD2⁡(𝐱2,𝝁2,𝚺22)\MD^{2}(\bm{x},\bm{\mu},\bm{\Sigma})=\MD^{2}(\bm{x}_{1},\bm{\widehat{x}}_{1},\bm{C}_{1})+\MD^{2}(\bm{x}_{2},\bm{\mu}_{2},\bm{\Sigma}_{22}) (16)
L⁡(𝒙,𝝁,𝚺)=L⁡(𝒙1,𝒙^1,𝑪1)+L⁡(𝒙2,𝝁2,𝚺22)L(\bm{x},\bm{\mu},\bm{\Sigma})=L(\bm{x}_{1},\bm{\widehat{x}}_{1},\bm{C}_{1})+L(\bm{x}_{2},\bm{\mu}_{2},\bm{\Sigma}_{22}) (17)

for  𝐱^1=𝛍1+𝚺12​𝚺22−1​(𝐱2−𝛍2)\bm{\widehat{x}}_{1}=\bm{\mu}_{1}+\bm{\Sigma}_{12}\bm{\Sigma}_{22}^{-1}(\bm{x}_{2}-\bm{\mu}_{2})  and  𝐂1=𝚺11−𝚺12​𝚺22−1​𝚺21\bm{C}_{1}=\bm{\Sigma}_{11}-\bm{\Sigma}_{12}\bm{\Sigma}_{22}^{-1}\bm{\Sigma}_{21} .

The proof can be found in section A.3 in the Supplementary Material. The proposition can be interpreted as follows. Take a case 𝒙i\bm{x}_{i} with some but not all cells missing, and for simplicity assume that its missing components come first. Then put 𝒙1=𝒙i(𝟏−𝒘i)\bm{x}_{1}=\bm{x}_{i}^{(\bm{1}-\bm{w}_{i})} and 𝒙2\bm{x}_{2} the remainder. If (𝝁,𝚺)(\bm{\mu},\bm{\Sigma}) are the true underlying parameters, 𝒙^1\bm{\widehat{x}}_{1} is the conditional expectation E⁡[𝑿1|𝑿2=𝒙2]E[\bm{X}_{1}|\bm{X}_{2}=\bm{x}_{2}] and 𝑪1\bm{C}_{1} is the conditional covariance matrix Cov​[𝑿1|𝑿2=𝒙2]\mbox{Cov}[\bm{X}_{1}|\bm{X}_{2}=\bm{x}_{2}]. 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’ MD2\MD^{2} is again an MD2\MD^{2} and hence non-negative implies that the MD2\MD^{2} is monotone for nested sets of variables. In particular, if 𝒙\bm{x} is observed fully we can write

MD2⁡(𝐱,𝝁,𝚺)=r2​(x1|x2,…,xd)s2​(X1|x2,…,xd)+r2​(x2|x3,…,xd)s2​(X2|x3,…,xd)+⋯+r2​(xd−1|xd)s2​(Xd−1|xd)+(xd−μd)2Σd​d\begin{array}[]{lll}&\MD^{2}(\bm{x},\bm{\mu},\bm{\Sigma})\\ &=\displaystyle\frac{r^{2}(x_{1}|x_{2},\ldots,x_{d})}{s^{2}(X_{1}|x_{2},\ldots,x_{d})}+\frac{r^{2}(x_{2}|x_{3},\ldots,x_{d})}{s^{2}(X_{2}|x_{3},\ldots,x_{d})}+\cdots\displaystyle+\frac{r^{2}(x_{d-1}|x_{d})}{s^{2}(X_{d-1}|x_{d})}+\frac{(x_{d}-\mu_{d})^{2}}{\Sigma_{dd}}\end{array} (18)

where each time s2s^{2} is the matrix 𝑪1\bm{C}_{1} (which is a scalar here) and the residuals arer⁡(x1|x2,…,xd)=x1−x^1​(x2,…,xd)r(x_{1}|x_{2},\ldots,x_{d})=x_{1}-\widehat{x}_{1}(x_{2},\ldots,x_{d}) and so on. Note that (18) holds for any order of the dd variables. However, in each order the relative contribution of variable jj to the total MD2⁡(𝐱,𝝁,𝚺)\MD^{2}(\bm{x},\bm{\mu},\bm{\Sigma}) may be different. For the likelihood we obtain similarly

L⁡(𝒙,𝝁,𝚺)=L⁡(x1,μ1,C1|2,…,d)+L⁡(x2,μ2,C2|3,…,d)+⋯+L⁡(xd−1,μd−1,Cd−1|d)+L⁡(xd,μd,Σd​d)\begin{array}[]{lll}L(\bm{x},\bm{\mu},\bm{\Sigma})&=&L(x_{1},\mu_{1},C_{1|2,\ldots,d})+L(x_{2},\mu_{2},C_{2|3,\ldots,d})+\cdots\\ &&+\,L(x_{d-1},\mu_{d-1},C_{d-1|d})+L(x_{d},\mu_{d},\Sigma_{dd})\end{array} (19)

in which the terms do not need to be positive.

If we set qj=0q_{j}=0 in the objective function (9) of cellMCD and use casewise weights, i.e. casewise constant wi​jw_{ij} , we recover the objective function (3) of the original casewise MCD. The latter is not convex in 𝝁\bm{\mu} and 𝚺\bm{\Sigma}, 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 𝝁^(k)\bm{\widehat{\mu}}^{(k)}, 𝚺^(k)\bm{\widehat{\Sigma}}^{(k)}, and 𝑾(k)\bm{W}^{(k)}. Then the new C-step proceeds as follows.

Part (a) of the C-step. In this part we update the matrix 𝑾\bm{W} in (9) while keeping 𝝁^(k)\bm{\widehat{\mu}}^{(k)} and 𝚺^(k)\bm{\widehat{\Sigma}}^{(k)} unchanged. We start the new pattern 𝑾~\bm{\widetilde{W}} as 𝑾~=𝑾(k)\bm{\widetilde{W}}=\bm{W}^{(k)}, and then we modify 𝑾~\bm{\widetilde{W}} column by column, by cycling over the variables j=1,…,dj=1,\ldots,d. The fact that this job can be done by column is advantageous for maintaining the constraint. Assume we are working on column jj of 𝑾~\bm{\widetilde{W}}, possibly after having modified other columns of 𝑾~\bm{\widetilde{W}} already. The current pattern of variable jj is 𝑾~⋅j\bm{\widetilde{W}}_{\cdot j} and we want to obtain a new pattern for column jj to reduce the objective while leaving the other columns of 𝑾~\bm{\widetilde{W}} unchanged. Note that we can write the objective (9) as ∑i=1nL~​(𝒙i,𝒘i,𝝁,𝚺,𝒒)\sum_{i=1}^{n}{\widetilde{L}(\bm{x}_{i},\bm{w}_{i},\bm{\mu},\bm{\Sigma},\bm{q})} where

L~​(𝒙i,𝒘i,𝝁,𝚺,𝒒)=ln⁡|𝚺(𝒘i)|+d(𝒘i)​ln⁡(2​π)+MD2⁡(𝐱i,𝐰i,𝝁,𝚺)+∑j=1dqj​|1−wij|\widetilde{L}(\bm{x}_{i},\bm{w}_{i},\bm{\mu},\bm{\Sigma},\bm{q})=\ln|\bm{\Sigma}^{(\bm{w}_{i})}|+d^{(\bm{w}_{i})}\ln(2\pi)+\MD^{2}(\bm{x}_{i},\bm{w}_{i},\bm{\mu},\bm{\Sigma})\,+\sum_{j=1}^{d}q_{j}|1-w_{ij}|

with 𝒒=(q1,…,qd)\bm{q}=(q_{1},\ldots,q_{d}). For each i=1,…,ni=1,\ldots,n we compute the difference in the total objective (9) between putting w~i​j=1\widetilde{w}_{ij}=1 and putting w~i​j=0\widetilde{w}_{ij}=0, which is

Δi​j\displaystyle\Delta_{ij} =L~​(𝒙i,w~i​j=1,𝝁^(k),𝚺^(k),𝒒)−L~​(𝒙i,w~i​j=0,𝝁^(k),𝚺^(k),𝒒)\displaystyle=\widetilde{L}(\bm{x}_{i},\widetilde{w}_{ij}=1,\bm{\widehat{\mu}}^{(k)},\bm{\widehat{\Sigma}}^{(k)},\bm{q})-\widetilde{L}(\bm{x}_{i},\widetilde{w}_{ij}=0,\bm{\widehat{\mu}}^{(k)},\bm{\widehat{\Sigma}}^{(k)},\bm{q})
=ln⁡|𝚺(w~i​j=1)|−ln|𝚺(w~i​j=0)|+ln⁡(2​π)+MD2⁡(xij,x^ij,Cij)−qj\displaystyle=\ln|\bm{\Sigma}^{(\widetilde{w}_{ij}=1)}|-\ln|\bm{\Sigma}^{(\widetilde{w}_{ij}=0)}|+\ln(2\pi)+\MD^{2}(x_{ij},\widehat{x}_{ij},C_{ij})-q_{j}
=ln⁡(Ci​j)+ln⁡(2​π)+(xi​j−x^i​j)2/Ci​j−qj\displaystyle=\ln(C_{ij})+\ln(2\pi)+(x_{ij}-\widehat{x}_{ij})^{2}/C_{ij}-q_{j} (20)

where the second and third equalities use Proposition 5 in which x^i​j\widehat{x}_{ij} and Ci​jC_{ij} are now scalars. Note that x^i​j=μ^j(k)+𝚺^j,o(k)​(𝚺^o,o(k))−1​(𝒙^i,o−𝝁^o(k))\widehat{x}_{ij}=\widehat{\mu}_{j}^{(k)}+\bm{\widehat{\Sigma}}_{j,o}^{(k)}(\bm{\widehat{\Sigma}}_{o,o}^{(k)})^{-1}(\bm{\widehat{x}}_{i,o}-\bm{\widehat{\mu}}_{o}^{(k)}) is the conditional expectation of the cell Xi​jX_{ij} conditional on the observed (subscript ‘o’) cells in row ii, i.e. those with w~i⋅=1\widetilde{w}_{i\cdot}=1, taking into account any earlier modifications to 𝑾~\bm{\widetilde{W}}. Analogously, Ci​j=𝚺^j,j(k)−𝚺^j,o(k)​(𝚺^o,o(k))−1​𝚺^o,j(k)C_{ij}=\bm{\widehat{\Sigma}}_{j,j}^{(k)}-\bm{\widehat{\Sigma}}_{j,o}^{(k)}(\bm{\widehat{\Sigma}}_{o,o}^{(k)})^{-1}\bm{\widehat{\Sigma}}_{o,j}^{(k)} is the conditional variance of Xi​jX_{ij} . We now need to minimize ∑i=1nL~​(𝒙i,w~i​j,𝝁^(k),𝚺^(k),𝒒)\sum_{i=1}^{n}\widetilde{L}(\bm{x}_{i},\widetilde{w}_{ij},\bm{\widehat{\mu}}^{(k)},\bm{\widehat{\Sigma}}^{(k)},\bm{q}) subject to the constraint ∑i=1nw~i​j⩾h\sum_{i=1}^{n}\widetilde{w}_{ij}\geqslant h. If Δi​j⩽0\Delta_{ij}\leqslant 0 holds for hh or more ii, then the minimum is attained by setting those w~i​j\widetilde{w}_{ij} to 1 and the others to 0. If not, it is attained by setting w~i​j\widetilde{w}_{ij} to 1 for the ii with the hh smallest Δi​j\Delta_{ij} and to 0 otherwise. After cycling through all columns of 𝑾~\bm{\widetilde{W}} we set 𝑾(k+1)=𝑾~\bm{W}^{(k+1)}=\bm{\widetilde{W}}.

Part (b) of the C-step. Keeping the new pattern 𝑾(k+1)\bm{W}^{(k+1)} fixed we now want to update 𝝁^\bm{\widehat{\mu}} and 𝚺^\bm{\widehat{\Sigma}}. As 𝑾(k+1)\bm{W}^{(k+1)} 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 𝑾i​j(k+1)=0\bm{W}^{(k+1)}_{ij}=0, for all rows. Next, we carry out an M-step, followed by imposing the constraint λd⩾a\lambda_{d}\geqslant a by truncating the eigenvalues of 𝚺^\bm{\widehat{\Sigma}} from below at aa. The C-step ends by reporting 𝑾(k+1)\bm{W}^{(k+1)}, 𝝁^(k+1)\bm{\widehat{\mu}}^{(k+1)} and 𝚺^(k+1)\bm{\widehat{\Sigma}}^{(k+1)}.

Proposition 6.

(i) Each C-step turns a triplet (𝛍^(k),𝚺^(k),𝐖(k))(\bm{\widehat{\mu}}^{(k)},\bm{\widehat{\Sigma}}^{(k)},\bm{W}^{(k)}) satisfying the constraints in (9) into a new triplet (𝛍^(k+1),𝚺^(k+1),𝐖(k+1))(\bm{\widehat{\mu}}^{(k+1)},\bm{\widehat{\Sigma}}^{(k+1)},\bm{W}^{(k+1)}) which satisfies the same constraints and whose objective (9) is less than or equal to before. (ii) Iterating C-steps always converges.

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 𝑾~\bm{\widetilde{W}} in a different order. We could also cycle through the columns of 𝑾~\bm{\widetilde{W}} 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 ui​ju_{ij} which are 0 for missing cells and 1 elsewhere. In that situation we first have to remove variables with more than n−hn-h missing values. In the C-step it then suffices to force wi​j=0w_{ij}=0 whenever ui​j=0u_{ij}=0.

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 qjq_{j} and a>0a>0) until convergence, one can then keep the solution with the lowest objective (9).

The only remaining question is how to select the constants qjq_{j} but this is quite simple, we do not need cross-validation or an information criterion. In (20) the term (xi​j−x^i​j)2/Ci​j(x_{ij}-\widehat{x}_{ij})^{2}/C_{ij} is the square of the residual xi​j−x^i​jx_{ij}-\widehat{x}_{ij} standardized robustly. For inlying cells this should be below a cutoff, for which we take the chi-squared quantile χ1,p2\chi^{2}_{1,p} with one degree of freedom and probability pp. The term ln⁡(Ci​j)\ln(C_{ij}) is approximated by using the conditional variance of variable jj in the initial estimate 𝚺^0\bm{\widehat{\Sigma}}_{0} , given by Cj:=1/(𝚺^0−1)j​jC_{j}:=1/(\bm{\widehat{\Sigma}}_{0}^{-1})_{jj} . So we set each qjq_{j} equal to

qj=χ1,p2+ln⁡(2​π)+ln⁡(Cj).q_{j}=\chi^{2}_{1,p}+\ln(2\pi)+\ln(C_{j})\;. (21)

The effect of this choice is that a cell xi​jx_{ij} is flagged iff it lies outside a robust tolerance interval around its predicted value x^i​j\widehat{x}_{ij} with coverage probability pp. Therefore we only have to choose a single cutoff probability pp to generate all qjq_{j} automatically. From simulations and examples we found that p=0.99p=0.99 was a good choice overall, so it is set as the default. Section A.5 provides more information on the qjq_{j} and the choice of pp.

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 λd​(𝚺^)⩾a\lambda_{d}(\bm{\widehat{\Sigma}})\geqslant a is applied to the standardized data, with default a=10−4a=10^{-4}. 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 n=295n=295. 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 jj, say horsepower. Its ii-th cell has observed value xi​jx_{ij} as well as its prediction x^i​j\widehat{x}_{ij} obtained from the unflagged cells in the same row ii, as in (20). In (20) we also see the conditional variance Ci​jC_{ij} of this cell. It is then natural to plot the standardized cellwise residual

stdresi​j=xi​j−x^i​jCi​j\mbox{stdres}_{ij}=\frac{x_{ij}-\widehat{x}_{ij}}{\sqrt{C_{ij}}} (22)

which is NA when xi​jx_{ij} is missing. The left panel of Figure 2 shows the standardized residuals of the variable horsepower versus the index (case number) ii. This plot was made by the function plot.cellMCD(), which also draws a horizontal tolerance band given by ±c\pm\,c where c=χ1,0.992≈2.57c=\sqrt{\chi^{2}_{1,0.99}}\approx 2.57 . 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 −8-8. 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.

Figure 2: Top Gear data: (left) index plot of the standardized residual of log(horsepower); (right) standardized residual of length versus observed length.

The right panel of Figure 2 plots the standardized residuals of the variable length versus the observed length itself. The vertical lines are at T±c​ST\pm\,cS where TT and SS 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 jj, but whose observed value xi​jx_{ij} is not that far from the predicted x^i​j\widehat{x}_{ij} 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.

Figure 3: Top Gear data: (left) standardized residual of weight versus its prediction; (right) observed log(top speed) versus its prediction.

The right panel of Figure 3 shows the observed value of top speed versus its prediction. Below the superimposed y=xy=x 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 jj and kk. Figure 4 shows the variables width versus acceleration. The points for which wi​j=0w_{ij}=0 or wi​k=0w_{ik}=0 or both are automatically plotted in red. The figure also contains an ellipse, given by

[x−μ^jy−μ^k]​[Σ^j​jΣ^j​kΣ^k​jΣ^k​k]−1​[x−μ^jy−μ^k]=q\begin{bmatrix}x-\widehat{\mu}_{j}&y-\widehat{\mu}_{k}\end{bmatrix}\begin{bmatrix}\widehat{\Sigma}_{jj}&\widehat{\Sigma}_{jk}\\ \widehat{\Sigma}_{kj}&\widehat{\Sigma}_{kk}\end{bmatrix}^{-1}\begin{bmatrix}x-\widehat{\mu}_{j}\\ y-\widehat{\mu}_{k}\end{bmatrix}=q (23)

where qq is the 0.99 quantile of the χ22\chi_{2}^{2} 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 (xi​j,xi​k)(x_{ij},x_{ik}) to its predicted point (x^i​j,x^i​k)(\widehat{x}_{ij},\widehat{x}_{ik}) plotted in blue. That the line is vertical means that the width cell was flagged whereas the acceleration cell was not, that is, wi​k=0w_{ik}=0 and wi​j=1w_{ij}=1 . 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.

Figure 4: Top Gear data: bivariate plot of width versus acceleration. The 99% tolerance ellipse is given by the cellMCD estimates 𝝁^\bm{\widehat{\mu}} and 𝚺^\bm{\widehat{\Sigma}} restricted to the variables in the bivariate plot, and the red lines go to the predicted points shown in blue.

6 Simulation results

In this section we evaluate the performance of cellMCD by a simulation study. The clean data is generated as nn points from a dd-variate Gaussian distribution with mean 𝝁=𝟎\bm{\mu}=\bm{0}. Since there is no affine equivariance, letting 𝚺\bm{\Sigma} 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 𝚺i​j=0.9|i−j|\bm{\Sigma}_{ij}=0.9^{|i-j|}, 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 (n,d)(n,d): (100,10)(100,10), (400,20)(400,20), and (800,40)(800,40).

In these clean data, we then replace a fraction ε\varepsilon in {0.1,0.2}\{0.1,0.2\} of cells by contaminated cells. These are generated as follows. First, for each column in the data matrix we randomly sample n​εn\varepsilon indices of cells to be contaminated. In each row, say (z1,…,zd)(z_{1},\ldots,z_{d}), we then collect the indices of the cells to be contaminated. Denote this set of size kk by K={j1,…,jk}K=\{j_{1},\ldots,j_{k}\}. We next replace the cells (zj1,…,zjk)(z_{j_{1}},\ldots,z_{j_{k}}) by the kk-dimensional vector γ​k​𝒗K/MD​(𝒗K,𝝁K,𝚺K)\gamma\sqrt{k}\,\bm{v}_{K}/\mbox{MD}(\bm{v}_{K},\bm{\mu}_{K},\bm{\Sigma}_{K}) where 𝝁K\bm{\mu}_{K} and 𝚺K\bm{\Sigma}_{K} are 𝝁\bm{\mu} and 𝚺\bm{\Sigma} restricted to the indices in KK. The scalar γ>0\gamma>0 quantifies the distance of the outlying cells to the center of the distribution, and we vary γ\gamma over 1,…,101,\ldots,10. The vector 𝒗K\bm{v}_{K} is the normed eigenvector of 𝚺K\bm{\Sigma}_{K} with the smallest eigenvalue. In each row, the outlying cells are thus structurally outlying in the subspace generated by the variables in KK. Therefore, these cells will often not be marginally outlying, especially when |K||K| is large and γ\gamma 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:

In order to evaluate the performance of the different estimators, we compute the Kullback-Leibler discrepancy between the estimated 𝚺^\widehat{\bm{\Sigma}} and the true 𝚺\bm{\Sigma} given by

KL​(𝚺^,𝚺)=tr​(𝚺^​𝚺−1)−d−log⁡(det(𝚺^​𝚺−1)).\mbox{KL}(\widehat{\bm{\Sigma}},\bm{\Sigma})=\mbox{tr}(\widehat{\bm{\Sigma}}\bm{\Sigma}^{-1})-d-\log(\det(\widehat{\bm{\Sigma}}\bm{\Sigma}^{-1}))\;.

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: Discrepancy of estimated covariance matrices for d=10d=10 and n=100n=100.

Figure 5 presents the results for d=10d=10, n=100n=100 and ε=0.1\varepsilon=0.1. (The results for ε=0.2\varepsilon=0.2 were similar.) Both cellMCD and DI perform well, as does 2SGS provided γ⩾4\gamma\geqslant 4. 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 γ\gamma 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.

Figure 6: Discrepancy of estimated covariance matrices for d=20d=20 and n=400n=400 (top panels) and for d=40d=40 and n=800n=800 (bottom panels).

The top panels of Figure 6 show the results for n=400n=400 and d=20d=20. The relative performances are similar to Figure 5. The 2SGS method still does well when γ>4\gamma>4, but now suffers more for low γ\gamma. The performances of DI and cellMCD are again very close, with cellMCD often doing slightly better.

The lower panels with n=800n=800 and d=40d=40 are similar, with cellMCD performing best for all values of γ\gamma while DI is quite close, and 2SGS only doing well for higher γ\gamma.

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.

Table 1: Computation times of the methods in the simulation.
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 ε=0\varepsilon=0, 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.

Table 2: Finite-sample efficiencies of robust covariance estimators
ALYZ configuration A09 configuration
method d=10d=10 d=20d=20 d=40 d=10d=10 d=20d=20 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 h=0.75​nh=0.75n, which is under 0.70 for this range of dimensions dd. This is due to the penalty term in (9), which made the number of actually discarded cells much smaller than 0.25​n0.25\,n.

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 𝟏−𝑾\bm{1}-\bm{W}). 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 𝑾\bm{W} 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 𝝁\bm{\mu} and 𝚺\bm{\Sigma} not identifiable, which motivates our constraint ||𝑾.j||0⩾h||\bm{W}_{.j}||_{0}\geqslant h for j=1,…,dj=1,\ldots,d .

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 λd​(𝚺^)⩾a\lambda_{d}(\bm{\widehat{\Sigma}})\geqslant a, or similarly from a formulation in which 𝚺^\bm{\widehat{\Sigma}} 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 𝚺^\bm{\widehat{\Sigma}} is multiplied by a correction factor cn,d,hc_{n,d,h} such that cn,d,h​𝚺^c_{n,d,h}\bm{\widehat{\Sigma}}  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 RDi2=(𝐱i−𝝁^)⊤​(cn,d,h​𝚺^)−1​(𝐱i−𝝁^)\RD^{2}_{i}=(\bm{x}_{i}-\bm{\widehat{\mu}})^{\top}(c_{n,d,h}\bm{\widehat{\Sigma}})^{-1}(\bm{x}_{i}-\bm{\widehat{\mu}}). Each case 𝒙i\bm{x}_{i} then gets a weight wiw_{i} depending on its RDi2\RD^{2}_{i} . Typically, the weight is set to 1 when RDi2\RD_{i}^{2} is below some quantile of the χd2\chi_{d}^{2} distribution with dd 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 xi​jx_{ij} and compare its square to a quantile of the χ12\chi_{1}^{2} distribution with 1 degree of freedom, yielding zero-one weights wi​jw_{ij}. With these wi​jw_{ij} 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 χ12\chi_{1}^{2} 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 λd​(𝚺^)⩾a\lambda_{d}(\bm{\widehat{\Sigma}})\geqslant a for a>0a>0.

Part (b): Explosion breakdown of 𝚺^\bm{\widehat{\Sigma}} .

Denote by 𝒳m\mathcal{X}_{m} the set of all corrupted samples 𝑿m\bm{X}^{m} obtained by replacing at most mm cells in each column of 𝑿\bm{X} by arbitrary values, for m=n−hm=n-h. Also denote

𝒲h={𝑾∈{0,1}n×d|||𝑾.j||0⩾h for all j=1,…,d}.\mathcal{W}_{h}=\{\bm{W}\in\{0,1\}^{n\times d}\;\;|\;\;||\bm{W}_{.j}||_{0}\geqslant h\mbox{ for all }j=1,\ldots,d\}\,.

Then we can write

𝒳m=⋃𝑾∗∈𝒲h{𝑿m∈𝒳m|𝑾i​j∗=1⇒𝑿i​jm=𝑿i​j}.\mathcal{X}_{m}=\bigcup_{\bm{W}^{*}\in\mathcal{W}_{h}}{\{\bm{X}^{m}\in\mathcal{X}_{m}\,|\,\bm{W}_{ij}^{*}=1\Rightarrow\bm{X}_{ij}^{m}=\bm{X}_{ij}\}}\,.

In other words, we can write the set of all corrupted samples 𝒳m\mathcal{X}_{m} as a finite union over subsets of corrupted samples with the same contaminating configuration 𝑾∗\bm{W}^{*}.

We start by showing the existence of a solution with finite objective function. Consider any such contaminating configuration 𝑾∗∈𝒲h\bm{W}^{*}\in\mathcal{W}_{h} . Then take the solution (𝝁^EM,𝚺^EM,𝑾∗)(\bm{\widehat{\mu}}_{\mbox{\tiny EM}},\bm{\widehat{\Sigma}}_{\mbox{\tiny EM}},\bm{W}^{*}) where the location and scatter are the result of the EM-algorithm with fixed missingness pattern given by 𝑾∗\bm{W}^{*}. Then

∀𝑿m∈{𝑿m∈𝒳m|𝑾i​j∗=1⇒𝑿i​jm=𝑿i​j}:\displaystyle\forall\bm{X}^{m}\in\{\bm{X}^{m}\in\mathcal{X}_{m}\,|\,\bm{W}_{ij}^{*}=1\Rightarrow\bm{X}_{ij}^{m}=\bm{X}_{ij}\}:
Obj​(𝝁^EM​(𝑿m),𝚺^EM​(𝑿m),𝑾∗)=Obj​(𝝁^EM​(𝑿),𝚺^EM​(𝑿),𝑾∗)=M𝑾∗<∞\displaystyle\mbox{Obj}(\bm{\widehat{\mu}}_{\mbox{\tiny EM}}(\bm{X}^{m}),\bm{\widehat{\Sigma}}_{\mbox{\tiny EM}}(\bm{X}^{m}),\bm{W}^{*})=\mbox{Obj}(\bm{\widehat{\mu}}_{{\mbox{\tiny EM}}}(\bm{X}),\bm{\widehat{\Sigma}}_{{\mbox{\tiny EM}}}(\bm{X}),\bm{W}^{*})=M_{\bm{W}^{*}}<\infty

in which Obj​(𝝁,𝚺,W)\mbox{Obj}(\bm{\mu},\bm{\Sigma},W) denotes the objective function (9) of cellMCD. In other words, for all 𝑿m\bm{X}^{m} 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 M=max⁡{M𝑾∗:𝑾∗∈𝒲h}<∞M=\displaystyle\max\{M_{\bm{W}^{*}}\,:\,\bm{W}^{*}\in\mathcal{W}_{h}\}<\infty.

We now show that 𝚺^\bm{\widehat{\Sigma}} does not explode. By construction, λd​(𝚺^)⩾a\lambda_{d}(\bm{\widehat{\Sigma}})\geqslant a for some constant a>0a>0. Then we have that

ln⁡|𝚺^(𝒘i)|\displaystyle\ln|\bm{\widehat{\Sigma}}^{(\bm{w}_{i})}| =∑j=1d(𝒘i)ln⁡λj​(|𝚺^(𝒘i)|)\displaystyle=\sum_{j=1}^{d^{(\bm{w}_{i})}}{\ln\lambda_{j}(|\bm{\widehat{\Sigma}}^{(\bm{w}_{i})}|)}
=ln⁡λ1​(|𝚺^(𝒘i)|)+∑j=2d(𝒘i)ln⁡λj​(|𝚺^(𝒘i)|)\displaystyle=\ln\lambda_{1}(|\bm{\widehat{\Sigma}}^{(\bm{w}_{i})}|)+\sum_{j=2}^{d^{(\bm{w}_{i})}}{\ln\lambda_{j}(|\bm{\widehat{\Sigma}}^{(\bm{w}_{i})}|)}
⩾ln⁡λ1​(|𝚺^(𝒘i)|)+∑j=2d(𝒘i)ln⁡λd(𝒘i)​(|𝚺^(𝒘i)|)\displaystyle\geqslant\ln\lambda_{1}(|\bm{\widehat{\Sigma}}^{(\bm{w}_{i})}|)+\sum_{j=2}^{d^{(\bm{w}_{i})}}{\ln\lambda_{d^{(\bm{w}_{i})}}(|\bm{\widehat{\Sigma}}^{(\bm{w}_{i})}|)}
⩾ln⁡maxj⁡𝚺^j​j(𝒘i)+∑j=2d(𝒘i)ln⁡(λd​(𝚺^))\displaystyle\geqslant\ln\max_{j}\bm{\widehat{\Sigma}}_{jj}^{(\bm{w}_{i})}+\sum_{j=2}^{d^{(\bm{w}_{i})}}{\ln(\lambda_{d}(\bm{\widehat{\Sigma}}))}
⩾ln⁡maxj⁡𝚺^j​j(𝒘i)+(d−1)​ln⁡a\displaystyle\geqslant\ln\max_{j}\bm{\widehat{\Sigma}}_{jj}^{(\bm{w}_{i})}+(d-1)\ln a

where we have used that λ1​(𝚺^(𝒘))⩾maxj⁡𝚺^j​j(𝒘)\lambda_{1}(\bm{\widehat{\Sigma}}^{(\bm{w})})\geqslant\max_{j}\bm{\widehat{\Sigma}}_{jj}^{(\bm{w})} for any 𝒘\bm{w}. 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 i∗i^{*} for which the j∗j^{*}-th element of 𝒘i∗\bm{w}_{i^{*}} is 1, where j∗=argmaxj⁡𝚺^jjj^{*}=\argmax_{j}\bm{\widehat{\Sigma}}_{jj} . Therefore

∑i=1nln⁡|𝚺^(𝒘i)|\displaystyle\sum_{i=1}^{n}{\ln|\bm{\widehat{\Sigma}}^{(\bm{w}_{i})}|} =ln⁡|𝚺^(𝒘i∗)|+∑i≠i∗ln⁡|𝚺^(𝒘i)|\displaystyle=\ln|\bm{\widehat{\Sigma}}^{(\bm{w}_{i^{*}})}|+\sum_{i\neq i^{*}}{\ln|\bm{\widehat{\Sigma}}^{(\bm{w}_{i})}|}
⩾ln⁡maxj⁡𝚺^j​j𝒘i∗+(d−1)​ln⁡a+(n−1)​d​ln⁡a\displaystyle\geqslant\ln\max_{j}\bm{\widehat{\Sigma}}_{jj}^{\bm{w}_{i^{*}}}+(d-1)\ln a+(n-1)d\ln a
=ln⁡maxj⁡𝚺^j​j+(n​d−1)​ln⁡a\displaystyle=\ln\max_{j}\bm{\widehat{\Sigma}}_{jj}+(nd-1)\ln a
=ln⁡maxj​k​|𝚺^j​k|+(n​d−1)​ln⁡a\displaystyle=\ln\max_{jk}|\bm{\widehat{\Sigma}}_{jk}|+(nd-1)\ln a
⩾ln⁡λ1​(𝚺^)d+(n​d−1)​ln⁡a\displaystyle\geqslant\ln\frac{\lambda_{1}(\bm{\widehat{\Sigma}})}{d}+(nd-1)\ln a

where we have used that λ1​(𝚺^)⩽d​maxj​k​|𝚺^j​k|\lambda_{1}(\bm{\widehat{\Sigma}})\leqslant d\max_{jk}{|\bm{\widehat{\Sigma}}_{jk}|}, i.e. the largest eigenvalue of a d×dd\times d positive definite matrix is at most dd times its largest absolute entry. Also, we have used that maxj​k⁡|𝚺^j​k|=maxj⁡|𝚺^j​j|\max_{jk}{|\bm{\widehat{\Sigma}}_{jk}|}=\max_{j}{|\bm{\widehat{\Sigma}}_{jj}|} since 𝚺^\bm{\widehat{\Sigma}} 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:

Obj​(𝝁^,𝚺^,𝑾)\displaystyle\mbox{Obj}(\bm{\widehat{\mu}},\bm{\widehat{\Sigma}},\bm{W}) =∑i=1n(ln|𝚺(𝒘i)|+d(𝒘i)ln(2π)+MD2(𝐱im,𝐰i,𝝁^,𝚺^))+∑j=1dqj||𝟏d−𝑾.j||0\displaystyle=\sum_{i=1}^{n}{\big(\ln|\bm{\Sigma}^{(\bm{w}_{i})}|+d^{(\bm{w}_{i})}\ln(2\pi)+\MD^{2}(\bm{x}_{i}^{m},\bm{w}_{i},\bm{\widehat{\mu}},\bm{\widehat{\Sigma}})\,\big)}+\sum_{j=1}^{d}q_{j}||\bm{1}_{d}-\bm{W}_{.j}||_{0}
⩾∑i=1nln⁡|𝚺^(𝒘i)|⩾ln⁡λ1​(𝚺^)d+(n​d−1)​ln⁡a.\displaystyle\geqslant\sum_{i=1}^{n}{\ln|\bm{\widehat{\Sigma}}^{(\bm{w}_{i})}|}\geqslant\ln\frac{\lambda_{1}(\bm{\widehat{\Sigma}})}{d}+(nd-1)\ln a\;.

We thus find that the objective function explodes when λ1​(𝚺^)→∞\lambda_{1}(\bm{\widehat{\Sigma}})\to\infty. Given that for any possible contaminated dataset there is a candidate solution with objective function less than or equal to M<∞M<\infty, we conclude that the solution cannot have an exploding eigenvalue.

Part (c): Breakdown of 𝝁^\bm{\widehat{\mu}} .

Note that for all 𝑾∈𝒲h\bm{W}\in\mathcal{W}_{h} and each variable jj there is at least one 𝑾i​j=1\bm{W}_{ij}=1, so a cell 𝑿i​j\bm{X}_{ij} that was not replaced. Denote M2:=maxi​j⁡|𝑿i​j|<∞M_{2}:=\max_{ij}{|\bm{X}_{ij}|}<\infty . Then we have

Obj​(𝝁^,𝚺^,𝑾)\displaystyle\mbox{Obj}(\bm{\widehat{\mu}},\bm{\widehat{\Sigma}},\bm{W}) =∑i=1n(ln|𝚺(𝒘i)|+d(𝒘i)ln(2π)+MD2(𝐱im,𝐰i,𝝁^,𝚺^))+∑j=1dqj||𝟏d−𝑾.j||0\displaystyle=\sum_{i=1}^{n}{\big(\ln|\bm{\Sigma}^{(\bm{w}_{i})}|+d^{(\bm{w}_{i})}\ln(2\pi)+\MD^{2}(\bm{x}_{i}^{m},\bm{w}_{i},\bm{\widehat{\mu}},\bm{\widehat{\Sigma}})\,\big)}+\sum_{j=1}^{d}q_{j}||\bm{1}_{d}-\bm{W}_{.j}||_{0}
⩾n​d​ln⁡a+∑i=1nMD2⁡(𝐱im,𝐰i,𝝁^,𝚺^)\displaystyle\geqslant nd\ln a+\sum_{i=1}^{n}{\MD^{2}(\bm{x}_{i}^{m},\bm{w}_{i},\bm{\widehat{\mu}},\bm{\widehat{\Sigma}})}
=ndlna+∑i=1n||(𝚺^(𝒘i))−1/2(𝒙i,oim−𝝁^oi)||22\displaystyle=nd\ln a+\sum_{i=1}^{n}{\left|\left|\left(\bm{\widehat{\Sigma}}^{(\bm{w}_{i})}\right)^{-1/2}(\bm{x}_{i,o_{i}}^{m}-\bm{\widehat{\mu}}_{o_{i}})\right|\right|_{2}^{2}}
⩾ndlna+∑i=1nλmin2((𝚺^(𝒘i))−1/2)||𝒙i,oim−𝝁^oi||22\displaystyle\geqslant nd\ln a+\sum_{i=1}^{n}{\lambda_{\mbox{\tiny min}}^{2}\left(\left(\bm{\widehat{\Sigma}}^{(\bm{w}_{i})}\right)^{-1/2}\right)\left|\left|\bm{x}_{i,o_{i}}^{m}-\bm{\widehat{\mu}}_{o_{i}}\right|\right|_{2}^{2}}
=n​d​ln⁡a+∑i=1n1λmax​(𝚺^(𝒘i))​||𝒙i,oim−𝝁^oi||22\displaystyle=nd\ln a+\sum_{i=1}^{n}{\frac{1}{\lambda_{\mbox{\tiny max}}(\bm{\widehat{\Sigma}}^{(\bm{w}_{i})})}\left|\left|\bm{x}_{i,o_{i}}^{m}-\bm{\widehat{\mu}}_{o_{i}}\right|\right|_{2}^{2}}
⩾n​d​ln⁡a+1λmax​(𝚺^)​∑i=1n||𝒙i,oim−𝝁^oi||22\displaystyle\geqslant nd\ln a+\frac{1}{\lambda_{\mbox{\tiny max}}(\bm{\widehat{\Sigma}})}\sum_{i=1}^{n}{\left|\left|\bm{x}_{i,o_{i}}^{m}-\bm{\widehat{\mu}}_{o_{i}}\right|\right|_{2}^{2}}
⩾n​d​ln⁡a+1λmax​(𝚺^)​(‖𝝁^‖22−d​M22).\displaystyle\geqslant nd\ln a+\frac{1}{\lambda_{\mbox{\tiny max}}(\bm{\widehat{\Sigma}})}\left(||\bm{\widehat{\mu}}||_{2}^{2}-dM_{2}^{2}\right).

In the last line we have used that there is at least one uncontaminated cell in each variable for which 𝑾i​j=1\bm{W}_{ij}=1, together with the fact that this cell is bounded in absolute value by M2M_{2}. From part (b) we don’t have explosion of the covariance matrix, so λmax​(𝚺^)<∞\lambda_{\mbox{\tiny max}}(\bm{\widehat{\Sigma}})<\infty. Should ‖𝝁^‖2→∞||\bm{\widehat{\mu}}||_{2}\to\infty our objective function would explode, but we know it does not.

Part (d): The bound (n−h+1)/n(n-h+1)/n is sharp. So far we know that εn∗​(𝝁^,𝑿)⩾(n−h+1)/n\varepsilon^{*}_{n}(\bm{\widehat{\mu}},\bm{X})\geqslant(n-h+1)/n and εn+​(𝚺^,𝑿)⩾(n−h+1)/n\varepsilon^{+}_{n}(\bm{\widehat{\Sigma}},\bm{X})\geqslant(n-h+1)/n. 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 n−h+1n-h+1 cells in the first column of the data 𝑿\bm{X} by some value cc and leaving all other columns untouched. Unlike before, there is no way to cover all these cells with any W∈𝒲hW\in\mathcal{W}_{h}. Put M2=maxi​j⁡|𝑿i​j|M_{2}=\max_{ij}{|\bm{X}_{ij}|} as before.

Consider any solution (𝝁^,𝚺^,𝑾)(\bm{\widehat{\mu}},\bm{\widehat{\Sigma}},\bm{W}) with 𝑾∈𝒲h\bm{W}\in\mathcal{W}_{h} . Denote by ℐ\mathcal{I} the set of indices of the rows which have a contaminated cell equal to cc in their first variable. Denote by subscript oio_{i} the set of variables jj for which 𝒘i​j=1\bm{w}_{ij}=1. By the first order conditions of the EM algorithm, upon convergence of the algorithm we must have 𝝁^=1n​∑i=1n𝒚i\bm{\widehat{\mu}}=\frac{1}{n}\sum_{i=1}^{n}\bm{y}_{i} where 𝒚i\bm{y}_{i} are the imputed observations. For the first entry of 𝝁^\bm{\widehat{\mu}} we have:

𝝁^1\displaystyle\bm{\widehat{\mu}}_{1} =1n​∑i=1n𝒚i​1\displaystyle=\frac{1}{n}\sum_{i=1}^{n}\bm{y}_{i1}
=1n∑i|𝒘i​1=1𝑿i​1m+1n∑i|𝒘i​1=0E[𝑿i​1|𝝁^,𝚺^,𝑾]\displaystyle=\frac{1}{n}\sum_{i|\bm{w}_{i1}=1}\bm{X}^{m}_{i1}+\frac{1}{n}\sum_{i|\bm{w}_{i1}=0}E[\bm{X}_{i1}|\bm{\widehat{\mu}},\bm{\widehat{\Sigma}},\bm{W}]
=1n​∑i|𝒘i​1=1𝑿i​1m+1n​∑i|𝒘i​1=0(𝝁^1+𝚺^1,oi​𝚺^oi,oi−1​(𝑿i,oim−𝝁^oi))\displaystyle=\frac{1}{n}\sum_{i|\bm{w}_{i1}=1}\bm{X}^{m}_{i1}+\frac{1}{n}\sum_{i|\bm{w}_{i1}=0}{\left(\bm{\widehat{\mu}}_{1}+\bm{\widehat{\Sigma}}_{1,o_{i}}\bm{\widehat{\Sigma}}_{o_{i},o_{i}}^{-1}(\bm{X}^{m}_{i,o_{i}}-\bm{\widehat{\mu}}_{o_{i}})\right)}
=1n​∑{i|𝒘i​1=1}∩ℐ𝑿i​1m+1n​∑{i|𝒘i​1=1}∩ℐC𝑿i​1m+1n​∑{i|𝒘i​1=0}(𝝁^1+𝚺^1,oi​𝚺^oi,oi−1​(𝑿i,oim−𝝁^oi))\displaystyle=\frac{1}{n}\sum_{\{i|\bm{w}_{i1}=1\}\cap\mathcal{I}}\bm{X}^{m}_{i1}+\frac{1}{n}\sum_{\{i|\bm{w}_{i1}=1\}\cap\mathcal{I}^{C}}\bm{X}^{m}_{i1}+\frac{1}{n}\sum_{\{i|\bm{w}_{i1}=0\}}{\left(\bm{\widehat{\mu}}_{1}+\bm{\widehat{\Sigma}}_{1,o_{i}}\bm{\widehat{\Sigma}}_{o_{i},o_{i}}^{-1}(\bm{X}^{m}_{i,o_{i}}-\bm{\widehat{\mu}}_{o_{i}})\right)}
=cn​#​({i|𝒘i​1=1}∩ℐ)+1n​∑{i|𝒘i​1=1}∩ℐC𝑿i​1m+1n​∑{i|𝒘i​1=0}(𝝁^1+𝚺^1,oi​𝚺^oi,oi−1​(𝑿i,oim−𝝁^oi))\displaystyle=\frac{c}{n}\#(\{i|\bm{w}_{i1}=1\}\cap\mathcal{I})+\frac{1}{n}\sum_{\{i|\bm{w}_{i1}=1\}\cap\mathcal{I}^{C}}\bm{X}^{m}_{i1}+\frac{1}{n}\sum_{\{i|\bm{w}_{i1}=0\}}{\left(\bm{\widehat{\mu}}_{1}+\bm{\widehat{\Sigma}}_{1,o_{i}}\bm{\widehat{\Sigma}}_{o_{i},o_{i}}^{-1}(\bm{X}^{m}_{i,o_{i}}-\bm{\widehat{\mu}}_{o_{i}})\right)}
=cn​#​({i|𝒘i​1=1}∩ℐ)+1n​∑{i|𝒘i​1=1}∩ℐC𝑿i​1+1n​∑{i|𝒘i​1=0}(𝝁^1+𝚺^1,oi​𝚺^oi,oi−1​(𝑿i,oi−𝝁^oi)).\displaystyle=\frac{c}{n}\#(\{i|\bm{w}_{i1}=1\}\cap\mathcal{I})+\frac{1}{n}\sum_{\{i|\bm{w}_{i1}=1\}\cap\mathcal{I}^{C}}\bm{X}_{i1}+\frac{1}{n}\sum_{\{i|\bm{w}_{i1}=0\}}{\left(\bm{\widehat{\mu}}_{1}+\bm{\widehat{\Sigma}}_{1,o_{i}}\bm{\widehat{\Sigma}}_{o_{i},o_{i}}^{-1}(\bm{X}_{i,o_{i}}-\bm{\widehat{\mu}}_{o_{i}})\right)}\;.

Note that we have replaced 𝑿m\bm{X}^{m} by 𝑿\bm{X} in the last line, since all those cells are uncontaminated. By construction of our contaminated data, we have #⁡({i|𝒘i​1=1}∩ℐ)⩾1\#(\{i|\bm{w}_{i1}=1\}\cap\mathcal{I})\geqslant 1. Now take a sequence ckc_{k} which diverges, i.e. ck→∞c_{k}\to\infty as k→∞k\to\infty. Suppose that our estimates 𝝁^\bm{\widehat{\mu}} and 𝚺^\bm{\widehat{\Sigma}} would not break down as k→∞k\to\infty. Then the 𝝁^1\bm{\widehat{\mu}}_{1} 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 𝝁^\bm{\widehat{\mu}}, 𝚺^\bm{\widehat{\Sigma}}, and the uncontaminated data. (Note that 𝚺^oi,oi−1\bm{\widehat{\Sigma}}_{o_{i},o_{i}}^{-1} is bounded since λ1​(𝚺^oi,oi−1)⩽1/a<∞\lambda_{1}(\bm{\widehat{\Sigma}}_{o_{i},o_{i}}^{-1})\leqslant 1/a<\infty.) 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 k→∞k\to\infty. ∎

A.2   Asymptotic properties of cellMCD

A.2.1   Introduction

In this section we study the asymptotic properties of cellMCD for well-behaved distributions FF (to be specified later). In order to do so, we consider the cellMCD objective without the columnwise restriction on WW. This is justified, since from an asymptotic perspective, the columnwise restriction on WW only plays a role when it is encountered asymptotically. By our choice of qjq_{j}, 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 WW, there are different ways of writing the cellMCD objective, of which the version (14) lends itself somewhat better to asymptotic analysis:

G⁡(μ,Σ,F)≔∫gμ,Σ​(x)​F​(𝑑x)G(\mu,\Sigma,F)\coloneqq\int g_{\mu,\Sigma}(x)F(\mathrm{d}x)

where we use (15):

gμ,Σ​(x)≔minw∈{0,1}d⁡{ln⁡|Σ(w)|+d(𝒘)​ln⁡(2​π)+MD2​(x,w,μ,Σ)+𝒒​(𝟏−w)⊤}g_{\mu,\Sigma}(x)\coloneqq\min_{w\in\{0,1\}^{d}}{\left\{\ln\left|\Sigma^{(w)}\right|+d^{(\bm{w})}\ln(2\pi)+\text{MD}^{2}(x,w,\mu,\Sigma)+\bm{q}\,(\bm{1}-w)^{\top}\right\}}

in which 𝒒=(q1,…,qd)\bm{q}=(q_{1},\ldots,q_{d}) and w=(w1,…,wd)w=(w_{1},\ldots,w_{d}). Our estimate is then

argmin(μ,Σ)∈Θ⁡G​(μ,Σ,Fn),\argmin_{\left(\mu,\Sigma\right)\in\Theta}G(\mu,\Sigma,F_{n}),

with FnF_{n} the empirical distribution and Θ\Theta the parameter space.

Suppose, for now, that Θ\Theta is a subset of ℝd×𝒫⁡(d)\mathbb{R}^{d}\times\mathcal{P}(d) where 𝒫⁡(d)\mathcal{P}(d) is the (closed) cone of symmetric positive definite d×dd\times d matrices with smallest eigenvalue ⩾a\geqslant a. We endow the product space with the metric DD given by D⁡((μ1,Σ1),(μ2,Σ2)):=max⁡(‖μ1−μ2‖2,‖Σ1−Σ2‖F)D((\mu_{1},\Sigma_{1}),(\mu_{2},\Sigma_{2})):=\max(||\mu_{1}-\mu_{2}||_{2},||\Sigma_{1}-\Sigma_{2}||_{F}), 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 xx, the function Θ↦ℝ:(μ,Σ)→gμ,Σ​(x)\Theta\mapsto\mathbb{R}:(\mu,\Sigma)\to g_{\mu,\Sigma}(x) is continuous.

Proof.

Note that for each fixed w∈{0,1}dw\in\{0,1\}^{d}, the function Θ↦ℝ:(μ,Σ)→ln⁡|Σ(w)|+d(𝒘)​ln⁡(2​π)+MD2​(x,w,μ,Σ)+𝒒​(𝟏−w)⊤\Theta\mapsto\mathbb{R}:(\mu,\Sigma)\to\ln\left|\Sigma^{(w)}\right|+d^{(\bm{w})}\ln(2\pi)+\text{MD}^{2}(x,w,\mu,\Sigma)+\bm{q}\,(\bm{1}-w)^{\top} is continuous. For any fixed xx, gμ,Σ​(x)g_{\mu,\Sigma}(x) is thus a minimum of a finite number of continuous functions, which is continuous. ∎

Lemma 2.

For qj>max⁡{0,ln⁡(a)}q_{j}>\max\{0,\ln(a)\} and all xx, the function gμ,Σ​(x)g_{\mu,\Sigma}(x) is uniformly bounded over all possible μ,Σ\mu,\Sigma in ℝd×𝒫⁡(d)\mathbb{R}^{d}\times\mathcal{P}(d).

Proof.

We have that d​ln⁡(a)⩽gμ,Σ​(x)⩽∑j=1dqjd\ln(a)\leqslant g_{\mu,\Sigma}(x)\leqslant\sum_{j=1}^{d}{q_{j}} .
The first inequality stems from minimizing each term of ln⁡|Σ(w)|+d(𝒘)​ln⁡(2​π)+MD2​(x,w,μ,Σ)+𝒒​(𝟏−w)⊤\ln\left|\Sigma^{(w)}\right|+d^{(\bm{w})}\ln(2\pi)+\text{MD}^{2}(x,w,\mu,\Sigma)+\bm{q}\,(\bm{1}-w)^{\top} individually. In particular, the last three terms are always positive, so we set them to zero. The first term is bounded from below by d​ln⁡(a)d\ln(a), which is negative by our choice of aa.
The second inequality stems from the instance w=(0,…,0)w=(0,\ldots,0), in which case gμ,Σ​(x)=𝒒​(𝟏−w)⊤=∑j=1dqjg_{\mu,\Sigma}(x)=\bm{q}\,(\bm{1}-w)^{\top}=\sum_{j=1}^{d}{q_{j}}. ∎

Lemma 3.

The function Θ↦ℝ:(μ,Σ)→G⁡(μ,Σ,F)\Theta\mapsto\mathbb{R}:(\mu,\Sigma)\to G(\mu,\Sigma,F) is continuous.

Proof.

Denote (μn,Σn)n∈ℕ(\mu_{n},\Sigma_{n})_{n\in\mathbb{N}} a sequence which converges to (μ,Σ)(\mu,\Sigma) for n→∞n\to\infty. We have

limn→∞G⁡(μn,Σn,F)=\displaystyle\lim_{n\to\infty}{G(\mu_{n},\Sigma_{n},F)}= limn→∞∫gμn,Σn​(x)​F​(𝑑x)\displaystyle\lim_{n\to\infty}{\int g_{\mu_{n},\Sigma_{n}}(x)F(\mathrm{d}x)}
=\displaystyle= ∫limn→∞gμn,Σn​(x)​F​(𝑑x)\displaystyle\int\lim_{n\to\infty}{g_{\mu_{n},\Sigma_{n}}(x)}F(\mathrm{d}x)
=\displaystyle= ∫gμ,Σ​(x)​F​(𝑑x)\displaystyle\int g_{\mu,\Sigma}(x)F(\mathrm{d}x)
=\displaystyle= G⁡(μ,Σ,F)\displaystyle\;G(\mu,\Sigma,F)

where we have used the dominated convergence theorem in the second equality, which is possible thanks to Lemma 2 and the (pointwise) continuity of gμ,Σg_{\mu,\Sigma} of Lemma 1 in the third equality. ∎

A.2.3   Wald-type consistency proof

We can set up a Wald-type consistency proof. Assume that Θ\Theta is a compact subset of ℝd×𝒫⁡(d)\mathbb{R}^{d}\times\mathcal{P}(d) where 𝒫⁡(d)\mathcal{P}(d) is the (closed) cone of symmetric positive definite d×dd\times d matrices with smallest eigenvalue ⩾a\geqslant a . Denote by Θ∗={(μ∗,Σ∗)∈Θ:G⁡(μ∗,Σ∗,F)=inf(μ,Σ)∈ΘG⁡(μ,Σ,F)}\Theta^{*}=\{(\mu^{*},\Sigma^{*})\in\Theta:G(\mu^{*},\Sigma^{*},F)=\inf_{(\mu,\Sigma)\in\Theta}{G(\mu,\Sigma,F)}\} the set of minima of GG. It is nonempty due to compactness of Θ\Theta, and the continuity of GG from Lemma 3.

Proposition 7.

Let (μ^n,Σ^n)(\hat{\mu}_{n},\hat{\Sigma}_{n}) be a sequence of estimators which nearly minimize G⁡(⋅,⋅,Fn)G(\cdot,\cdot,F_{n}), i.e. for which

G⁡(μ^n,Σ^n,Fn)⩽G⁡(μ∗,Σ∗,Fn)+oP​(1)G(\hat{\mu}_{n},\hat{\Sigma}_{n},F_{n})\leqslant G(\mu^{*},\Sigma^{*},F_{n})+o_{P}(1)

for some (μ∗,Σ∗)∈Θ∗(\mu^{*},\Sigma^{*})\in\Theta^{*}. Then it holds for all ε>0\varepsilon>0 and for any compact set K⊂ΘK\subset\Theta that

P⁡(D⁡((μ^n,Σ^n),Θ∗)⩾ε​ and ​(μ^n,Σ^n)∈K)→0.P(\,D((\hat{\mu}_{n},\hat{\Sigma}_{n}),\Theta^{*})\geqslant\varepsilon\;\mbox{ and }\;(\hat{\mu}_{n},\hat{\Sigma}_{n})\in K\,)\rightarrow 0\,.
Proof.

This follows from a direct application of Theorem 5.14 in Van der Vaart (2000). Its conditions are satisfied because

  • •

    For all xx, the function Θ↦ℝ:(μ,Σ)→gμ,Σ​(x)\Theta\mapsto\mathbb{R}:(\mu,\Sigma)\to g_{\mu,\Sigma}(x) is continuous by Lemma 1.

  • •

    For any sufficiently small ball U⊂ΘU\subset\Theta the function x→inf(μ,Σ)∈Ugμ,Σ​(x)x\to\inf_{(\mu,\Sigma)\in U}{g_{\mu,\Sigma}(x)} is measurable and satisfies ∫inf(μ,Σ)∈Ugμ,Σ​(x)​F​(𝑑x)>−∞\int\inf_{(\mu,\Sigma)\in U}{g_{\mu,\Sigma}(x)}F(\mathrm{d}x)>-\infty. This holds because, by Lemma 2, we have ∫inf(μ,Σ)∈Ugμ,Σ​(x)​F​(𝑑x)≥d​ln⁡(a)​∫F⁡(𝑑x)>−∞.\int\inf_{(\mu,\Sigma)\in U}{g_{\mu,\Sigma}(x)}F(\mathrm{d}x)\geq d\ln(a)\int F(\mathrm{d}x)>-\infty\;.

∎

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 K⊂ΘK\subset\Theta of ℝd×𝒫⁡(d)\mathbb{R}^{d}\times\mathcal{P}(d). 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 𝐱1,…,𝐱n\bm{x}_{1},\ldots,\bm{x}_{n} be a random sample from FF with empirical cdf FnF_{n}. Let (mn,Sn)(m_{n},S_{n}) be an optimal set of parameters for the sample. Then there exists an M>0M>0 so thatlimn→∞P⁡((mn,Sn)∈B⁡(M))=1\lim_{n\to\infty}P((m_{n},S_{n})\in B(M))=1, where B⁡(M)B(M) is the closed ball of radius MM around 00.

Proof.

Consider a sequence of solutions (mn,Sn)(m_{n},S_{n}) minimizing G⁡(mn,Sn,Fn)G(m_{n},S_{n},F_{n}). Denote the diagonal elements of SnS_{n} by diag(Sn)=(s1,n,s2,n,…,sd,n)\diag(S_{n})=(s_{1,n},s_{2,n},\ldots,s_{d,n}) and the components of mnm_{n} by (m1,n,…,md,n)(m_{1,n},\ldots,m_{d,n}). We want to show that the diagonal elements of SnS_{n} and the components of mnm_{n} are bounded eventually:

∃M1>0:limn→∞P⁡((mn,diag(Sn))∈B⁡(M1))=1.\exists M_{1}>0:\lim_{n\to\infty}P((m_{n},\diag(S_{n}))\in B(M_{1}))=1\;.

This suffices because the off-diagonal entries of SnS_{n} are bounded by the diagonal entries due to ((Sn)i​j)2⩽si,n​sj,n((S_{n})_{ij})^{2}\leqslant s_{i,n}s_{j,n} since SnS_{n} is PSD.

We will first show that the s1,n,s2,n,…,sd,ns_{1,n},s_{2,n},\ldots,s_{d,n} cannot diverge. Suppose the opposite, so that w.l.o.g. the first d∗d^{*} diagonal elements of SnS_{n} are not bounded in this way. Therefore ∀r>0,∀j∈{1,…,d∗}:limn→∞P⁡(sj,n∉B⁡(r))>0\forall r>0,\forall j\in\{1,\ldots,d^{*}\}:\lim_{n\to\infty}P(s_{j,n}\notin B(r))>0.

If d∗<dd^{*}<d we denote by mn~\tilde{m_{n}} and Sn~\tilde{S_{n}} the location and scatter estimates restricted to all but the first d∗d^{*} coordinates. Denote

g~mn,Sn​(x)≔minw∈{0,1}d−d∗⁡(ln⁡|S~n(w)|+d(𝒘)​ln⁡(2​π)+MD2​(x,w,m~n,S~n)+𝒒​(𝟏−w)⊤).\tilde{g}_{m_{n},S_{n}}(x)\coloneqq\min_{w\in\{0,1\}^{d-d^{*}}}{\left(\ln\left|\tilde{S}_{n}^{(w)}\right|+d^{(\bm{w})}\ln(2\pi)+\text{MD}^{2}(x,w,\tilde{m}_{n},\tilde{S}_{n})+\bm{q}\,(\bm{1}-w)^{\top}\right)}\;.

If d∗=dd^{*}=d we set the term g~mn,Sn​(x)\tilde{g}_{m_{n},S_{n}}(x) equal to zero. Note that now, for every ε>0\varepsilon>0, there is a Pε>0P_{\varepsilon}>0 so that

limn→∞P(∀x:gmn,Sn(x)>(∑j=1d∗qj−ε)+g~mn,Sn(x))=Pε.\lim_{n\to\infty}P\left(\forall x:g_{m_{n},S_{n}}(x)>\left(\sum_{j=1}^{d^{*}}q_{j}-\varepsilon\right)+\tilde{g}_{m_{n},S_{n}}(x)\right)=P_{\varepsilon}\;.

Intuitively this means that, no matter the value of xx, by inflating s1,…,sd∗s_{1},\ldots,s_{d^{*}} we can get arbitrarily close to the value of the objective function obtained by dropping the first d∗d^{*} coordinates. The contribution of these first d∗d^{*} coordinates to the objective function becomes arbitrarily close to ∑j=1d∗qj\sum_{j=1}^{d^{*}}{q_{j}}.

Now consider a new sequence of estimates given by (mn∗,Sn∗)(m_{n}^{*},S_{n}^{*}) where mn∗=[𝟎d∗,m~n]m_{n}*=[\bm{0}_{d^{*}},\tilde{m}_{n}] and Sn∗=[𝑰d∗𝟎𝟎S~n]S_{n}^{*}=\begin{bmatrix}\bm{I}_{d^{*}}&\bm{0}\\ \bm{0}&\tilde{S}_{n}\end{bmatrix}. Note that we must have G⁡(mn,Sn,Fn)≤G⁡(mn∗,Sn∗,Fn)G(m_{n},S_{n},F_{n})\leq G(m_{n}^{*},S_{n}^{*},F_{n}) for all nn, since (mn,Sn)(m_{n},S_{n}) is a sequence of minimizers of the objective. For this new sequence of estimates we have

gmn∗,Sn∗​(x)\displaystyle g_{m_{n}^{*},S_{n}^{*}}(x)
=\displaystyle= minw∈{0,1}d⁡ln⁡|Sn∗(w)|+d(𝒘)​ln⁡(2​π)+MD2​(x,w,mn∗,Sn∗)+𝒒′​(𝟏−w)\displaystyle\min_{w\in\{0,1\}^{d}}{\ln\left|S_{n}^{*(w)}\right|+d^{(\bm{w})}\ln(2\pi)+\text{MD}^{2}(x,w,m_{n}^{*},S_{n}^{*})+\bm{q}^{\prime}(\bm{1}-w)}
=\displaystyle= minw~∈{0,1}d∗⁡ln⁡|Sn~∗(w~)|+d(w~)​ln⁡(2​π)+MD2​(x~,w~,mn~∗,Sn~∗)+𝒒~′​(1−w~)\displaystyle\min_{\underset{\widetilde{}}{w}\in\{0,1\}^{d^{*}}}{\ln\left|\underset{\widetilde{}}{S_{n}}^{*(\underset{\widetilde{}}{w})}\right|+d^{(\underset{\widetilde{}}{w})}\ln(2\pi)+\text{MD}^{2}(\underset{\widetilde{}}{x},\underset{\widetilde{}}{w},\underset{\widetilde{}}{m_{n}}^{*},\underset{\widetilde{}}{S_{n}}^{*})+\underset{\widetilde{}}{\bm{q}}^{\prime}(1-\underset{\widetilde{}}{w})}
+\displaystyle+ minw~∈{0,1}d−d∗⁡ln⁡|S~n(w~)|+d(w~)​ln⁡(2​π)+MD2​(x~,w~,m~n,S~n)+𝒒~′​(𝟏−w~)\displaystyle\min_{\tilde{w}\in\{0,1\}^{d-d^{*}}}{\ln\left|\tilde{S}_{n}^{(\tilde{w})}\right|+d^{(\tilde{w})}\ln(2\pi)+\text{MD}^{2}(\tilde{x},\tilde{w},\tilde{m}_{n},\tilde{S}_{n})+\bm{\tilde{q}}^{\prime}(\bm{1}-\tilde{w})}
=\displaystyle= minw~∈{0,1}d∗⁡(ln⁡|Sn~∗(w~)|+d(w~)​ln⁡(2​π)+MD2​(x~,w~,mn~∗,Sn~∗)+𝒒~′​(1−w~))+g~mn,Sn​(x)\displaystyle\min_{\underset{\widetilde{}}{w}\in\{0,1\}^{d^{*}}}{\Big(\ln\left|\underset{\widetilde{}}{S_{n}}^{*(\underset{\widetilde{}}{w})}\right|+d^{(\underset{\widetilde{}}{w})}\ln(2\pi)+\text{MD}^{2}(\underset{\widetilde{}}{x},\underset{\widetilde{}}{w},\underset{\widetilde{}}{m_{n}}^{*},\underset{\widetilde{}}{S_{n}}^{*})+\underset{\widetilde{}}{\bm{q}}^{\prime}(1-\underset{\widetilde{}}{w})\Big)}+\tilde{g}_{m_{n},S_{n}}(x)
=\displaystyle= minw~∈{0,1}d∗⁡(d(w~)​ln⁡(2​π)+‖x~(w~)‖22+𝒒~′​(1−w~))+g~mn,Sn​(x)\displaystyle\min_{\underset{\widetilde{}}{w}\in\{0,1\}^{d^{*}}}{\Big(d^{(\underset{\widetilde{}}{w})}\ln(2\pi)+||\underset{\widetilde{}}{x}^{(\underset{\widetilde{}}{w})}||_{2}^{2}+\underset{\widetilde{}}{\bm{q}}^{\prime}(1-\underset{\widetilde{}}{w})\Big)}+\tilde{g}_{m_{n},S_{n}}(x)

where the tildes below mn,Sn,x,w,qm_{n},S_{n},x,w,q indicate the restriction of the quantity to the first d∗d^{*} coordinates, so ln⁡|Sn~∗(w~)|=0\ln|\underset{\widetilde{}}{S_{n}}^{*(\underset{\widetilde{}}{w})}|=0 and MD2​(x~,w~,mn~∗,Sn~∗)=‖x~(w~)‖22\text{MD}^{2}(\underset{\widetilde{}}{x},\underset{\widetilde{}}{w},\underset{\widetilde{}}{m_{n}}^{*},\underset{\widetilde{}}{S_{n}}^{*})=||\underset{\widetilde{}}{x}^{(\underset{\widetilde{}}{w})}||_{2}^{2} .

Now denote C≔∫minw~∈{0,1}d∗⁡(d(w~)​ln⁡(2​π)+‖x~(w~)‖22+𝒒~​(1−w~)⊤)​F​(𝑑x)C\coloneqq\int\min_{\underset{\widetilde{}}{w}\in\{0,1\}^{d^{*}}}{(d^{(\underset{\widetilde{}}{w})}\ln(2\pi)+||\underset{\widetilde{}}{x}^{(\underset{\widetilde{}}{w})}||_{2}^{2}+\underset{\widetilde{}}{\bm{q}}\,(1-\underset{\widetilde{}}{w})^{\top})}F(\mathrm{d}x) and note that C<∑j=1d∗qjC<\sum_{j=1}^{d^{*}}q_{j} by the assumptions on FF. Take ε∗<∑j=1d∗qj−C\varepsilon^{*}<\sum_{j=1}^{d^{*}}q_{j}-C. Then we can find a Pε∗>0P_{\varepsilon^{*}}>0 so that

limn→∞P⁡(gmn,Sn​(x)>(∑j=1d∗qj−ε∗)+g~mn,Sn​(x))=Pε∗\displaystyle\lim_{n\to\infty}P\left(g_{m_{n},S_{n}}(x)>\left(\sum_{j=1}^{d^{*}}q_{j}-\varepsilon^{*}\right)+\tilde{g}_{m_{n},S_{n}}(x)\right)=P_{\varepsilon^{*}}
⇒\displaystyle\Rightarrow limn→∞P⁡(gmn,Sn​(x)>C+g~mn,Sn​(x))=Pε∗\displaystyle\lim_{n\to\infty}P\left(g_{m_{n},S_{n}}(x)>C+\tilde{g}_{m_{n},S_{n}}(x)\right)=P_{\varepsilon^{*}}
⇒\displaystyle\Rightarrow limn→∞P⁡(∫gmn,Sn​(x)​Fn​(𝑑x)>C+∫g~mn,Sn​(x)​Fn​(𝑑x))=Pε∗\displaystyle\lim_{n\to\infty}P\left(\int g_{m_{n},S_{n}}(x)F_{n}(\mathrm{d}x)>C+\int\tilde{g}_{m_{n},S_{n}}(x)F_{n}(\mathrm{d}x)\right)=P_{\varepsilon^{*}}
⇒\displaystyle\Rightarrow limn→∞P⁡(G⁡(mn,Sn,Fn)>G⁡(mn∗,Sn∗,Fn)+oP​(1))=Pε∗>0\displaystyle\lim_{n\to\infty}P\left(G(m_{n},S_{n},F_{n})>G(m_{n}^{*},S_{n}^{*},F_{n})+o_{P}(1)\right)=P_{\varepsilon^{*}}>0

where the oP​(1)o_{P}(1) appears because C=∫minw~∈{0,1}d∗⁡(d(w~)​ln⁡(2​π)+‖x~(w~)‖22+CLOSEC=\int\min_{\underset{\widetilde{}}{w}\in\{0,1\}^{d^{*}}}(d^{(\underset{\widetilde{}}{w})}\ln(2\pi)+||\underset{\widetilde{}}{x}^{(\underset{\widetilde{}}{w})}||_{2}^{2}\;+ OPEN𝒒~​(1−w~)⊤)​Fn​(d​x)+oP​(1)\underset{\widetilde{}}{\bm{q}}\,(1-\underset{\widetilde{}}{w})^{\top})F_{n}(\mathrm{d}x)+o_{P}(1) by the law of large numbers. We thus obtain a contradiction, since (mn,Sn)(m_{n},S_{n}) 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 nn large enough.

Now we know that s1,n,…,sd,ns_{1,n},\ldots,s_{d,n} cannot diverge. It remains to show that the same is true for m1,n,…,md,nm_{1,n},\ldots,m_{d,n}. Suppose w.l.o.g. that the first d∗d^{*} elements of mnm_{n} are not appropriately bounded, i.e. that ∀R>0:∀j∈{1,…,d∗}:lim infn→∞P⁡(mj,n∉B⁡(R))>0\forall R>0:\forall j\in\{1,\ldots,d^{*}\}:\liminf_{n\to\infty}P(m_{j,n}\notin B(R))>0. Note that now, for every ε>0\varepsilon>0, there exists a Pε>0P_{\varepsilon}>0 so that

limn→∞P⁡(gmn,Sn​(x)>(∑j=1d∗qj−ε)+g~mn,Sn​(x))=Pε\lim_{n\to\infty}P\left(g_{m_{n},S_{n}}(x)>\left(\sum_{j=1}^{d^{*}}q_{j}-\varepsilon\right)+\tilde{g}_{m_{n},S_{n}}(x)\right)=P_{\varepsilon}

Intuitively this means that, for any fixed value of xx, by increasing m1,…,md∗m_{1},\ldots,m_{d^{*}} we can get arbitrarily close to the value of the objective function obtained by dropping the first d∗d^{*} coordinates. The contribution of these first d∗d^{*} coordinates to the objective function becomes arbitrarily close to ∑j=1d∗qj\sum_{j=1}^{d^{*}}{q_{j}}. It is worth noting the subtle difference from the scale case, where we had the same identity uniformly for all xx. In this case, we cannot make the exact same statement. However, as long as we bound ‖x‖||x||, we can get uniformity. More specifically, we can strengthen the previous statement as follows. For every ε>0\varepsilon>0 and R>0R>0, we have that there exists a Pε,R>0P_{\varepsilon,R}>0 so that

limn→∞P(∀x∈B(R):gmn,Sn(x)>(∑j=1d∗qj−ε)+g~mn,Sn(x))=Pε,R>0.\lim_{n\to\infty}P\left(\forall x\in B(R):g_{m_{n},S_{n}}(x)>\left(\sum_{j=1}^{d^{*}}q_{j}-\varepsilon\right)+\tilde{g}_{m_{n},S_{n}}(x)\right)=P_{\varepsilon,R}>0.

Note that we used here that all s1,…,sns_{1},\ldots,s_{n} remain bounded (in probability).

We now consider a new sequence of estimates, like before, given by (mn∗,Sn∗)(m_{n}^{*},S_{n}^{*}) where mn∗=[𝟎d∗,m~n]m_{n}*=[\bm{0}_{d^{*}},\tilde{m}_{n}] and Sn∗=[𝑰d∗𝟎𝟎S~n]S_{n}^{*}=\begin{bmatrix}\bm{I}_{d^{*}}&\bm{0}\\ \bm{0}&\tilde{S}_{n}\end{bmatrix}. Additionally, take ε∗<12​(∑j=1d∗qj−C)\varepsilon^{*}<\frac{1}{2}\left(\sum_{j=1}^{d^{*}}q_{j}-C\right). Then take R>0R>0 such that C+(∑j=1d∗qj−|d∗​ln⁡(a)|)​∫B​(R)CF⁡(𝑑x)<ε∗​∫B⁡(R)F⁡(𝑑x)C+\left(\sum_{j=1}^{d^{*}}q_{j}-|d^{*}\ln(a)|\right)\int_{B(R)^{C}}F(\mathrm{d}x)<\varepsilon^{*}\int_{B(R)}F(\mathrm{d}x). Then:

limn→∞P(∀x∈B(R):gmn,Sn(x)>(∑j=1d∗qj−ε∗)+g~mn,Sn(x))=Pε∗,R\displaystyle\lim_{n\to\infty}P\left(\forall x\in B(R):g_{m_{n},S_{n}}(x)>\left(\sum_{j=1}^{d^{*}}q_{j}-\varepsilon^{*}\right)+\tilde{g}_{m_{n},S_{n}}(x)\right)=P_{\varepsilon^{*},R}
⇒\displaystyle\Rightarrow limn→∞P(∀x∈B(R):gmn,Sn(x)>(C+ε∗)+g~mn,Sn(x))=Pε∗,R\displaystyle\lim_{n\to\infty}P\left(\forall x\in B(R):g_{m_{n},S_{n}}(x)>(C+\varepsilon*)+\tilde{g}_{m_{n},S_{n}}(x)\right)=P_{\varepsilon^{*},R}
⇒\displaystyle\Rightarrow limn→∞P(∫B⁡(R)gmn,Sn(x)Fn(dx)>(C+ε∗)∫B⁡(R)Fn(dx)+∫B⁡(R)g~mn,Sn(x)Fn(dx))=Pε∗,R\displaystyle\lim_{n\to\infty}P\left(\int_{B(R)}g_{m_{n},S_{n}}(x)F_{n}(\mathrm{d}x)>(C+\varepsilon*)\int_{B(R)}F_{n}(\mathrm{d}x)+\int_{B(R)}\tilde{g}_{m_{n},S_{n}}(x)F_{n}(\mathrm{d}x)\right)=P_{\varepsilon^{*},R}
⇒\displaystyle\Rightarrow limn→∞P⁡(∫gmn,Sn​(x)​Fn​(𝑑x)−∫B​(R)Cgmn,Sn​(x)​Fn​(𝑑x)​F​(𝑑x)>CLOSE\displaystyle\lim_{n\to\infty}P\left(\int g_{m_{n},S_{n}}(x)F_{n}(\mathrm{d}x)-\int_{B(R)^{C}}g_{m_{n},S_{n}}(x)F_{n}(\mathrm{d}x)\;F(\mathrm{d}x)>\right.
OPENC+ε∗​∫B⁡(R)Fn​(𝑑x)+∫g~mn,Sn​(x)​Fn​(𝑑x)−∫B​(R)CC+g~mn,Sn​(x)​Fn​(𝑑x))=Pε∗,R\displaystyle\left.C+\varepsilon^{*}\int_{B(R)}F_{n}(\mathrm{d}x)+\int\tilde{g}_{m_{n},S_{n}}(x)F_{n}(\mathrm{d}x)-\int_{B(R)^{C}}C+\tilde{g}_{m_{n},S_{n}}(x)F_{n}(\mathrm{d}x)\right)=P_{\varepsilon^{*},R}
⇒\displaystyle\Rightarrow limn→∞P⁡(G⁡(mn,Sn,Fn)−∫B​(R)Cgmn,Sn​(x)​Fn​(𝑑x)​F​(𝑑x)>CLOSE\displaystyle\lim_{n\to\infty}P\left(G(m_{n},S_{n},F_{n})-\int_{B(R)^{C}}g_{m_{n},S_{n}}(x)F_{n}(\mathrm{d}x)\;F(\mathrm{d}x)>\right.
OPENG⁡(mn∗,Sn∗,Fn)+oP​(1)+ε∗​∫B⁡(R)Fn​(𝑑x)−∫B​(R)CC+g~mn,Sn​(x)​Fn​(𝑑x))=Pε∗,R\displaystyle\left.G(m_{n}^{*},S_{n}^{*},F_{n})+o_{P}(1)+\varepsilon^{*}\int_{B(R)}F_{n}(\mathrm{d}x)-\int_{B(R)^{C}}C+\tilde{g}_{m_{n},S_{n}}(x)F_{n}(\mathrm{d}x)\right)=P_{\varepsilon^{*},R}
⇒\displaystyle\Rightarrow limn→∞P⁡(G⁡(mn,Sn,Fn)>CLOSE\displaystyle\lim_{n\to\infty}P\left(G(m_{n},S_{n},F_{n})>\right.
OPENG⁡(mn∗,Sn∗,Fn)+oP​(1)+ε∗​∫B⁡(R)Fn​(𝑑x)−∫B​(R)CC+g~mn,Sn​(x)−gmn,Sn​(x)​Fn​(𝑑x))=Pε∗,R\displaystyle\left.G(m_{n}^{*},S_{n}^{*},F_{n})+o_{P}(1)+\varepsilon^{*}\int_{B(R)}F_{n}(\mathrm{d}x)-\int_{B(R)^{C}}C+\tilde{g}_{m_{n},S_{n}}(x)-g_{m_{n},S_{n}}(x)F_{n}(\mathrm{d}x)\right)=P_{\varepsilon^{*},R}
⇒\displaystyle\Rightarrow limn→∞P⁡(G⁡(mn,Sn,Fn)>G⁡(mn∗,Sn∗,Fn)+oP​(1)+An)=Pε∗,R\displaystyle\lim_{n\to\infty}P\left(G(m_{n},S_{n},F_{n})>G(m_{n}^{*},S_{n}^{*},F_{n})+o_{P}(1)+A_{n}\right)=P_{\varepsilon^{*},R}

where An=ε∗​∫B⁡(R)Fn​(𝑑x)−∫B​(R)C(C+g~mn,Sn​(x)−gmn,Sn​(x))​Fn​(𝑑x)A_{n}=\varepsilon^{*}\int_{B(R)}F_{n}(\mathrm{d}x)-\int_{B(R)^{C}}(C+\tilde{g}_{m_{n},S_{n}}(x)-g_{m_{n},S_{n}}(x))F_{n}(\mathrm{d}x). First note that |g~mn,Sn​(x)−gmn,Sn​(x)|≤(∑j=1d∗qj−|d∗​ln⁡(a)|)|\tilde{g}_{m_{n},S_{n}}(x)-g_{m_{n},S_{n}}(x)|\leq\left(\sum_{j=1}^{d^{*}}q_{j}-|d^{*}\ln(a)|\right). Therefore, P⁡(An>0)→1P(A_{n}>0)\to 1 by our choice of RR and the law of large numbers. Therefore we obtain

limn→∞P⁡(G⁡(mn,Sn,Fn)>G⁡(mn∗,Sn∗,Fn)+oP​(1))=Pε∗,R.\lim_{n\to\infty}P\left(G(m_{n},S_{n},F_{n})>G(m_{n}^{*},S_{n}^{*},F_{n})+o_{P}(1)\right)=P_{\varepsilon^{*},R}\;.

This is again a contradiction, since (mn,Sn)(m_{n},S_{n}) 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 nn large enough. ∎

From Propositions 7 and 8, we now obtain Proposition 3 in the paper.

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 Σ\Sigma 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 μ\mu 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 Σ\Sigma fixed at its minimizer, so only μ\mu varies. We furthermore assume that FF is a strictly unimodal elliptical distribution which allows a density function. Finally, we assume w.l.o.g. that the center of symmetry of FF is μ=0\mu=0.

The following Lemma states the relevant properties of the function gμ,Σg_{\mu,\Sigma} . We will use the notation lw​(x,μ,Σ)≔ln⁡|Σ(w)|+d(𝒘)​ln⁡(2​π)+MD2​(x,w,μ,Σ)+𝒒​(𝟏−w)⊤l_{w}(x,\mu,\Sigma)\coloneqq\ln\left|\Sigma^{(w)}\right|+d^{(\bm{w})}\ln(2\pi)+\text{MD}^{2}(x,w,\mu,\Sigma)+\bm{q}\,(\bm{1}-w)^{\top}.

Lemma 4.

The function gμ,Σ:ℝd→ℝ:x→gμ,Σ​(x)g_{\mu,\Sigma}:\mathbb{R}^{d}\to\mathbb{R}:x\to g_{\mu,\Sigma}(x):

  1. 1.

    is minimal in x=μx=\mu;

  2. 2.

    This minimum is unique as long as ∃δ>0\exists\,\delta>0 such that ∀x∈B⁡(μ,δ)\forall x\in B(\mu,\delta) it holds that argminw⁡lw​(x,μ,Σ)=𝟏d\argmin_{w}l_{w}(x,\mu,\Sigma)=\bm{1}_{d} ;

  3. 3.

    only shifts when μ\mu changes, i.e. gμ,Σ​(x)=g0,Σ​(x−μ)g_{\mu,\Sigma}(x)=g_{0,\Sigma}(x-\mu) 

  4. 4.

    is point symmetric around μ\mu and, for every v∈Sd−1v\in S^{d-1}, weakly monotone increasing in ‖(x−μ)′​v‖||(x-\mu)^{\prime}v||.

Proof.

Suppose we fix μ\mu and ww for a moment. Note that lwl_{w} , as a function of x=(x1,…,xd)x=(x_{1},\ldots,x_{d}), has the following properties:

  • •

    it is quadratic in those xjx_{j} for which wj=1w_{j}=1, and constant in the other xjx_{j}. It is thus strictly monotone increasing in ‖x(w)−μ(w)‖||x^{(w)}-\mu^{(w)}||;

  • •

    it is a point symmetric function in x−μx-\mu;

  • •

    it is minimal in xj=μjx_{j}=\mu_{j} for all xjx_{j} for which wj=1w_{j}=1. So, unless w=1w=1 for all jj, the minimum is not unique;

  • •

    changing μ\mu only shifts this function.

So, each function lwl_{w} is a quadratic function with a minimum at x=0x=0. This minimum is unique only if wj=1w_{j}=1 for all jj, 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

gμ,Σ:ℝd→ℝ:x→gμ,Σ​(x)=minw∈{0,1}d⁡lw​(x,μ,Σ).g_{\mu,\Sigma}:\mathbb{R}^{d}\to\mathbb{R}:x\to g_{\mu,\Sigma}(x)=\min_{w\in\{0,1\}^{d}}l_{w}(x,\mu,\Sigma).

The first claim now immediately follows. Since each lwl_{w} is minimized in x=μx=\mu, this also holds for the minimum of these functions. Now, this minimum need not be unique in principle. However, if ∃δ>0\exists\,\delta>0 such that ∀x∈B⁡(μ,δ)\forall x\in B(\mu,\delta) it holds that argminw⁡lw​(x,μ,Σ)=𝟏d\argmin_{w}l_{w}(x,\mu,\Sigma)=\bm{1}_{d}, then we know that we have an open ball around μ\mu so that for all xx in this ball, w=𝟏dw=\bm{1}_{d} attains the lowest value for ll. In that case, we do have that x=μx=\mu is a unique minimizer of gμ,Σg_{\mu,\Sigma}. Intuitively, if we have a region of observations (centered around μ\mu) where no cells are flagged, we obtain a unique minimum for gμ,Σg_{\mu,\Sigma}.
The third property follows from the fact that for each of the lwl_{w} we have that lw​(x,μ,Σ)=lw​(x−μ,0,Σ)l_{w}(x,\mu,\Sigma)=l_{w}(x-\mu,0,\Sigma), hence it also holds for gμ,Σg_{\mu,\Sigma} .
Finally, gμ,Σg_{\mu,\Sigma} is point symmetric around μ\mu and weakly monotone increasing in ‖(x−μ)′​v‖||(x-\mu)^{\prime}v||, because all lwl_{w} have these same properties. ∎

Now that we have the relevant properties of gμ,Σg_{\mu,\Sigma}, 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 μ=0\mu=0. For this, we first show this in the univariate case.

Lemma 5 (univariate case).

Let g0:ℝ→ℝg_{0}:\mathbb{R}\rightarrow\mathbb{R} be a symmetric function around the origin and assume there is a δ>0\delta>0 such that g0​(|x|)g_{0}(|x|) is strictly increasing for |x|<δ|x|<\delta and monotone increasing for |x|⩾δ|x|\geqslant\delta. Put gμ​(x)≔g0​(x−μ)g_{\mu}(x)\coloneqq g_{0}(x-\mu). Let ff be a strictly unimodal density function symmetric around 0. When gμ​(x)​f​(x)g_{\mu}(x)f(x) is integrable, the integral

∫gμ​(x)​f​(x)​𝑑x\int g_{\mu}(x)f(x)\mathrm{d}x

attains its unique minimum at μ=0\mu=0.

Proof.

Note that

∫gμ​(x)​f​(x)​𝑑x−∫g0​(x)​f​(x)​𝑑x\displaystyle\int g_{\mu}(x)f(x)\mathrm{d}x-\int g_{0}(x)f(x)\mathrm{d}x
=\displaystyle= ∫g0​(x−μ)​f​(x)​𝑑x−∫g0​(x)​f​(x)​𝑑x\displaystyle\int g_{0}(x-\mu)f(x)\mathrm{d}x-\int g_{0}(x)f(x)\mathrm{d}x
=\displaystyle= ∫g0​(x−μ/2)​f​(x+μ/2)​𝑑x−∫g0​(x−μ/2)​f​(x−μ/2)​𝑑x\displaystyle\int g_{0}(x-\mu/2)f(x+\mu/2)\mathrm{d}x-\int g_{0}(x-\mu/2)f(x-\mu/2)\mathrm{d}x
=\displaystyle= ∫g0​(x−μ/2)​{f⁡(x+μ/2)−f⁡(x−μ/2)}​𝑑x\displaystyle\int g_{0}(x-\mu/2)\left\{f(x+\mu/2)-f(x-\mu/2)\right\}\mathrm{d}x
=\displaystyle= ∫ℝ−g0​(x−μ/2)​{f⁡(x+μ/2)−f⁡(x−μ/2)}​𝑑x+\displaystyle\int_{\mathbb{R}^{-}}g_{0}(x-\mu/2)\left\{f(x+\mu/2)-f(x-\mu/2)\right\}\mathrm{d}x\;+
∫ℝ+g0​(x−μ/2)​{f⁡(x+μ/2)−f⁡(x−μ/2)}​𝑑x\displaystyle\int_{\mathbb{R}^{+}}g_{0}(x-\mu/2)\left\{f(x+\mu/2)-f(x-\mu/2)\right\}\mathrm{d}x
=\displaystyle= ∫ℝ+g0​(−x−μ/2)​{f⁡(−x+μ/2)−f⁡(−x−μ/2)}​𝑑x+\displaystyle\int_{\mathbb{R}^{+}}g_{0}(-x-\mu/2)\left\{f(-x+\mu/2)-f(-x-\mu/2)\right\}\mathrm{d}x\;+
∫ℝ+g0​(x−μ/2)​{f⁡(x+μ/2)−f⁡(x−μ/2)}​𝑑x\displaystyle\int_{\mathbb{R}^{+}}g_{0}(x-\mu/2)\left\{f(x+\mu/2)-f(x-\mu/2)\right\}\mathrm{d}x
=\displaystyle= ∫ℝ+{g0​(x+μ/2)−g0​(x−μ/2)}​{f⁡(x−μ/2)−f⁡(x+μ/2)}​𝑑x\displaystyle\int_{\mathbb{R}^{+}}\left\{g_{0}(x+\mu/2)-g_{0}(x-\mu/2)\right\}\left\{f(x-\mu/2)-f(x+\mu/2)\right\}\mathrm{d}x

where we have used the symmetry of ff in the last equality.

If μ⩾0\mu\geqslant 0, then the last line is ⩾0\geqslant 0 because both factors are ⩾0\geqslant 0 due to g0g_{0} being monotone increasing and symmetric and ff being unimodal and symmetric, and |x+μ/2|⩾|x−μ/2||x+\mu/2|\geqslant|x-\mu/2| for x⩾0x\geqslant 0. For μ>0\mu>0 we obtain |x+μ/2|>|x−μ/2||x+\mu/2|>|x-\mu/2| in all x>0x>0 so almost everywhere, and by strict unimodality of ff the integrated inequality is strict. If μ⩽0\mu\leqslant 0 then the last line is still ⩾0\geqslant 0, as now both factors are ⩽0\leqslant 0 because of the same reasons. So we find

∫gμ​(x)​f​(x)​𝑑x−∫g0​(x)​f​(x)​𝑑x⩾0\int g_{\mu}(x)f(x)\mathrm{d}x-\int g_{0}(x)f(x)\mathrm{d}x\geqslant 0

for all μ\mu. Note that the equality is reached for μ=0\mu=0, and this is the unique minimizer due to the strict monotonicity of g0g_{0} in its central region and the strict unimodality of ff. ∎

Now we need a multivariate version of the above, which is stated below:

Proposition 9 (multivariate case).

Let the function g0:ℝd→ℝg_{0}:\mathbb{R}^{d}\rightarrow\mathbb{R} be point symmetric around the origin and assume there is a δ>0\delta>0 such that for every direction vv on the unit sphere Sd−1S^{d-1} it holds that g0​(t​v)g_{0}(tv) is strictly increasing for 0⩽t<δ0\leqslant t<\delta and weakly monotone increasing for t⩾δt\geqslant\delta. Put gμ​(x)≔g0​(x−μ)g_{\mu}(x)\coloneqq g_{0}(x-\mu). Let ff be a strictly unimodal density function which is elliptical around 0. When gμ​(x)​f​(x)g_{\mu}(x)f(x) is integrable,

∫gμ​(x)​f​(x)​𝑑x\int g_{\mu}(x)f(x)\mathrm{d}x

attains its unique minimum at μ=0\mu=0.

Proof.

Note that

∫gμ​(x)​f​(x)​𝑑x=∫g0​(x)​f​(x+μ)​𝑑x.\int g_{\mu}(x)f(x)\mathrm{d}x=\int g_{0}(x)f(x+\mu)\mathrm{d}x\;.

By switching to hyperspherical coordinates this multivariate integral becomes

12​∫v∈Sd−1{∫t∈ℝg0​(t​v)​f​(t​v+μ)​|t|d−1​𝑑t}​𝑑η​(v)\frac{1}{2}\int_{v\in S^{d-1}}\left\{\int_{t\in\mathbb{R}}g_{0}(tv)f(tv+\mu)|t|^{d-1}\mathrm{d}t\right\}d\eta(v)

where η\eta is the uniform probability measure on the unit sphere S(d−1)S^{(d-1)}. This is a change of variables: x is written as t​vtv with t∈ℝt\in\mathbb{R} and v∈Sd−1v\in S^{d-1}. The factor |t|d−1|t|^{d-1} is the Jacobian.

Now consider the inner integral

∫t∈ℝg0​(t​v)​f​(t​v+μ)​|t|d−1​𝑑t=∫t∈ℝh⁡(t)​f​(t​v+μ)​𝑑t\int_{t\in\mathbb{R}}g_{0}(tv)f(tv+\mu)|t|^{d-1}\mathrm{d}t=\int_{t\in\mathbb{R}}h(t)f(tv+\mu)\mathrm{d}t

where the univariate function h⁡(t)≔g0​(t​v)​|t|d−1h(t)\coloneqq g_{0}(tv)|t|^{d-1} is symmetric around t=0t=0 and monotone increasing in |t||t|, and even strictly monotone increasing for |t|<δ|t|<\delta.

The other function in the inner integral is f⁡(t​v+μ)f(tv+\mu) where t​v+μtv+\mu forms a straight line. Due to the properties of ff this function is symmetric about t0=−μ′​vt_{0}=-\mu^{\prime}v and strictly unimodal. It is in fact a constant multiple of the conditional density on that line. Consider the univariate function f(v)​(t)≔f​(t​v)f^{(v)}(t)\coloneqq f(tv). Then f⁡(t​v+μ)=f(v)​(t−t0)f(tv+\mu)=f^{(v)}(t-t_{0}) is a univariate function of tt. So the entire inner integral becomes

∫t∈ℝh⁡(t)​f(v)​(t−t0)​𝑑t=∫t∈ℝh⁡(t−(−t0))​f(v)​(t)​𝑑t.\int_{t\in\mathbb{R}}h(t)f^{(v)}(t-t_{0})\,\mathrm{d}t=\int_{t\in\mathbb{R}}h(t-(-t_{0}))f^{(v)}(t)\,\mathrm{d}t\;.

To this integral we can apply Lemma 5, which tells us that the integral is minimized when t0=0t_{0}=0 and that this minimizer is unique. So we know that for any direction v∈Sd−1v\in S^{d-1} the inner integral is minimal when μ′​v=−t0=0\mu^{\prime}v=-t_{0}=0. Therefore the entire integral is minimal when μ=0\mu=0. This minimizer is unique because the only vector μ\mu that is orthogonal to every direction vv on the unit sphere is the origin. ∎

Proposition 4 in the paper now follows from Lemma 4 and Proposition 9. It covers typical model distributions ff such as multivariate Gaussians and elliptical tt-distributions.

A.3  About the algorithm in Section 4

Proof of Proposition 5.

Put 𝝁=𝟎\bm{\mu}=\bm{0} without loss of generality. Following Petersen and Pedersen (2012), p. 47, we can write

𝚺−1=𝑨​𝑩​𝑨⊤\bm{\Sigma}^{-1}=\bm{A}\bm{B}\bm{A}^{\top}

with

𝑨=[𝑰𝟎−𝚺22−1​𝚺21𝑰]​ and 𝑩=[𝑪1−1𝟎𝟎𝚺22−1].\begin{array}[]{ll}\bm{A}=\begin{bmatrix}\bm{I}&\bm{0}\\ -\bm{\Sigma}_{22}^{-1}\bm{\Sigma}_{21}&\bm{I}\end{bmatrix}\;\;\mbox{ and }&\bm{B}=\begin{bmatrix}\bm{C}_{1}^{-1}&\bm{0}\\ \bm{0}&\bm{\Sigma}_{22}^{-1}\end{bmatrix}\;.\end{array}

Note that

𝒙⊤​𝑨=[𝒙1⊤−𝒙2⊤​𝚺22−1​𝚺21𝒙2⊤]=[𝒙1⊤−𝒙^1⊤𝒙2⊤]\bm{x}^{\top}\bm{A}=\begin{bmatrix}\bm{x}_{1}^{\top}-\bm{x}_{2}^{\top}\bm{\Sigma}_{22}^{-1}\bm{\Sigma}_{21}&\bm{x}_{2}^{\top}\end{bmatrix}=\begin{bmatrix}\bm{x}_{1}^{\top}-\bm{\widehat{x}}_{1}^{\top}&\bm{x}_{2}^{\top}\end{bmatrix}

and so

MD2⁡(𝐱,𝟎,𝚺)\displaystyle\MD^{2}(\bm{x},\bm{0},\bm{\Sigma}) =𝒙⊤​𝚺−1​𝒙=(𝒙⊤​𝑨)​𝑩​(𝒙⊤​𝑨)⊤\displaystyle=\bm{x}^{\top}\bm{\Sigma}^{-1}\bm{x}=(\bm{x}^{\top}\bm{A})\bm{B}(\bm{x}^{\top}\bm{A})^{\top}
=(𝒙1−𝒙^1)⊤​𝑪1−1​(𝒙1−𝒙^1)+𝒙2⊤​𝚺22−1​𝒙2\displaystyle=(\bm{x}_{1}-\bm{\widehat{x}}_{1})^{\top}\bm{C}_{1}^{-1}(\bm{x}_{1}-\bm{\widehat{x}}_{1})+\bm{x}_{2}^{\top}\bm{\Sigma}_{22}^{-1}\bm{x}_{2}
=MD2⁡(𝐱1,𝐱^1,𝐂1)+MD2⁡(𝐱2,𝟎,𝚺22).\displaystyle=\MD^{2}(\bm{x}_{1},\bm{\widehat{x}}_{1},\bm{C}_{1})+\MD^{2}(\bm{x}_{2},\bm{0},\bm{\Sigma}_{22})\;.

For (17), we verify that

|𝚺−1|=|𝑨|​|𝑩||𝑨|=1​|𝑪1−1|​|𝚺22−1|​ 1|\bm{\Sigma}^{-1}|=|\bm{A}|\,|\bm{B}|\,|\bm{A}|=1\,|\bm{C}_{1}^{-1}|\,|\bm{\Sigma}_{22}^{-1}|\,1

so

|𝚺|=|𝑪1|​|𝚺22|.|\bm{\Sigma}|=|\bm{C}_{1}|\,|\bm{\Sigma}_{22}|\;.

Finally,

L⁡(𝒙,𝝁,𝚺)−L⁡(𝒙2,𝝁2,𝚺22)\displaystyle L(\bm{x},\bm{\mu},\bm{\Sigma})-L(\bm{x}_{2},\bm{\mu}_{2},\bm{\Sigma}_{22})
=MD2⁡(𝐱,𝝁,𝚺)−MD2⁡(𝐱2,𝝁2,𝚺22)+d​ln⁡(2​π)−d(𝐱2)​ln⁡(2​π)+ln|𝚺|−ln⁡|𝚺22|\displaystyle=\MD^{2}(\bm{x},\bm{\mu},\bm{\Sigma})-\MD^{2}(\bm{x}_{2},\bm{\mu}_{2},\bm{\Sigma}_{22})+d\ln(2\pi)-d^{(\bm{x}_{2})}\ln(2\pi)+\ln|\bm{\Sigma}|-\ln|\bm{\Sigma}_{22}|
=MD2⁡(𝐱1,𝐱^1,𝐂1)+d(𝐱1)​ln⁡(2​π)+ln⁡|𝐂1|=L⁡(𝐱1,𝐱^1,𝐂1).\displaystyle=\MD^{2}(\bm{x}_{1},\bm{\widehat{x}}_{1},\bm{C}_{1})+d^{(\bm{x}_{1})}\ln(2\pi)+\ln|\bm{C}_{1}|=L(\bm{x}_{1},\bm{\widehat{x}}_{1},\bm{C}_{1})\;.

∎

Pseudocode of the cellMCD algorithm

For the purpose of clarity, we assume throughout the pseudocode algorithms that n,d,qjn,d,q_{j}, and hh 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.

Algorithm 1 The cellMCD algorithm
A dataset 𝑿∈ℝn×d\bm{X}\in\mathbb{R}^{n\times d}, initial estimates μ^init\widehat{\mu}_{\mbox{\small{init}}} and Σ^init\widehat{\Sigma}_{\mbox{\small{init}}} of location and scatter and a matrix Winit∈{0,1}n×dW_{\mbox{\small{init}}}\in\{0,1\}^{n\times d} of flagged cells.
μ^←μ^init\widehat{\mu}\leftarrow\widehat{\mu}_{\mbox{\small{init}}}
Σ^←Σ^init\widehat{\Sigma}\leftarrow\widehat{\Sigma}_{\mbox{\small{init}}}
W←WinitW\leftarrow W_{\mbox{\small{init}}}
Objective←getObjective​(𝑿,μ^,Σ^,W)\texttt{Objective}\leftarrow\texttt{getObjective}(\bm{X},\widehat{\mu},\widehat{\Sigma},W) ⊳\triangleright Initial value of the objective
while !Converged do
  W←updateW​(𝑿,μ^,Σ^,W)W\leftarrow\texttt{updateW}(\bm{X},\widehat{\mu},\widehat{\Sigma},W) ⊳\triangleright Part a of the C-step
  (μ^,Σ^)←updatemS​(𝑿,μ^,Σ^,W)(\widehat{\mu},\widehat{\Sigma})\leftarrow\texttt{updatemS}(\bm{X},\widehat{\mu},\widehat{\Sigma},W) ⊳\triangleright Part b of the C-step
  Converged←(Objective−getObjective​(𝑿,μ^,Σ^,W))<1​e-​10\texttt{Converged}\leftarrow(\texttt{Objective}-\texttt{getObjective}(\bm{X},\widehat{\mu},\widehat{\Sigma},W))<1\text{e-}10
  Objective←getObjective​(𝑿,μ^,Σ^,W)\texttt{Objective}\leftarrow\texttt{getObjective}(\bm{X},\widehat{\mu},\widehat{\Sigma},W)
end while
return (μ^,Σ^,W)(\widehat{\mu},\widehat{\Sigma},W)
Algorithm 2 Part a of the C-step
function updateW(𝑿,μ^,Σ^,W\bm{X},\widehat{\mu},\widehat{\Sigma},W)
  ordering←order​(|𝑿|​𝟏d)\texttt{ordering}\leftarrow\texttt{order}(|\bm{X}|\bm{1}_{d}) ⊳\triangleright Order of variable updates
  for j ∈\in ordering do⊳\triangleright Cycle through the variables in order
   Δ←𝟎d\Delta\leftarrow\bm{0}_{d}
   for i= 1:n do
     obs←(Wi,⋅==1)\texttt{obs}\leftarrow(W_{i,\cdot}==1) ⊳\triangleright Indices of preserved cells
     xhat←μ^j+Σ^j,obs​(Σ^obs,obs)−1​(𝑿i,obs−μ^obs)\texttt{xhat}\leftarrow\widehat{\mu}_{j}+\widehat{\Sigma}_{j,\texttt{obs}}\left(\widehat{\Sigma}_{\texttt{obs},\texttt{obs}}\right)^{-1}(\bm{X}_{i,\texttt{obs}}-\widehat{\mu}_{\texttt{obs}}) ⊳\triangleright Conditional expectation
     C←Σ^j,j−Σ^j,obs​(Σ^obs,obs)−1​Σ^obs,jC\leftarrow\widehat{\Sigma}_{j,j}-\widehat{\Sigma}_{j,\texttt{obs}}\left(\widehat{\Sigma}_{\texttt{obs},\texttt{obs}}\right)^{-1}\widehat{\Sigma}_{\texttt{obs},j} ⊳\triangleright Conditional variance
     Δi←ln⁡(C)+ln⁡(2​π)+(𝑿i​j−xhat)2/C−qj\Delta_{i}\leftarrow\ln(C)+\ln(2\pi)+(\bm{X}_{ij}-\texttt{xhat})^{2}/C-q_{j}
   end for
   cutoff←max⁡{Δ(h),0}\texttt{cutoff}\leftarrow\max\{\Delta_{(h)},0\} ⊳\triangleright Flag no more than n−hn-h positive Deltas
   for i= 1:n do
     if Δi≥cutoff\Delta_{i}\geq\texttt{cutoff} then
      Wi,j←0W_{i,j}\leftarrow 0
     else
      Wi,j←1W_{i,j}\leftarrow 1
     end if
   end for
  end for
  return WW
end function
Algorithm 3 Part b of the C-step
function updatemS(𝑿,μ^,Σ^,W\bm{X},\widehat{\mu},\widehat{\Sigma},W)
  𝑿imp←𝑿\bm{X}_{\texttt{imp}}\leftarrow\bm{X} ⊳\triangleright Initialize imputed data matrix
  B←𝟎d×dB\leftarrow\bm{0}^{d\times d} ⊳\triangleright Initialize bias correction matrix
  for i= 1:n do
   mis←(Wi,⋅==0)\texttt{mis}\leftarrow(W_{i,\cdot}==0) ⊳\triangleright Indices of flagged cells
   obs←(Wi,⋅==1)\texttt{obs}\leftarrow(W_{i,\cdot}==1) ⊳\triangleright Indices of preserved cells
   𝑿imp,i,mis←μ^mis+Σ^mis,obs​(Σ^obs,obs)−1​(𝑿i,obs−μ^obs)\bm{X}_{\texttt{imp},i,\texttt{mis}}\leftarrow\widehat{\mu}_{\texttt{mis}}+\widehat{\Sigma}_{\texttt{mis},\texttt{obs}}\left(\widehat{\Sigma}_{\texttt{obs},\texttt{obs}}\right)^{-1}(\bm{X}_{i,\texttt{obs}}-\widehat{\mu}_{\texttt{obs}})
   Bmis,mis←Bmis,mis+(Σ^mis,mis−Σ^mis,obs​(Σ^obs,obs)−1​Σ^obs,mis)B_{\texttt{mis},\texttt{mis}}\leftarrow B_{\texttt{mis},\texttt{mis}}+\left(\widehat{\Sigma}_{\texttt{mis},\texttt{mis}}-\widehat{\Sigma}_{\texttt{mis},\texttt{obs}}\left(\widehat{\Sigma}_{\texttt{obs},\texttt{obs}}\right)^{-1}\widehat{\Sigma}_{\texttt{obs},\texttt{mis}}\right)
  end for
  μ^←1n​𝑿imp​𝟏d\widehat{\mu}\leftarrow\frac{1}{n}\bm{X}_{\texttt{imp}}\bm{1}_{d}
  Σ^←1n​(𝑿imp−𝟏n​μ^′)′​(𝑿imp−𝟏n​μ^′)+1n​B\widehat{\Sigma}\leftarrow\frac{1}{n}(\bm{X}_{\texttt{imp}}-\bm{1}_{n}\;\widehat{\mu}^{\prime})^{\prime}(\bm{X}_{\texttt{imp}}-\bm{1}_{n}\;\widehat{\mu}^{\prime})+\frac{1}{n}B
  return (μ^,Σ^)(\widehat{\mu},\widehat{\Sigma})
end function
Proof of Proposition 6.

We first prove statement (i). Part (a) of the C-step repeatedly updates one column of 𝑾~\bm{\widetilde{W}}, say column jj. It sets 𝒘~i​j=1\bm{\widetilde{w}}_{ij}=1 for all ii with negative Δi​j\Delta_{ij}. If that number exceeds hh the constraint is satisfied, and otherwise it takes the hh smallest values of Δi​j\Delta_{ij}. In either case we obtain the lowest sum of the terms of the objective (9) in column jj 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 λd​(𝚺^)⩾a\lambda_{d}(\bm{\widehat{\Sigma}})\geqslant a is applied by truncating all eigenvalues of 𝚺^\bm{\widehat{\Sigma}} at aa 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 𝑾\bm{W}. Then the first term satisfies ln⁡(|𝚺(wi)|)=ln⁡(∏jλj​(𝚺(wi)))=∑jln⁡(λj​(𝚺(wi)))⩾‖wi‖0​ln⁡(λd​(𝚺))⩾||wi||0​ln⁡(a)\ln(|\bm{\Sigma}^{(w_{i})}|)=\ln(\prod_{j}{\lambda_{j}(\bm{\Sigma}^{(w_{i})})})=\sum_{j}{\ln(\lambda_{j}(\bm{\Sigma}^{(w_{i})}))}\geqslant||w_{i}||_{0}\ln(\lambda_{d}(\bm{\Sigma}))\geqslant||w_{i}||_{0}\ln(a) 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 𝑾\bm{W} 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 𝝁^0\bm{\widehat{\mu}}^{0} and 𝚺^0\bm{\widehat{\Sigma}}^{0} of location and covariance. For this purpose we developed an initial estimator called DDCW, described here. Its steps are:

  1. 1.

    Drop variables with too many missing values or zero median absolute deviation, and continue with the remaining columns.

  2. 2.

    Run the DetectDeviatingCells (DDC) method (Rousseeuw and Van den Bossche, 2018) with the constraint that no more than n−hn-h 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 𝒛i\bm{z}_{i} .

  3. 3.

    Project the 𝒛i\bm{z}_{i} on the axes of their principal components, yielding the transformed data points 𝒛~i\bm{\widetilde{z}}_{i} .

  4. 4.

    Compute the wrapped location 𝝁^w\bm{\widehat{\mu}}_{w} and covariance matrix 𝚺^w\bm{\widehat{\Sigma}}_{w} (Raymaekers and Rousseeuw, 2021a) of these 𝒛~i\bm{\widetilde{z}}_{i} . Next, compute the temporary points 𝒖i=(ui​1,…,ui​d)\bm{u}_{i}=(u_{i1},...,u_{id}) given by ui​j=max⁡(min⁡(z~i​j−(𝝁^w)j,2),−2)u_{ij}=\max(\min(\tilde{z}_{ij}-(\bm{\widehat{\mu}}_{w})_{j},2),-2). Then remove all cases for which the squared robust distance RD2⁡(i)=𝐮i′​𝚺^w−1​𝐮i\RD^{2}(i)=\bm{u}_{i}^{\prime}\bm{\widehat{\Sigma}}_{w}^{-1}\bm{u}_{i} exceeds  χd,0.992​medianh⁡(RD2⁡(h))/χd,0.52\chi^{2}_{d,0.99}\median_{h}(\RD^{2}(h))/\chi^{2}_{d,0.5} .

  5. 5.

    Project the remaining 𝒛~i\bm{\widetilde{z}}_{i} on the eigenvectors of 𝚺^w\bm{\widehat{\Sigma}}_{w} and again compute a wrapped location and covariance matrix.

  6. 6.

    Transform these estimates back to the original coordinate system of the imputed data, and undo the scaling. This yields the estimates 𝝁^0\bm{\widehat{\mu}}^{0} and 𝚺^0\bm{\widehat{\Sigma}}^{0} .

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 RD\RD 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 qjq_{j} in the objective function (9) are given by expression (21) which contains the single tuning constant pp. 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 xi​jx_{ij} is

ln⁡(Ci​j)+ln⁡(2​π)+(xi​j−x^i​j)2/Ci​j>qj\displaystyle\ln(C_{ij})+\ln(2\pi)+(x_{ij}-\widehat{x}_{ij})^{2}/C_{ij}>q_{j}

where the scalars x^i​j\widehat{x}_{ij} and Ci​jC_{ij} are the estimated conditional mean and variance of the cell Xi​jX_{ij} given the observed cells in row ii, i.e. those with w~i⋅=1\widetilde{w}_{i\cdot}=1. Together with our choice of qjq_{j} in (21), we see that xi​jx_{ij} is flagged if and only if

(xi​j−x^i​j)2Ci​j>χ1,p2,\frac{(x_{ij}-\widehat{x}_{ij})^{2}}{C_{ij}}\,>\chi^{2}_{1,p}\;,

i.e. its squared conditional residual exceeds the pp-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 𝑾\bm{W} it satisfies (keeping 𝝁=𝟎\bm{\mu}=\bm{0} fixed for simplicity of notation):

Σ^j​k=1n​∑i=1n𝒚i​j​𝒚i​k+cj​k​i\widehat{\Sigma}_{jk}=\frac{1}{n}\sum_{i=1}^{n}\bm{y}_{ij}\bm{y}_{ik}+c_{jki}

where

𝒚i​j={𝒙j if ​𝒘i​j=1E[𝒙j|𝒘i,𝚺^] if ​𝒘i​j=0\bm{y}_{ij}=\begin{cases}\bm{x}_{j}&\mbox{ if }\bm{w}_{ij}=1\\ E[\bm{x}_{j}|\bm{w}_{i},\bm{\widehat{\Sigma}}]&\mbox{ if }\bm{w}_{ij}=0\\ \end{cases}

and

cj​k​i={0 if ​𝒘i​j=1​ or ​𝒘i​k=1Cov[𝒙i​j,𝒙i​k|𝒘i,𝚺^] if ​𝒘i​j=𝒘i​k=0c_{jki}=\begin{cases}0&\mbox{ if }\bm{w}_{ij}=1\mbox{ or }\bm{w}_{ik}=1\\ \mbox{Cov}[\bm{x}_{ij},\bm{x}_{ik}|\bm{w}_{i},\bm{\widehat{\Sigma}}]&\mbox{ if }\bm{w}_{ij}=\bm{w}_{ik}=0\\ \end{cases}

This is the maximum likelihood estimate for incomplete data, which is consistent for cells missing completely at random, but here the wi​jw_{ij} 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 pp we look at regions where one or both cells are flagged. For this we considered a bivariate normal distribution with center 𝝁=𝟎\bm{\mu}=\bm{0}. The diagonal entries of its scatter matrix 𝚺\bm{\Sigma} are 11, and its off-diagonal entries equal ρ=0.9\rho=0.9. The resulting “domains of attraction” are shown in the figure below, for different values of pp. 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 pp.

Figure 7: Domain of attraction for ρ=0.9\rho=0.9 and quantiles of 0.95, 0.99, 0.995, 0.999.

As long as x^i​j\widehat{x}_{ij} and Ci​jC_{ij} 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 pp is taken large enough.

This might tempt us to look for a rate at which pp 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 pp diverges. To see why the breakdown value is lost, let p⁡(n)p(n) tend to 1 at some rate depending on the sample size nn. 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 ε​n\varepsilon n for some 0<ε<(n−h)/n0<\varepsilon<(n-h)/n, and set them equal to the sequence cnc_{n} where cnc_{n} does not diverge too fast, while 𝒘i​j=1\bm{w}_{ij}=1. It suffices to take cn=o⁡(χ1,p⁡(n)2)c_{n}=\mathrm{o}\left(\sqrt{\chi^{2}_{1,p(n)}}\right). But then the method would break down.

The default choice of p=0.99p=0.99 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 pp is very robust to outliers, and Table 2 showed its good finite-sample efficiency. We can also look at the efficiency for varying pp. The table below shows some approximate large-sample efficiencies as a function of pp. They were obtained by repeatedly generating n=10000n=10000 data points from the multivariate normal distribution in dimension d=3d=3 with covariance matrix of type A09, and running cellMCD with cutoff qjq_{j} given by different pp-th quantiles. The variances of the entries of the resulting matrices Σ^\widehat{\Sigma} were then compared to those of the classical covariance matrix. This rough result illustrates that the efficiency goes up with increasing pp, and reaches a satisfactory value for p=0.99p=0.99.

quantile pp 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
Table 3: Approximate efficiency of the entries of 𝚺^\bm{\widehat{\Sigma}} as a function of the quantile pp.

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.

γ\gamma
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
Table 4: Standard deviations of the discrepancy for Σ=ΣALYZ\Sigma=\Sigma_{\mbox{ALYZ}}
γ\gamma
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
Table 5: Standard deviations of the discrepancy for Σ=ΣA09\Sigma=\Sigma_{\mbox{A09}}

In these tables we note that the standard deviations differ a lot by method and value of γ\gamma. 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, d=𝟏𝟎\bm{d=10}

A09 model, 10% outliers, d=𝟏𝟎\bm{d=10}

Figure 8: Signal to noise ratio of the discrepancy of estimated covariance matrices for d=10d=10 and n=100n=100.

ALYZ model, 10% outliers, d=𝟐𝟎\bm{d=20}

A09 model, 10% outliers, d=𝟐𝟎\bm{d=20}

ALYZ model, 10% outliers, d=𝟒𝟎\bm{d=40}

A09 model, 10% outliers, d=𝟒𝟎\bm{d=40}

Figure 9: Signal to noise ratio of the discrepancy of estimated covariance matrices for d=20d=20 and n=400n=400 (top panels) and for d=40d=40 and n=800n=800 (bottom panels).

A.6.2  Simulation on the ordering of the variables

In section 4, part (a) of the C-step updates the matrix 𝑾\bm{W} in (9) while keeping 𝝁^(k)\bm{\widehat{\mu}}^{(k)} and 𝚺^(k)\bm{\widehat{\Sigma}}^{(k)} unchanged. We start the new pattern 𝑾~\bm{\widetilde{W}} as 𝑾~=𝑾(k)\bm{\widetilde{W}}=\bm{W}^{(k)}, and then we modify 𝑾~\bm{\widetilde{W}} column by column, by cycling over the variables j=1,…,dj=1,\ldots,d. 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 dd).

  • •

    T descending: the variables are updated in the order of descending tail weight, as measured by ∑i=1n|Xi​j|\sum_{i=1}^{n}|X_{ij}|.

  • •

    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 ∑i=1nWi​j\sum_{i=1}^{n}W_{ij} .

  • •

    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(μ^\widehat{\mu}) KLdiv(Σ^\widehat{\Sigma}) 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
Table 6: d=10d=10, n=100n=100, Σ=ΣA09\Sigma=\Sigma_{\mbox{A09}} with ε=0\varepsilon=0.
MSE(μ^\widehat{\mu}) KLdiv(Σ^\widehat{\Sigma}) 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
Table 7: d=10d=10, n=100n=100, Σ=ΣA09\Sigma=\Sigma_{\mbox{A09}} with ε=0.1\varepsilon=0.1 and γ=4\gamma=4.
MSE(μ^\widehat{\mu}) KLdiv(Σ^\widehat{\Sigma}) 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
Table 8: d=10d=10, n=100n=100, Σ=ΣA09\Sigma=\Sigma_{\mbox{A09}} with ε=0.2\varepsilon=0.2 and γ=4\gamma=4.

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 𝑾\bm{W} in (9) while keeping 𝝁^\bm{\widehat{\mu}} and 𝚺^\bm{\widehat{\Sigma}} as they are. Let us call this a W-step. Part (b) uses the new ‘missingness’ pattern 𝑾\bm{W} and carries out an EM-step to update 𝝁^\bm{\widehat{\mu}} and 𝚺^\bm{\widehat{\Sigma}}. 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 dd is either 10 (with n=100n=100), 20 (with n=400n=400), or 40 (with n=800n=800), and the true Σ\Sigma is either A09 or ALYZ. The contamination fraction ε\varepsilon is 0, 0.1, or 0.2 . And finally, the position of the cellwise outliers is given by γ\gamma 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.

Table 9: Average computation times (in seconds) of algorithm versions.
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(μ^\widehat{\mu}), KLdiv(Σ^\widehat{\Sigma}) and the objective function were tiny. Also, the effect is not systematic: more computation time does not necessarily yield a lower MSE(μ^\widehat{\mu}), KLdiv(Σ^\widehat{\Sigma}), or objective.

A09 ALYZ
ε\varepsilon γ\gamma method MSE(μ^\widehat{\mu}) KLdiv(Σ^\widehat{\Sigma}) objective MSE(μ^\widehat{\mu}) KLdiv(Σ^\widehat{\Sigma}) 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
Table 10: Comparison of different algorithm versions on data with d=10 and n=100.
A09 ALYZ
ε\varepsilon γ\gamma method MSE(μ^\widehat{\mu}) KLdiv(Σ^\widehat{\Sigma}) objective MSE(μ^\widehat{\mu}) KLdiv(Σ^\widehat{\Sigma}) 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
Table 11: Comparison of different algorithm versions on data with d=20 and n = 400.
A09 ALYZ
ε\varepsilon γ\gamma method MSE(μ^\widehat{\mu}) KLdiv(Σ^\widehat{\Sigma}) objective MSE(μ^\widehat{\mu}) KLdiv(Σ^\widehat{\Sigma}) 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
Table 12: Comparison of different algorithm versions on data with d=40 and n = 800.

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 qj=0q_{j}=0. 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.

Figure 10: Kullback-Leibler discrepancy of estimated covariance matrices for n=100n=100 (top), n=400n=400 (middle) and n=800n=800 (bottom), for ALYZ (left) and A09 (right), with ε=0.1\varepsilon=0.1.

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.