Skip to content

BUG NegativeBinomial ignores exposure and offset #1611

Closed

Description

@josef-pkt

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.

Activity

  1. josef-pkt commented on Apr 20, 2014

    @josef-pkt
    MemberAuthor

    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.

  2. added 2 commits that reference this issue on Apr 20, 2014
    708d036
    58c0188
  3. added a commit that references this issue on Apr 21, 2014
  4. added 2 commits that reference this issue on Sep 2, 2014
    2826759
    ac98a83
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

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions