| IMCD | R Documentation |
Applies an adaptation of the FAST-MCD algorithm to estimate location and scatter for interval-valued data.
IMCD(
data,
m = NULL,
cutoff = c("farness", "adjbox", "chi-squared", "F-dist", "raw"),
cutoff_lvl = NULL,
cor = FALSE
)
data |
An |
m |
An integer specifying the subset size to use for the estimation. Defaults to |
cutoff |
Indicates which cutoff should be considered for reweighting the estimates:
Defaults to |
cutoff_lvl |
A numeric value specifying the level of the cutoff to be used.
If no value is provided, the function uses the default values associated with each cutoff method. |
cor |
A logical value indicating whether to return the correlation matrix. Defaults to |
A list containing the robustly estimated parameters:
mean_IMCD_c |
Estimated mean of the centers of the interval data. |
mean_IMCD_r |
Estimated mean of the ranges of the interval data. |
cov_IMCD |
Estimated covariance (scatter) matrix ( |
final_z |
Binary vector indicating the inclusion of each observation in the reweighted subset. |
cutoff |
The cutoff method used for reweighting. |
cutoff_value |
Cutoff value used for reweighting. |
robust_dist |
Robust distances ( |
farness_probs |
Farness probabilities (if |
cor_IMCD |
Estimated correlation matrix (if |
Loureiro, C. P., Oliveira, M. R., Brito, P., & Oliveira, L. (2026). Minimum Covariance Determinant Estimator and Outlier Detection for Interval-valued Data. arXiv preprint arXiv:2604.26769. https://arxiv.org/abs/2604.26769
Adapted from https://github.com/frankp-0/fastMCD.
The case cutoff=="F-dist" is adapted from package CerioliOutlierDetection (https://cran.r-project.org/package=CerioliOutlierDetection).
# Example using creditcard dataset
data(creditcard)
credit_card_int <- creditcard$intData
# Obtain reweighted IMCD estimates using farness cutoff
credit_card_IMCD <- IMCD(credit_card_int,
m = floor(nrow(credit_card_int)*0.75),
cutoff = "farness",
cutoff_lvl = 0.9)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.