Multinomial Logistic Regression
Model which of several unordered options people choose, for example a brand, a channel or a plan. Each category is compared with a reference category, giving coefficients and relative risk ratios, plus overall likelihood ratio tests for each predictor.
Updated · By Bibin XavierData 480 × 6
| Customertext · 480 levels | Brand_Chosentext · 4 levels | Agenumeric | Income_knumeric | Gendertext · 2 levels | Shops_Onlinenumeric · coded |
|---|---|---|---|---|---|
| C001 | Delta | 62 | 50.9 | Female | 0 |
| C002 | Aurora | 29 | 68.4 | Male | 0 |
| C003 | Brava | 18 | 33 | Male | 1 |
| C004 | Aurora | 57 | 51.8 | Female | 1 |
| C005 | Brava | 27 | 57.3 | Female | 0 |
| C006 | Aurora | 27 | 29.4 | Female | 0 |
| C007 | Delta | 59 | 64.9 | Female | 0 |
| C008 | Delta | 34 | 32.8 | Male | 1 |
Variables and options
Results
480 rows · example dataLikelihood ratio tests
| Effect | −2LL of reduced model | χ² | df | p |
|---|---|---|---|---|
| Age | 1184.07 | 12.69 | 3 | .005 |
| Income_k | 1190.63 | 19.25 | 3 | < .001 |
| Gender | 1176.09 | 4.71 | 3 | .194 |
| Shops_Online | 1176.91 | 5.52 | 3 | .137 |
Note. Each predictor is removed in turn; a significant χ² means it improves the prediction of the outcome across all categories.
Parameter estimates (reference category: Aurora)
| Outcome | Predictor | B | SE | Wald z | p | RRR (eB) | 95% CI for RRR |
|---|---|---|---|---|---|---|---|
| Brava | Intercept | 1.080 | 0.679 | 1.59 | .112 | ||
| Age | -0.029 | 0.013 | -2.30 | .022 | 0.971 | [0.947, 0.996] | |
| Income_k | 0.019 | 0.008 | 2.39 | .017 | 1.019 | [1.003, 1.034] | |
| Gender [Male] | 0.128 | 0.286 | 0.45 | .654 | 1.137 | [0.649, 1.989] | |
| Shops_Online | 0.409 | 0.285 | 1.43 | .152 | 1.505 | [0.861, 2.633] | |
| Cobalt | Intercept | -1.783 | 0.857 | -2.08 | .038 | ||
| Age | -0.003 | 0.015 | -0.23 | .820 | 0.997 | [0.967, 1.027] | |
| Income_k | 0.037 | 0.009 | 3.92 | < .001 | 1.038 | [1.019, 1.057] | |
| Gender [Male] | -0.130 | 0.345 | -0.38 | .706 | 0.878 | [0.446, 1.727] | |
| Shops_Online | 0.116 | 0.343 | 0.34 | .735 | 1.123 | [0.573, 2.202] | |
| Delta | Intercept | -0.177 | 0.741 | -0.24 | .811 | ||
| Age | 0.003 | 0.014 | 0.19 | .847 | 1.003 | [0.976, 1.030] | |
| Income_k | 0.009 | 0.008 | 1.01 | .310 | 1.009 | [0.992, 1.026] | |
| Gender [Male] | 0.471 | 0.312 | 1.51 | .131 | 1.602 | [0.870, 2.950] | |
| Shops_Online | -0.100 | 0.310 | -0.32 | .747 | 0.905 | [0.493, 1.660] |
Note. Each block compares an outcome category with Aurora. The relative risk ratio is the multiplicative change in the odds of that category rather than Aurora for a one-unit increase in the predictor. Text predictors are dummy coded against their first category.
Classification table
| Observed | Predicted Aurora | Predicted Brava | Predicted Cobalt | Predicted Delta | % correct |
|---|---|---|---|---|---|
| Aurora | 0 | 54 | 0 | 12 | 0.0% |
| Brava | 0 | 212 | 1 | 8 | 95.9% |
| Cobalt | 0 | 68 | 0 | 8 | 0.0% |
| Delta | 0 | 96 | 1 | 20 | 17.1% |
Note. Overall 48.3% correct, against 46.0% by always predicting the most common category.
Model fit
| Statistic | Value |
|---|---|
| −2LL intercept only | 1215.19 |
| −2LL final | 1171.38 |
| χ²(12) | 43.81, p < .001 |
| Cox and Snell R² | .087 |
| Nagelkerke R² | .095 |
| McFadden R² | .036 |
| AIC / BIC | 1201.4 / 1264.0 |
Observed and predicted shares by category
Interpretation
The model predicts Brand Chosen significantly better than chance, χ²(12) = 43.81, p < .001, Nagelkerke R² = .095. Likelihood ratio tests show that Age, Income_k contribute significantly. The model classifies 48.3% of cases correctly (46.0% by chance). Read each block of the parameter table as a comparison with Aurora.
How to cite this tool
Using these results in a thesis, journal article, report or class assignment? Please cite this free tool so others can find it. It keeps the site free.
APA 7
Xavier, B. (2026). Multinomial Logistic Regression [Web application]. FreeStatisticalTools.com. https://freestatisticaltools.com/multinomial-logistic-regression/
BibTeX
@software{xavier_multinomiallogisticregression_2026,
author = {Xavier, Bibin},
title = {Multinomial Logistic Regression},
publisher = {FreeStatisticalTools.com},
year = {2026},
url = {https://freestatisticaltools.com/multinomial-logistic-regression/},
note = {Web application}
}Suggested sentence for your methods section: “The analysis was carried out with the free Multinomial Logistic Regression tool on FreeStatisticalTools.com (Xavier, 2026).”
What is multinomial logistic regression?
Multinomial logistic regression predicts an unordered outcome with three or more categories, such as brand chosen, channel used or plan selected. Each category is compared with a reference category. The tool reports the overall model test, pseudo R², likelihood ratio tests for each predictor, coefficients and relative risk ratios with confidence intervals, and a classification table.
When to use multinomial logistic regression
Use multinomial logistic regression when the outcome is a choice among three or more unordered categories, such as brand chosen, preferred channel, plan selected or travel mode, and you want to know how customer characteristics shift the choice.
Assumptions
- The outcome categories are unordered; for ordered outcomes, ordinal regression is more efficient.
- Independence of irrelevant alternatives: the odds between two categories do not depend on the other options available.
- Enough cases per category; about 10 or more events per estimated parameter in each category is a common guideline.
How to set up your data
One row per case with the chosen category and the predictors; text predictors are dummy coded automatically.
What multinomial logistic regression models
Multinomial logistic regression (multinomial logit, MNL, also called polytomous logistic regression) predicts an outcome with three or more unordered categories. Typical examples in marketing and the social sciences are which brand a customer buys, which channel they use (store, web, app), which subscription plan they choose, how they commute, or which party they vote for. It extends binary logistic regression: instead of one equation comparing “yes” with “no”, it estimates one equation for each category compared with a chosen reference category.
The model
With K outcome categories and category 1 as the reference, the model estimates K − 1 sets of coefficients:
ln[P(Y = k) / P(Y = 1)] = β0k + β1kx1 + … + βpkxp, k = 2, …, K
The probabilities of all categories follow from these log-odds and always add up to one. Coefficients are estimated by maximum likelihood with Newton-Raphson iterations, the same estimator used by SPSS NOMREG, Stata mlogit and R’s nnet::multinom; the results here match statsmodels’ MNLogit.
The exponentiated coefficient eβ is the relative risk ratio (RRR), sometimes loosely called an odds ratio: the factor by which the odds of choosing category k rather than the reference multiply for a one-unit increase in the predictor. An RRR of 1.04 for income in the Cobalt equation means each extra thousand of income multiplies the odds of choosing Cobalt over Aurora by 1.04.
Reading the output
- Model fit: the likelihood ratio χ² compares the full model with an intercept-only model; pseudo R² values (Cox and Snell, Nagelkerke, McFadden) summarise improvement in fit, and AIC/BIC help compare alternative specifications.
- Likelihood ratio tests: each predictor is removed in turn and the model refitted. A significant χ² (with (K − 1) × number of dummy columns degrees of freedom) means the predictor matters for the outcome overall, across all categories. This is the test to report first, because a predictor can be important even if no single Wald test is significant, and vice versa.
- Parameter estimates: one block per non-reference category, with B, SE, Wald z, p, RRR and its 95% confidence interval. Interpret each block as a comparison with the reference.
- Classification table: observed against predicted categories, with the percentage correctly classified. Compare it with the baseline of always predicting the most common category; multinomial models of consumer choice often improve on the baseline only modestly even when predictors are highly significant.
Worked example with the built-in data
The example contains 480 customers who each chose one of four brands, with age, income, gender and whether they shop online as predictors; Aurora is the reference. The model is significant, χ²(12) = 43.81, p < .001, Nagelkerke R² = .095. Likelihood ratio tests show that age (χ²(3) = 12.69, p = .005) and income (χ²(3) = 19.25, p < .001) affect brand choice, while gender and online shopping do not reach significance. In the Brava block, each extra year of age reduces the odds of choosing Brava rather than Aurora by about 3% (RRR = 0.971); in the Cobalt block, each thousand of income raises the odds of Cobalt over Aurora by about 4% (RRR = 1.038). The model classifies 48.3% of customers correctly against a baseline of 46.0%: predictors shift probabilities in meaningful ways but individual choices remain hard to predict, as is typical for brand choice.
Choosing the reference category
The overall fit, the likelihood ratio tests and the predicted probabilities do not depend on the reference category; only the parameter table changes. Choose a reference that makes comparisons meaningful: the market leader, the status quo, the most common category or a natural baseline such as “no purchase”. To compare two non-reference categories directly, rerun the analysis with one of them as the reference.
Assumptions and checks
- Independence of irrelevant alternatives (IIA). The odds between any two categories do not depend on which other categories exist. This can fail when two alternatives are close substitutes (the classic red bus / blue bus problem). If IIA is doubtful, nested logit or multinomial probit models are alternatives.
- No perfect separation. If a predictor perfectly predicts a category (for example, every customer over 70 chose the same brand), estimates diverge; the tool stops with a message. Merge rare categories or remove the offending predictor.
- Sample size. Multinomial models estimate many parameters: (K − 1) × (p + 1). Aim for at least 10 cases in the smallest category per predictor, and merge categories with very few cases.
- Multicollinearity among predictors inflates standard errors, as in any regression.
Multinomial logit vs related models
If the categories are ordered, ordinal logistic regression uses the ordering and needs far fewer parameters. If the outcome is binary, use binary logistic regression. When the predictors describe the alternatives (price, features) rather than the chooser (age, income), the appropriate model is the conditional logit used in choice-based conjoint analysis; this tool is for chooser characteristics. Discriminant analysis is an older alternative that assumes normally distributed predictors.
Preparing your data
Use one row per case with the outcome category and the predictors. Numeric predictors enter as they are; text predictors are dummy coded automatically with their first category as the reference. Rows with missing values are excluded listwise and the number is reported.
Reporting in APA style
Report the reference category, the overall model test and pseudo R², the likelihood ratio test for each predictor, and B, SE, p and RRR with 95% CIs for key comparisons. Example: “A multinomial logistic regression with Aurora as the reference category was significant, χ²(12) = 43.81, p < .001, Nagelkerke R² = .095. Age, χ²(3) = 12.69, p = .005, and income, χ²(3) = 19.25, p < .001, were significant predictors of brand choice. Higher income increased the odds of choosing Cobalt rather than Aurora (RRR = 1.04, 95% CI [1.02, 1.06]).”
Checklist before you report
- Check category sizes: every outcome category should have enough cases; merge or drop categories with very few observations.
- Report the reference category: every coefficient is a comparison with it, so readers need to know which one it is.
- Lead with the likelihood ratio tests: they show which predictors matter overall before you discuss individual coefficients.
- Interpret RRRs with confidence intervals: a wide interval that includes 1 means the direction of the effect is uncertain.
- Compare with the baseline accuracy: state the percentage that always predicting the most common category would achieve.
- Consider IIA: if two categories are close substitutes, mention the assumption or test a nested model.
- Show predicted probabilities: for key predictors, a table or chart of predicted probabilities across values is easier to read than coefficients.
Key references: Hosmer, Lemeshow and Sturdivant (2013), Applied Logistic Regression; Long and Freese (2014), Regression Models for Categorical Dependent Variables; McFadden (1974), on conditional logit models of choice.
How to use this tool
- Enter your data. Paste columns from Excel, Google Sheets or SPSS with variable names in the first row, or upload a CSV or Excel file. The example data shows the expected layout.
- Choose the variables. Select the outcome (categories), reference category and predictors.
- Read the results. Results update automatically. Read the plain-English interpretation, then use Copy table to paste APA-style tables into Word and Copy for the results sentence.
How to report multinomial logistic regression in APA style
Report the overall likelihood ratio test, a pseudo R², the likelihood ratio test for each predictor, and B, SE, p and relative risk ratios with CIs for each category against the reference.
Frequently asked questions
When should I use multinomial logistic regression?
When the outcome has three or more unordered categories, such as brand choice or travel mode. For ordered outcomes, use ordinal logistic regression.
What is a relative risk ratio?
e^B: the factor by which the odds of a category rather than the reference category multiply for a one-unit increase in the predictor.
Does the reference category matter?
Not for the overall fit, likelihood ratio tests or predicted probabilities; only the parameter table changes. Choose a meaningful baseline.
What is the IIA assumption?
Independence of irrelevant alternatives: the odds between two categories do not depend on which other categories exist.
Which test shows whether a predictor matters?
The likelihood ratio test for each predictor, which compares the full model with the model without that predictor across all categories.
How large a sample do I need?
About 10 or more cases in the smallest category per estimated parameter; merge rare categories if needed.
Related tools
See also
Browse all categories
Data cleaning and preparation · Describe and explore · Compare means · Nonparametric tests · Correlation and regression · Bayesian statistics · Categorical data · Reliability and agreement · Multivariate analysis · Structural equation modeling · Econometrics and time series · Panel data and causal inference · Marketing research · Marketing analytics · Survival, clinical and meta-analysis · Study planning and calculators · PLS-SEM