Skip to content

check for possible 0*log(0) #51

Closed
Closed

Description

@wesm

Original Launchpad bug 681444: https://bugs.launchpad.net/statsmodels/+bug/681444
Reported by: josef-pktd (joep).

discretemod still has several cases that could possibly end up with 0*log(0)

Poisson is protected with np.clip

many other logs are unprotected, I don't think we have test cases, or how close to zero or one it is possible to get in different cases.

exog*beta is a float type and might not get close enough to zero to create a problem (?)

Activity

  1. josef-pkt commented on Jan 11, 2015

    @josef-pkt
    Member

    closing this, there might be more specific issues now. One task will be to use scipy's function xlogy eventually

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions