Skip to content

ENH: Tweedie loglike - #8560

Merged
josef-pkt merged 4 commits into
statsmodels:mainfrom
josef-pkt:tweedie
Dec 5, 2022
Merged

josef-pkt merged 4 commits into
statsmodels:mainfrom
josef-pkt:tweedie

Conversation

@josef-pkt

Copy link
Copy Markdown
Member

rebased version of #8281

one bugfix
more unit tests using GLM
not checked yet: usage of new loglike as default and for fit with scipy optimizers

@josef-pkt

josef-pkt commented Dec 5, 2022 •

Copy link
Copy Markdown
Member Author

still need to protect against older scipy versions that don't have the special function
AttributeError: module 'scipy.special' has no attribute 'wright_bessel'

added in scipy 1.7.0

@josef-pkt

Copy link
Copy Markdown
Member Author

we should add tweedie to test_gradient_irls in test_glm.py which compares irls and scipy gradient optimizers.
However, I'm not sure I want to go through the details for get_distribution and rvs at the moment.

@josef-pkt

Copy link
Copy Markdown
Member Author

all green except "pre" (pre has still the same failures)

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants