Skip to content

ENH/SUMM/Review (multi-) collinearity checks and warnings for cov_params  #7695

Open

Description

@josef-pkt

We should add a warning and identify cases where we have singular cov_params or other problems with positive definiteness

PR #3099 add PD check to hessian inversion in base model fit
#3367 issue with negative diagonal elements in Logit cov_params.

In some cases we allow for or produce singular cov_params, eg. when using pinv in regression, glm irls, or similar. And in cases with constraints.

current case: #7694 quantile regression raises in unindented way when exog is rank deficient. We will fix this, but then we can get a pinv result with singular cov_params (pinv-regularized).
We need some warnings in those cases/

Related: I mentioned this in several comments. Stata has in some cases rank or similar measure for cov_params and not (just) for exog. That can be important in nonlinear models, discrete, glm.

I'm not sure what the general status is. We don't have a consistent policy for this.

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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions