Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG NegativeBinomial ignores exposure and offset #1611

Closed
josef-pkt opened this issue Apr 20, 2014 · 1 comment

Comments

Projects
None yet
1 participant
@josef-pkt
Copy link
Member

commented Apr 20, 2014

I have a failing test with negative binomial and exposure
https://github.com/statsmodels/statsmodels/pull/1610/files#diff-4d8b0a6a9f7f5bf288f18ba71e67ffa6R110

skimming the code: NegativeBinomial takes exposure and offset as argument, but ignores it in most of the code

either raise exception that offset and exposure are not supported or fix it.

@josef-pkt

This comment has been minimized.

Copy link
Member Author

commented Apr 20, 2014

My target solution is to through out all linear code and call predict instead. DRYing out some code, instead of adding offset and exposure 10 (?) times.

josef-pkt added a commit that referenced this issue Apr 21, 2014

PierreBdR pushed a commit to PierreBdR/statsmodels that referenced this issue Sep 2, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.