Skip to content

BUG: NegativeBinomialP predict prob ignores exog #3914

Closed

Description

@josef-pkt

convert_params needs to get the exog or mu. using mu might be better

probs_unique = res.predict(exog=[[1, 0], [1, 1]], which='prob')
probs_unique.shape
(500, 32)

instead of (2, 32)

I only realized this because my probability plots didn't make sense.

The code for GeneralizedPoisson predict prob looks fine, but I haven't tried yet.

Activity

  1. added this to the 0.9 milestone on Sep 14, 2017
  2. josef-pkt commented on Sep 14, 2017

    @josef-pkt
    MemberAuthor

    I will fix this most likely in PR #3908 for which I am running some examples.

  3. added 2 commits that reference this issue on Sep 17, 2017
    0099d47
    af94599
  4. added a commit that references this issue on Nov 4, 2017
    bd54dc8
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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions