BUG NegativeBinomial ignores exposure and offset #1611

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

Projects

None yet

1 participant

@josef-pkt
Member

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
Member

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 josef-pkt closed this in #1612 Apr 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment