Skip to content

NaNs in Multinomial #514

Closed
Closed

Description

@jseabold

From mailing list

"I am creating Multinomial Logistic Regression Models using MNLogit from statsmodels.discrete.discrete_model. Occasionally, I receive NaN as the function's value after termination.

I have equivalent code in R, and I do not receive NaN values. Can anyone explain this behavior? Basically, I am trying to predict one of three categories from several explanatory variables that are continuous in nature."

Activity

  1. jseabold commented on Oct 5, 2012

    @jseabold
    MemberAuthor

    I have the data for this but am unable to replicate as of now.

  2. jseabold commented on Mar 23, 2013

    @jseabold
    MemberAuthor

    Closing this as a duplicate of #516. It comes from near perfect separation IIRC.

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