Skip to content

ENH: analogue to cooks distance for linear combinations. #7913

Open

Description

@josef-pkt

motivation:
#7912 implements MLEInfluence for BetaModel. In this case we have two distribution paramters, mean and a precision parameter.

The general definition of cook's distance in MLEInfluence is a quadratic form of all parameters.
For comparisons, I also computed the mean parameter only distance in a notebook example.
This can be generalized to a linear combination c * d_params, which if c is 0-1 valued vector, it will select a subset of parameters.

It would be easy to add to the current method in MLEInfluence.

Aside: cooks distance looks similar to distance in hausman test.
Do we have the same basis for inference, p-values?
Also, as a chisquare test statistic, is there a better effect_size than cooks distance or is it already normalized.
e.g. scaled non-centrality parameter for chi-square and f-tests (and t_tests ?)

Do we use a more generic name than Cook's distance?
Some articles use GD as generalized (cook's) distance. Also there are different scaled, normed versions.

Activity

  1. added this to the 0.14 milestone on Nov 28, 2021
  2. josef-pkt commented on Nov 28, 2021

    @josef-pkt
    MemberAuthor

    Actually, I'm not sure there are any usecases for other linear combinations than 0-1 weighting.
    Maybe for a difference d_p2 - d_p1 to see if the difference p2 - p1 is "stable" wrt. local influence.

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