MCD factors

PortfolioOptimisers.MCDSmallSampleCorrection — Type
struct MCDSmallSampleCorrection <: AbstractAlgorithm

Corrects the bias of the MCD covariance in a small sample with the factors of [1].

The consistency factor of mcd_consistency is exact as $n$ grows. In a small sample the MCD covariance is still too small. [1] simulates the bias at the subset fractions 1/2 and 7/8 for many $n$ and $p$. It fits the factor to a power of $n$ whose coefficients are a power of $p$, and interpolates in the subset fraction. mcd_correction computes the factor. The raw MCD and the reweighted MCD have separate coefficients.

The coefficients are those of the R package robustbase, version 0.99-7, because [1] prints the coefficients of the least trimmed squares regression alone. For $n \leq 20$ and $p \leq 9$ at the subset fraction 1/2, that package replaces the fitted factor with a table of simulated values. This type uses the fitted factor at every $n$, so it differs from that package in such a small sample.

Warning

The figures of [1] start at 20 observations. For a smaller $n$ that is near to $2p$, the fitted factor is too large. At the subset fraction 1/2, $n = 14$ and $p = 5$, the factor of the reweighted MCD is 21, and the mean of 1000 simulated normal samples needs 2.3. At $n = 12$ the factor is negative, and the fit raises a DomainError. Use ssc = nothing for such a sample.

Examples

julia> MCDSmallSampleCorrection()MCDSmallSampleCorrection()

Related

References

  • [1] G. Pison, S. Van Aelst and G. Willems. Small sample corrections for LTS and MCD. Metrika 55, 111–123 (2002). Sections 3 and 4.
source

References

[1]
G. Pison, S. Van Aelst and G. Willems. Small sample corrections for LTS and MCD. Metrika 55, 111–123 (2002).