Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SUMM: diagnostic tests, measures and plots #2588

Open
josef-pkt opened this issue Aug 17, 2015 · 3 comments
Open

SUMM: diagnostic tests, measures and plots #2588

josef-pkt opened this issue Aug 17, 2015 · 3 comments

Comments

@josef-pkt
Copy link
Member

(this is another topic that is missing consistent implementation across models.)
(I might add a topic_diagnostic label, but don't want to go through issues right now. Search shows many open isssues.)

This is mainly about checking underlying assumption and specification tests.
Postestimation in general is more about interpretation of model.

main tasks, design

  • implementation of functions and methods across models (or check generalization and applicability)
  • easy access for users (e.g. get_diagnostics, get_plots, check_sanity)
  • documentation (suggest possible remedies? maybe not that)

main issues by models

  • linear regression: ok
  • tsa: PR by Chad for some models

- GLM/discrete: essentially nothing

issues by topic

...

@josef-pkt
Copy link
Member Author

location for new code

  • stats.diagnostic is currently for linear models mainly OLS, will become to large if we add discrete and other diagnostics
  • stats._diagnostic_other not public, mostly foundation, CMT and similar, includes dispersion_poisson functions
  • discrete._diagnostics_count not public, used in my notebook, includes plots, helper function (merge bins), gof for counts, zero-inflation in Poisson
  • outlier_influence for OLS and GLM, includes reset_ramsey for OLS

not committed

  • diagnostic_reset my draft version, but should be part of a more generic module
  • draft version for functions and plots in notebooks, e.g. Hosmer-Lemeshow

current plans

  • stats.diagnostic_gen : add current draft version for Hosmer-lemeshow and rest tests, link tests
    (I cannot come up with a better name, gen is general or generic, even though we put binary/multinomial also in it, i.e. for specific non-linear_model Models, as well as generic diagnostics like reset tests.)
  • stats.diagnostic_tools It might be better for reusability to put binning and other helper functions into a separate module.

No idea yet where to put plots.

@josef-pkt
Copy link
Member Author

josef-pkt commented Oct 6, 2020

non-public in analogy to discrete._diagnostics_count
discrete._diagnostics_multinomial as dumping ground for plots and functions for ordinal/multinomial, so I can collect them somewhere instead of misplacing them in my private notebooks.
i.e. it works, but interface and options are very likely to have substantial changes.

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

No branches or pull requests

1 participant