Explore Courses
Liverpool Business SchoolLiverpool Business SchoolMBA by Liverpool Business School
  • 18 Months
Bestseller
Golden Gate UniversityGolden Gate UniversityMBA (Master of Business Administration)
  • 15 Months
Popular
O.P.Jindal Global UniversityO.P.Jindal Global UniversityMaster of Business Administration (MBA)
  • 12 Months
New
Birla Institute of Management Technology Birla Institute of Management Technology Post Graduate Diploma in Management (BIMTECH)
  • 24 Months
Liverpool John Moores UniversityLiverpool John Moores UniversityMS in Data Science
  • 18 Months
Popular
IIIT BangaloreIIIT BangalorePost Graduate Programme in Data Science & AI (Executive)
  • 12 Months
Bestseller
Golden Gate UniversityGolden Gate UniversityDBA in Emerging Technologies with concentration in Generative AI
  • 3 Years
upGradupGradData Science Bootcamp with AI
  • 6 Months
New
University of MarylandIIIT BangalorePost Graduate Certificate in Data Science & AI (Executive)
  • 8-8.5 Months
upGradupGradData Science Bootcamp with AI
  • 6 months
Popular
upGrad KnowledgeHutupGrad KnowledgeHutData Engineer Bootcamp
  • Self-Paced
upGradupGradCertificate Course in Business Analytics & Consulting in association with PwC India
  • 06 Months
OP Jindal Global UniversityOP Jindal Global UniversityMaster of Design in User Experience Design
  • 12 Months
Popular
WoolfWoolfMaster of Science in Computer Science
  • 18 Months
New
Jindal Global UniversityJindal Global UniversityMaster of Design in User Experience
  • 12 Months
New
Rushford, GenevaRushford Business SchoolDBA Doctorate in Technology (Computer Science)
  • 36 Months
IIIT BangaloreIIIT BangaloreCloud Computing and DevOps Program (Executive)
  • 8 Months
New
upGrad KnowledgeHutupGrad KnowledgeHutAWS Solutions Architect Certification
  • 32 Hours
upGradupGradFull Stack Software Development Bootcamp
  • 6 Months
Popular
upGradupGradUI/UX Bootcamp
  • 3 Months
upGradupGradCloud Computing Bootcamp
  • 7.5 Months
Golden Gate University Golden Gate University Doctor of Business Administration in Digital Leadership
  • 36 Months
New
Jindal Global UniversityJindal Global UniversityMaster of Design in User Experience
  • 12 Months
New
Golden Gate University Golden Gate University Doctor of Business Administration (DBA)
  • 36 Months
Bestseller
Ecole Supérieure de Gestion et Commerce International ParisEcole Supérieure de Gestion et Commerce International ParisDoctorate of Business Administration (DBA)
  • 36 Months
Rushford, GenevaRushford Business SchoolDoctorate of Business Administration (DBA)
  • 36 Months
KnowledgeHut upGradKnowledgeHut upGradSAFe® 6.0 Certified ScrumMaster (SSM) Training
  • Self-Paced
KnowledgeHut upGradKnowledgeHut upGradPMP® certification
  • Self-Paced
IIM KozhikodeIIM KozhikodeProfessional Certification in HR Management and Analytics
  • 6 Months
Bestseller
Duke CEDuke CEPost Graduate Certificate in Product Management
  • 4-8 Months
Bestseller
upGrad KnowledgeHutupGrad KnowledgeHutLeading SAFe® 6.0 Certification
  • 16 Hours
Popular
upGrad KnowledgeHutupGrad KnowledgeHutCertified ScrumMaster®(CSM) Training
  • 16 Hours
Bestseller
PwCupGrad CampusCertification Program in Financial Modelling & Analysis in association with PwC India
  • 4 Months
upGrad KnowledgeHutupGrad KnowledgeHutSAFe® 6.0 POPM Certification
  • 16 Hours
O.P.Jindal Global UniversityO.P.Jindal Global UniversityMaster of Science in Artificial Intelligence and Data Science
  • 12 Months
Bestseller
Liverpool John Moores University Liverpool John Moores University MS in Machine Learning & AI
  • 18 Months
Popular
Golden Gate UniversityGolden Gate UniversityDBA in Emerging Technologies with concentration in Generative AI
  • 3 Years
IIIT BangaloreIIIT BangaloreExecutive Post Graduate Programme in Machine Learning & AI
  • 13 Months
Bestseller
IIITBIIITBExecutive Program in Generative AI for Leaders
  • 4 Months
upGradupGradAdvanced Certificate Program in GenerativeAI
  • 4 Months
New
IIIT BangaloreIIIT BangalorePost Graduate Certificate in Machine Learning & Deep Learning (Executive)
  • 8 Months
Bestseller
Jindal Global UniversityJindal Global UniversityMaster of Design in User Experience
  • 12 Months
New
Liverpool Business SchoolLiverpool Business SchoolMBA with Marketing Concentration
  • 18 Months
Bestseller
Golden Gate UniversityGolden Gate UniversityMBA with Marketing Concentration
  • 15 Months
Popular
MICAMICAAdvanced Certificate in Digital Marketing and Communication
  • 6 Months
Bestseller
MICAMICAAdvanced Certificate in Brand Communication Management
  • 5 Months
Popular
upGradupGradDigital Marketing Accelerator Program
  • 05 Months
Jindal Global Law SchoolJindal Global Law SchoolLL.M. in Corporate & Financial Law
  • 12 Months
Bestseller
Jindal Global Law SchoolJindal Global Law SchoolLL.M. in AI and Emerging Technologies (Blended Learning Program)
  • 12 Months
Jindal Global Law SchoolJindal Global Law SchoolLL.M. in Intellectual Property & Technology Law
  • 12 Months
Jindal Global Law SchoolJindal Global Law SchoolLL.M. in Dispute Resolution
  • 12 Months
upGradupGradContract Law Certificate Program
  • Self paced
New
ESGCI, ParisESGCI, ParisDoctorate of Business Administration (DBA) from ESGCI, Paris
  • 36 Months
Golden Gate University Golden Gate University Doctor of Business Administration From Golden Gate University, San Francisco
  • 36 Months
Rushford Business SchoolRushford Business SchoolDoctor of Business Administration from Rushford Business School, Switzerland)
  • 36 Months
Edgewood CollegeEdgewood CollegeDoctorate of Business Administration from Edgewood College
  • 24 Months
Golden Gate UniversityGolden Gate UniversityDBA in Emerging Technologies with Concentration in Generative AI
  • 36 Months
Golden Gate University Golden Gate University DBA in Digital Leadership from Golden Gate University, San Francisco
  • 36 Months
Liverpool Business SchoolLiverpool Business SchoolMBA by Liverpool Business School
  • 18 Months
Bestseller
Golden Gate UniversityGolden Gate UniversityMBA (Master of Business Administration)
  • 15 Months
Popular
O.P.Jindal Global UniversityO.P.Jindal Global UniversityMaster of Business Administration (MBA)
  • 12 Months
New
Deakin Business School and Institute of Management Technology, GhaziabadDeakin Business School and IMT, GhaziabadMBA (Master of Business Administration)
  • 12 Months
Liverpool John Moores UniversityLiverpool John Moores UniversityMS in Data Science
  • 18 Months
Bestseller
O.P.Jindal Global UniversityO.P.Jindal Global UniversityMaster of Science in Artificial Intelligence and Data Science
  • 12 Months
Bestseller
IIIT BangaloreIIIT BangalorePost Graduate Programme in Data Science (Executive)
  • 12 Months
Bestseller
O.P.Jindal Global UniversityO.P.Jindal Global UniversityO.P.Jindal Global University
  • 12 Months
WoolfWoolfMaster of Science in Computer Science
  • 18 Months
New
Liverpool John Moores University Liverpool John Moores University MS in Machine Learning & AI
  • 18 Months
Popular
Golden Gate UniversityGolden Gate UniversityDBA in Emerging Technologies with concentration in Generative AI
  • 3 Years
Rushford, GenevaRushford Business SchoolDoctorate of Business Administration (AI/ML)
  • 36 Months
Ecole Supérieure de Gestion et Commerce International ParisEcole Supérieure de Gestion et Commerce International ParisDBA Specialisation in AI & ML
  • 36 Months
Golden Gate University Golden Gate University Doctor of Business Administration (DBA)
  • 36 Months
Bestseller
Ecole Supérieure de Gestion et Commerce International ParisEcole Supérieure de Gestion et Commerce International ParisDoctorate of Business Administration (DBA)
  • 36 Months
Rushford, GenevaRushford Business SchoolDoctorate of Business Administration (DBA)
  • 36 Months
Liverpool Business SchoolLiverpool Business SchoolMBA with Marketing Concentration
  • 18 Months
Bestseller
Golden Gate UniversityGolden Gate UniversityMBA with Marketing Concentration
  • 15 Months
Popular
Jindal Global Law SchoolJindal Global Law SchoolLL.M. in Corporate & Financial Law
  • 12 Months
Bestseller
Jindal Global Law SchoolJindal Global Law SchoolLL.M. in Intellectual Property & Technology Law
  • 12 Months
Jindal Global Law SchoolJindal Global Law SchoolLL.M. in Dispute Resolution
  • 12 Months
IIITBIIITBExecutive Program in Generative AI for Leaders
  • 4 Months
New
IIIT BangaloreIIIT BangaloreExecutive Post Graduate Programme in Machine Learning & AI
  • 13 Months
Bestseller
upGradupGradData Science Bootcamp with AI
  • 6 Months
New
upGradupGradAdvanced Certificate Program in GenerativeAI
  • 4 Months
New
KnowledgeHut upGradKnowledgeHut upGradSAFe® 6.0 Certified ScrumMaster (SSM) Training
  • Self-Paced
upGrad KnowledgeHutupGrad KnowledgeHutCertified ScrumMaster®(CSM) Training
  • 16 Hours
upGrad KnowledgeHutupGrad KnowledgeHutLeading SAFe® 6.0 Certification
  • 16 Hours
KnowledgeHut upGradKnowledgeHut upGradPMP® certification
  • Self-Paced
upGrad KnowledgeHutupGrad KnowledgeHutAWS Solutions Architect Certification
  • 32 Hours
upGrad KnowledgeHutupGrad KnowledgeHutAzure Administrator Certification (AZ-104)
  • 24 Hours
KnowledgeHut upGradKnowledgeHut upGradAWS Cloud Practioner Essentials Certification
  • 1 Week
KnowledgeHut upGradKnowledgeHut upGradAzure Data Engineering Training (DP-203)
  • 1 Week
MICAMICAAdvanced Certificate in Digital Marketing and Communication
  • 6 Months
Bestseller
MICAMICAAdvanced Certificate in Brand Communication Management
  • 5 Months
Popular
IIM KozhikodeIIM KozhikodeProfessional Certification in HR Management and Analytics
  • 6 Months
Bestseller
Duke CEDuke CEPost Graduate Certificate in Product Management
  • 4-8 Months
Bestseller
Loyola Institute of Business Administration (LIBA)Loyola Institute of Business Administration (LIBA)Executive PG Programme in Human Resource Management
  • 11 Months
Popular
Goa Institute of ManagementGoa Institute of ManagementExecutive PG Program in Healthcare Management
  • 11 Months
IMT GhaziabadIMT GhaziabadAdvanced General Management Program
  • 11 Months
Golden Gate UniversityGolden Gate UniversityProfessional Certificate in Global Business Management
  • 6-8 Months
upGradupGradContract Law Certificate Program
  • Self paced
New
IU, GermanyIU, GermanyMaster of Business Administration (90 ECTS)
  • 18 Months
Bestseller
IU, GermanyIU, GermanyMaster in International Management (120 ECTS)
  • 24 Months
Popular
IU, GermanyIU, GermanyB.Sc. Computer Science (180 ECTS)
  • 36 Months
Clark UniversityClark UniversityMaster of Business Administration
  • 23 Months
New
Golden Gate UniversityGolden Gate UniversityMaster of Business Administration
  • 20 Months
Clark University, USClark University, USMS in Project Management
  • 20 Months
New
Edgewood CollegeEdgewood CollegeMaster of Business Administration
  • 23 Months
The American Business SchoolThe American Business SchoolMBA with specialization
  • 23 Months
New
Aivancity ParisAivancity ParisMSc Artificial Intelligence Engineering
  • 24 Months
Aivancity ParisAivancity ParisMSc Data Engineering
  • 24 Months
The American Business SchoolThe American Business SchoolMBA with specialization
  • 23 Months
New
Aivancity ParisAivancity ParisMSc Artificial Intelligence Engineering
  • 24 Months
Aivancity ParisAivancity ParisMSc Data Engineering
  • 24 Months
upGradupGradData Science Bootcamp with AI
  • 6 Months
Popular
upGrad KnowledgeHutupGrad KnowledgeHutData Engineer Bootcamp
  • Self-Paced
upGradupGradFull Stack Software Development Bootcamp
  • 6 Months
Bestseller
KnowledgeHut upGradKnowledgeHut upGradBackend Development Bootcamp
  • Self-Paced
upGradupGradUI/UX Bootcamp
  • 3 Months
upGradupGradCloud Computing Bootcamp
  • 7.5 Months
PwCupGrad CampusCertification Program in Financial Modelling & Analysis in association with PwC India
  • 5 Months
upGrad KnowledgeHutupGrad KnowledgeHutSAFe® 6.0 POPM Certification
  • 16 Hours
upGradupGradDigital Marketing Accelerator Program
  • 05 Months
upGradupGradAdvanced Certificate Program in GenerativeAI
  • 4 Months
New
upGradupGradData Science Bootcamp with AI
  • 6 Months
Popular
upGradupGradFull Stack Software Development Bootcamp
  • 6 Months
Bestseller
upGradupGradUI/UX Bootcamp
  • 3 Months
PwCupGrad CampusCertification Program in Financial Modelling & Analysis in association with PwC India
  • 4 Months
upGradupGradCertificate Course in Business Analytics & Consulting in association with PwC India
  • 06 Months
upGradupGradDigital Marketing Accelerator Program
  • 05 Months

What is Multinomial Logistic Regression? Definition & Examples

Updated on 25 November, 2022

7.85K+ views
8 min read

Logistic regression is a concept used in many fields, including machine learning. It is an example of a supervised machine learning algorithm that predicts or calculates the probability of occurrence of a binary (yes/no) event. For example, if we use machine learning to determine if an email is spam or not, we apply the logistic regression model. Now, the multinomial logistic regression classification technique is an extension of the logistic regression algorithm and solves problems that have multiple outcomes. 

Enrol for the Machine Learning Course from the World’s top Universities. Earn Masters, Executive PGP, or Advanced Certificate Programs to fast-track your career.

This article will look at the multinomial regression algorithm and its use in machine learning.

Variables in a Logistic Regression Model

The response variable is categorical in any logistic regression model. The value of a response, outcome, or dependent variable responds to changes in the independent or explanatory variables. 

Source

Here’s an example to understand the difference between an explanatory variable and a response variable.

Suppose a scientist wants to compare the effect of two different fertilisers, X and Y, on plant growth. The scientist randomly selects 100 plants from a field and applies fertiliser X to half of them for a week and fertiliser B to the other half for the same period. After a week, the scientist measures the average plant growth in each.

In this example, the type of fertiliser (X or Y) is the independent or explanatory variable the scientist changes to observe an effect on plant growth. On the contrary, plant growth is the dependent or response variable changing due to fertiliser application.

The Three Types Of Logistic Regression

Before we go into the details of multinomial logistic regression, let’s look at the three kinds of logistic regression models.

Type of logistic regression model Description Example
1. Binary logistic regression Dependent variable belongs to only one of two categories. If a person is likely to get a positive COVID-19 result or not.
2. Ordinal logistic regression Dependent variable belongs to one of many categories with a natural ordering. Sorting the severity of a COVID-19 infection into mild, moderate, or severe.
3. Multinomial logistic regression Dependent variable belongs to one of many categories with no order. If a person has COVID-19, an allergy, a cold, or the flu.

Understanding the Multinomial Logistic Regression Algorithm

The multinomial logistic regression model is a classification algorithm that extends the concept of logistic regression to solve multiclass possible outcome problems with one or more independent variables. While binary logistic regression predicts binary outcomes (0 or 1, yes or no, spam or not spam, etc.), the multinomial regression model predicts one out of k possible outcomes (k can be any arbitrary positive integer). Multinomial logistic regression is also known as softmax regression, multiclass logistic regression, multinomial logit model, conditional maximum entropy model, and maximum entropy (MaxEnt) classifier. 

Dependent Variable in Multinomial Logistic Regression

The dependent variable in the multinomial logistic regression algorithm can have two or more possible classes/outcomes. The dependent variable is nominal, meaning there is no order in the target-dependent classes. In other words, we cannot meaningfully order these classes. Thus, multinomial logistic regression is practical to make classifications based on the values of a set of predictor variables. 

Here’s a simple example to understand the dependent and independent variables in multinomial logistic regression:

Suppose we have a machine learning model that uses multinomial logistic regression to predict the ice cream flavour a person is likely to choose. Here, factors such as the person’s age, gender, mood, occasion, income status, and price of ice cream are the independent variables that determine the ice cream flavour the person will possibly go for. In this example, the dependent variable is the ice cream flavour that can belong to many categories (chocolate, vanilla, butterscotch, coffee, etc.).

Assumptions for Multinomial Logistic Regression

When you choose multinomial logistic regression as the classification algorithm for your machine learning problem, you must ensure the data you analyse satisfies the following assumptions. 

Assumption #1

The dependent variable should be either nominal or ordinal. A nominal variable has two or more categories with no meaningful ordering, such as three types of cuisines: Continental, Chinese, and Italian. On the contrary, ordinal variables have two or more categories with an order. An example of an ordinal variable would be the grades in an exam, that is, Excellent (A), Good (B), and Average ( C ). 

Assumption #2

You have a set of one or more independent variables that can be continuous, nominal, or ordinal. Continuous variables are numeric variables and can have an infinite number of values within a specified range. However, you must treat ordinal independent variables as continuous or nominal when running a multinomial logistic regression in SPSS.

Assumption #3

The observations must be independent, and the dependent variables must be mutually exhaustive and exclusive. Mutually exhaustive implies every observation must fall into some category of the dependent variable. On the other hand, mutually exclusive means when there are two or more categories of the variable, no observation falls into more than one category.

Assumption #4

There must be no multicollinearity amidst independent variables. Multicollinearity happens when more than two independent variables have a high correlation, making it difficult to understand the contribution of each independent variable to the dependent variable category. 

Assumption #5

The data points must not have outliers, highly influential points, or high leverage values. 

Assumption #6

Lastly, any constant independent variable and the dependent variable’s logit transformation must have a linear relationship. The idea behind a logit is to restrict the probability values between 0 and 1 using a logarithmic function. Most multinomial logistic regression models are based on logit functions. 

Multinomial Regression Using SPSS

IBM® SPSS® Statistics is a robust statistical software platform used by researchers for various complex statistical data analyses. This section will give an example of data analysis using multinomial logistic regression on the SPSS platform.

For multinomial logistic regression, we consider a situation to understand if a person’s income and belief that taxes are too high determine the political party they vote for. The dependent variable is the political party with three categories (A, B, and C). The independent variables are the person’s income, and their belief that taxes are too high with four ordered categories (“Strongly Agree,” “Agree,” Disagree,” and “Strongly Disagree”).

Here are the steps of the analysis in SPSS Statistics:

1. Under the SPSS main menu, click Analyze > Regression > Multinomial Logistic…

Source

The following Multinomial Logistic Regression dialogue box opens.

Source

2. Enter “politics” (the dependent variable), “tax_too_high” (the ordinal variable ), and “income” (the covariate variable).in the Dependent, Factor(s), and Covariate(s) boxes, respectively.

Source

3. Now, click on the Statistics option, and you’ll get the following Multinomial Logistic Regression: Statistics dialogue box.

Source

4. Check the following boxes: Cell probabilities, Classification table, and Goodness-of-fit.

Source

5. Click Continue to return to the Multinomial Logistic Regression dialogue box.

6. Click OK to generate the results.

Summing Up

Multinomial logistic regression is used for classification problems when the dependent variable or output is categorical or dichotomous. While analysing data using multinomial regression, you must keep in mind certain assumptions around the different dependent and independent variables, observations, and training data available. Multinomial logistic regression is a widely used classification algorithm in machine learning. 

If you’re looking to enhance your machine learning and AI skills, here’s your chance with upGrad’s Master of Science in Machine Learning & AI in association with Liverpool John Moores University. 

Programme Highlights:

  • Master’s degree from LJMU
  • Executive PGP from IIIT Bangalore
  • 750+ hours of learning
  • 90 live sessions
  • 15+ case studies and assignments
  • 11 coding assignments
  • Comprehensive coverage of 20 top languages, tools, and libraries

Sign up today to get exclusive upGrad benefits such as 360-degree career support services, hands-on projects and hackathons, personalised mentorship from industry experts, peer networking opportunities, and much more!

Frequently Asked Questions (FAQs)

1. What is logistic regression in machine learning?

In machine learning, logistic regression is a type of supervised learning to predict the probability of occurrence of a binary (yes/no) event.

2. What are the three types of logistic regression?

The three main types of logistic regression are: Binary logistic regression, Multinomial logistic regression, Ordinal logistic regression.

3. What is the difference between multivariate and multinomial regression?

Multivariate regression is a situation with multiple dependent variables. On the other hand, multinomial regression refers to cases when we have one dependent variable with two or more levels but more than one independent variable.