Repository navigation
REF/ENH: add CountResults.get_diagnostic - #7895
Conversation
|
This pull request introduces 1 alert when merging bf38cde into 8c1bfe7 - view on LGTM.com new alerts:
|
|
Not sure what I want to do here. I'm currently interested in post-estimation infrastructure and "framework", not so much on going through and adding individual tests. The only "generic" test, I can think of right now, would be reset/link test for models that already implement score_test. General tools for binning need to be cleaned up or added. e.g. this PR adds a limit on y_values for which=prob in chisquare test. A better binning will be needed, for example if small y=k have very low probabilities. |
|
I'm going to add the full class hierarchy with DiagnosticDiscrete on top, even if some are empty for now. e.g. I have Hosmer-Lemeshow type test for binary (AFAIR) and multinomial/ordinal and one plot for binary with lowess smoothed endog. HL already has unit tests for several models. I'm not sure where DiagnosticBase and DiagnosticContinuous should go. not decided yet: |
|
I have dropped cached I want to limit for how many y-values we compute "prob", but I also want to cache it. One possibility is to add y_max in results.get_diagnostic. This will get messier if we want to limit probs to bins or arbitrary sets of y_values, e.g. if endog/mean is large. A similar problem will show up in continuous diagnostic if diagnostic measures and test use y-bins. update amended commit with y_max and force pushed |
bf38cde to
2a523be
Compare
|
I'm going to merge this soon. I need BetaModel for design issues for post-estimation of multi-exog models. |
another round of diagnostics, see #7894 for possible additional diagnostics