What is robust covariance estimation?

What is robust covariance estimation?

The Minimum Covariance Determinant estimator (MCD) is a robust, high-breakdown point (i.e. it can be used to estimate the covariance matrix of highly contaminated datasets, up to n samples − n features − 1 2 outliers) estimator of covariance. …

What is robust covariance?

Robust covariance methods are based on the fact that outliers lead to an increase of the values (entries) in Σ, making the spread of the data apparently larger. Consequently, |Σ| (the determinant) will also be larger, which would theoretically decrease by removing extreme events.

What is empirical covariance matrix?

The sample covariance matrix (SCM) is an unbiased and efficient estimator of the covariance matrix if the space of covariance matrices is viewed as an extrinsic convex cone in Rp×p; however, measured using the intrinsic geometry of positive-definite matrices, the SCM is a biased and inefficient estimator.

What is minimum covariance determinant?

The minimum covariance determinant (MCD) method is a highly robust estimator of multivariate location and scatter, for which a fast algorithm is available. The MCD estimator is reviewed, along with its main properties such as affine equivariance, breakdown value, and influence function.

How do you calculate empirical covariance?

  1. Covariance measures the total variation of two random variables from their expected values.
  2. Obtain the data.
  3. Calculate the mean (average) prices for each asset.
  4. For each security, find the difference between each value and mean price.
  5. Multiply the results obtained in the previous step.

What is MCD estimator?

The minimum covariance determinant (MCD) estimator is one of the first affine equivariant and highly robust estimators of multivariate location and scatter (Rousseeuw, 1984, 1985). Being resistant to outlying observations makes the MCD very useful for outlier detection.

Is the minimum covariance determinator a robust estimator?

The Minimum Covariance Determinant estimator is a robust, high-breakdown point (i.e. it can be used to estimate the covariance matrix of highly contaminated datasets, up to n samples − n features − 1 2 outliers) estimator of covariance.

How to find outliers in robust covariance matrix?

Identify and plot the data points that robustcov considers outliers. robustcov identifies the data points on the right side of the plot as potential outliers, and treats them accordingly when calculating the robust covariance matrix.

How to calculate the robust covariance of feature 2?

X[-n_outliers:] = np.dot(np.random.randn(n_outliers, n_features), outliers_cov) Below, we fit MCD and MLE based covariance estimators to our data and print the estimated covariance matrices. Note that the estimated variance of feature 2 is much higher with the MLE based estimator (7.5) than that of the MCD robust estimator (1.2).

How to plot Mahalanobis distances for robust covariance estimation?

We take the cubic root of the Mahalanobis distances, yielding approximately normal distributions (as suggested by Wilson and Hilferty 2 ), then plot the values of inlier and outlier samples with boxplots. The distribution of outlier samples is more separated from the distribution of inlier samples for robust MCD based Mahalanobis distances.