Skip to content

ENH: outlier robust cov, transformation to normality, copulas #3181

Open

Description

@josef-pkt

(semi-random ideas, while thinking about robust or quantile regression)

objective:
find inlier exog observations so we can identify outliers that are possibly influential observations. If we downweight or remove those influential observations, we can get robust estimators (RLM currently only handles endog/residual outliers)

problem: robust cov like MinCovDet in scikit-learn are designed for normal case and use Mahalanobis distance.

What if distributional assumption is strongly violated, e.g. discrete, binary or count data or strongly asymmetric distributions like log-normal?

-> treat restricted support variables separately
-> try transformation of marginals (i.e. univariate variables), e.g. ECDF/rank, inverse probability transform, marginal robust standardization
-> calculate robust correlation or covariance in transformed space, rank correlation, copula correlation with ECDF marginals.

specifically:
helper function for transforming to normality via ECDF/rank
What is the outlier robustness behavior of a gaussian copula with ECDF marginals?

another possible idea: use robust regression for the exogs similar to MICE if outliers are just in some variables. (similar to idea for getting inverse covariance or partial correlation, e.g. for large number of variables.)

(I would like something that is fast and works with reasonable examples even if it doesn't have a very high breakdown point. Usage is mainly as pre-estimation tool, or can be iterated with main regression.)

Activity

  1. josef-pkt commented on Sep 2, 2016

    @josef-pkt
    MemberAuthor

    SALIBIÁN-BARRERA, Matías, and Ying WEI. 2008. “Weighted Quantile Regression with Nonelliptically Structured Covariates / Régression Quantile Pondérée En Présence de Covariables Non Elliptiques.” The Canadian Journal of Statistics / La Revue Canadienne de Statistique 36 (4): 595–611.

    from the abstract:
    "Unfortunately, when the covariates are not elliptically distributed, Mahalanobis distances may not be able to correctly identify atypical points. In this paper the authors discuss the use of weights based on a new leverage measure constructed using Rosenblatt's multivariate transformation which is able to reflect nonelliptical structures in the covariate space."

    sounds interesting, I just saw it but didn't read it.

    two more references

    Maronna, Ricardo A., and Vı́ctor J. Yohai. 2000. “Robust Regression with Both Continuous and Categorical Predictors.” Journal of Statistical Planning and Inference 89 (1–2): 197–214. doi:10.1016/S0378-3758(99)00208-6.
    (I didn't look at it just saw the reference in another paper, R robust base uses S-estimator for continuous variables and L1/Median regression for the categorical data, or something like that)

    Verdonck, Tim, Mia Hubert, and Peter J. Rousseeuw. 2010. “DetMCD in a Calibration Framework.” In Proceedings of COMPSTAT’2010, edited by Yves Lechevallier and Gilbert Saporta, 589–96. Physica-Verlag HD. http://link.springer.com/chapter/10.1007/978-3-7908-2604-3_61.
    (read)
    they use 7 preliminary estimators as starting points including rank correlation and normal scores. Also as initial step they standardize the univariate data (marginals) by median and mad.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions