Skip to content

ENH: summary - add auxiliary init parameters #3889

Open

Description

@josef-pkt

Some models like NegativeBinomial, NegativeBinomialP and GeneralizedPoisson have additional fixed parameters specified in __init__. The summary doesn't show those.

problem: models swallow extra keywords, and there is no indication that a different (default) model is estimated if a keyword is wrong or misspelled. (Can we fix that without imposing too much extra effort for new models?)

>>> res_nb1 = NegativeBinomial(endog, exog, p=1).fit(method='newton')
>>> res_nb1.model.loglike_method
'nb2'

(I only realized that I used the wrong keyword, because the results are the same as
res_nbp1 = NegativeBinomialP(endog, exog, p=2).fit(method='newton')
)

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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions