Repository navigation
ENH: McFadden and Cox&Snell Pseudo R squared to GLMResults - #7682
Conversation
|
adding prsquared to summary() evaluates now llnull for summary this breaks in one unit test with locally, I get a second error with precision and test tolerance in |
|
unit test for non-invertible hessian case was added in #3299 Problem in this case is that fitting the null raises an exception instead of signaling non-convergence.
another strange part: llnull uses the scale of the full model If we drop the wls part in test case has perfect fit and scale=0, both endog and exog in null model are deviance and loglike are nan if scale=0. If I comment out the deviance check in _fit_irls, then unit test Those things are not directly related to this PR and need separate fixes. |
also loosen tol in test_tweedie_score
|
all green now, todo fixing api: no prsquared attribute(s) and summary is getting prsquared (CS) adding McF for discrete cases to summary is left for future, #7687, users will be able to call the method |
|
should be ready to merge when green |
rebased version of #7367 squashed
api changes still open