Skip to content

Bug glm NegativeBinomial fix for #2037 - #2487

Merged
josef-pkt merged 2 commits into
statsmodels:masterfrom
josef-pkt:bug_glm_negbin_2037
Jun 29, 2015
Merged

josef-pkt merged 2 commits into
statsmodels:masterfrom
josef-pkt:bug_glm_negbin_2037

Conversation

@josef-pkt

Copy link
Copy Markdown
Member

closes #2037

NegativeBinomial
resid_dev has nan if endog = 0
avoid integer alpha (I'm on python 3.4 and don't see integer division)

this doesn't add unit tests, we need a proper NegativeBinomial test case with zeros in endog

@josef-pkt

Copy link
Copy Markdown
Member Author

merging

josef-pkt added a commit that referenced this pull request Jun 29, 2015
@josef-pkt
josef-pkt merged commit 97003a3 into statsmodels:master Jun 29, 2015
@josef-pkt
josef-pkt deleted the bug_glm_negbin_2037 branch July 27, 2015 09:25
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.

More numerical issues in genmod families

1 participant