Skip to content

MNLogit: choice of reference category #837

Open

Description

@josef-pkt

currently the first category in alphanumerical order is used as reference category in MNLogit.

Users can change their labels or categories to get the desired reference category as the first in alphanumerical order, but it would be more convenient to have an option for this.

Related: using formulas: patsy automatically converts string arrays to dummy variables, which are not handled by MNLogit for endog

see discussion at https://groups.google.com/d/msg/pystatsmodels/6Aj0YJChsmI/lBAQqtPBnpYJ

Activity

  1. added 2 commits that reference this issue on Jan 20, 2015
    b379cc1
    778a7a4
  2. sayeg84 commented on Apr 11, 2020

    @sayeg84

    Any updates on this? I am trying to build a classifier from this regression model and this is the first time that I see the information regarding the reference level.

    I assume that this multonomial logit model is the same that it is brought up in Wikipedia's article and in Hastie et al Elements of Statistical Learning (2th edition) Chapter 4.4

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