Skip to content

ENH: specification search summary, plot (researcher degrees of freedom) #6223

Open

Description

@josef-pkt

If we have one parameter of interest, then we can plot how the parameter estimates change with different specifications.
This plot provides nice summary about how specification robust an effect is

https://github.com/joachim-gassen/rdfanalysis MIT licensed

the plot is useful when there are more possible cases than can easily fit into a summary_col type table

(found through some twitter threads)

edit https://github.com/aeturrell/specification_curve looks similar with same kind of plot

Activity

  1. josef-pkt commented on Nov 3, 2019

    @josef-pkt
    MemberAuthor

    related to supporting automatic model search, e.g. #6223
    but Gassen also includes outlier handling and not just variable search (based on quick skimming)

    related:
    In GLM, Logit, Poisson nonlinear models we also want to compare different link functions. In that case, params are not comparable across models, and we would need to look at margins, i.e. some common effect measure.
    similarly for count models, zero inflated models have various conditional definitions of mean (options in predict) and not just the standard mean function with e.g. log link as in Poisson and NegBin

  2. josef-pkt commented on Nov 3, 2019

    @josef-pkt
    MemberAuthor

    related
    outlier_influence contains measures for dropping variables like dfbetas but for leave-one-variable-out.
    This is for local analysis, but we might have enough cases that we want plots instead of tables or a DataFrame

  3. josef-pkt commented on Nov 24, 2019

    @josef-pkt
    MemberAuthor

    idea for plot similar to model averaging case
    We could plot results for the "good" models in a different color from all models.
    e.g. use an AIC relative threshold to define "good" models, or sorted models so that sum of aic weights > some thresholds.

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