Multinomial regression models outcomes with several unordered categories, such as the type of transport or housing a person chooses. This guide explains reference outcomes and relative risk ratios and shows how to run a model in AnalyZ Solutions.
Multinomial regression is a method for studying outcomes that fall into three or more categories with no natural order. It shows which factors are linked to each category, how strongly, and how likely each category is for a particular person.
Many outcomes are like this: the main way people travel to work (car, bus, bicycle, on foot), the type of housing a family lives in (owned, rented, shared), or which of three course options a student chooses. The thing you want to explain is the outcome, and the factors you use to explain it are the predictors. Each possible result of the outcome is a category.
Suppose you ask 600 people how they usually travel to work: by bus, by car, or by bicycle. You also know whether each person has a high or a low income and whether they live in the city centre or outside it. You want to know three things. Does income change how people travel? Does living in the centre? And what is the chance of each choice for a particular person, such as someone on a high income who lives in the centre? Multinomial regression answers all three.
With two categories, logistic regression is the standard choice. With three or more, you could run one logistic regression per category against all the others, but each would ignore the rest and their predicted chances would not add up to 100%. A chi-square test shows whether the pattern differs between groups but cannot adjust for several factors at once. Multinomial regression models all the categories together, so the predicted chances always add up to 100%.
Use multinomial regression when the outcome has three or more categories without a natural order. If the categories are ordered, such as low, medium, and high, use ordinal regression, which is more economical and easier to interpret. For two categories, use logistic regression.
The method needs adequate sample size. Each outcome category needs enough cases, and models with many predictors and small categories often fail to converge or give unstable results.
Multinomial regression rests on three ideas: chances that add up to 100%, a reference category, and a set of comparisons against that reference.
Every person has a chance of choosing each category, and together those chances add up to 100%. A person might have a 45% chance of taking the bus, a 38% chance of driving and a 17% chance of cycling. Raising one chance necessarily lowers the others, so the categories have to be modelled together.
The model picks one category as the reference, such as the bus, and describes every other category by comparing it with the reference. With three categories there are two comparisons: car against bus, and bicycle against bus. Each comparison has its own coefficients, so a predictor can have different effects in different comparisons. High income might make driving much more likely than taking the bus while making no difference to cycling. The choice of reference changes the numbers but not the conclusions.
Odds compare how likely one thing is with how likely another is. If the car has a 40% chance and the bus a 20% chance, the odds of car against bus are 2 to 1. Taking the natural logarithm of the odds gives the log-odds, which a straight line can model without producing impossible values, exactly as in logistic regression. The model fits one straight line for each comparison, then converts the results back into chances that add up to 100%.
The figure shows what the model produces for two people.
The next section writes the model in symbols and shows how the chances are calculated.
With a reference category, say Bus, the model fits one equation for each other category. Each equation gives the log of the chance of that category relative to the reference.
Raising e to a coefficient gives its relative risk ratio, which Reading the output explains in plain terms. To turn the equations into probabilities, call each right-hand side an index, with the reference category's index fixed at zero:
The probabilities always add up to 1. Coefficients are found by maximum likelihood, as in logistic regression.
Take someone with a high income who lives in the city centre.
For someone with a low income who lives outside the centre, the same steps give 45% for the bus, 38% for the car, and 17% for the bicycle. The shift between the two profiles combines both coefficients across all three categories, which a single ratio cannot show.
Multinomial models report each effect as a relative risk ratio, often shortened to RRR. It compares the chance of an outcome category with the chance of the baseline category, for a one-unit rise in a predictor or for one group compared with another.
A ratio of 1 means no difference. Above 1, the outcome becomes more likely relative to the baseline, and below 1, less likely. If the baseline is taking the bus and the ratio for driving is 2.5 for people with a high income compared with a low income, then a high income makes driving 2.5 times more likely than taking the bus, relative to the low-income group.
Note the phrase relative to the baseline. A ratio compares two outcome categories at a time. It says nothing on its own about how the chance of the category changes in absolute terms, and the choice of baseline changes every number in the output. Pick the baseline that gives your readers the most natural comparison, usually the largest category or the status quo.
The coefficient table is organised by outcome category. Each block compares one category with the baseline and lists the effect of every predictor. Each row gives the relative risk ratio with a 95% confidence interval and significance level. A toggle switches the table to raw coefficients, which are on the log scale.
The module draws a panel for each outcome category, so you can see at a glance which predictors matter for which comparison.
The summary reports the number of cases, the number of outcome categories, the reference category, the log-likelihood, a likelihood-ratio test, a pseudo R-squared, and AIC.
The plain-language text describes significant effects in terms of being more or less likely to fall in one category than the baseline, and it flags estimates that are unstable.
Open Inferential Analysis, choose Regression, then Multinomial Regression.
The figures below are invented to show the steps, and they follow the results tables in AnalyZ Solutions, with a few columns left out to save space. Suppose 600 people report how they usually travel to work: by bus (the reference category), by car, or by bicycle. The predictors are high income (reference: Low income) and living in the city centre (reference: Outside).
| N | Log-likelihood | LR chi2 | df | Prob > chi2 | Pseudo R² | AIC | Outcome categories | Reference |
|---|---|---|---|---|---|---|---|---|
| 600 | -601.2512 | 105.12 | 4 | < 0.001 | 0.080 | 1214.50 | 3 | Bus |
| Variable | Relative risk ratio | 95% CI lower | 95% CI upper | p-value | Sig |
|---|---|---|---|---|---|
| High income (ref: Low income) | 2.750 | 1.843 | 4.104 | < 0.001 | *** |
| Lives in city centre (ref: Outside) | 0.335 | 0.222 | 0.507 | < 0.001 | *** |
| Variable | Relative risk ratio | 95% CI lower | 95% CI upper | p-value | Sig |
|---|---|---|---|---|---|
| High income (ref: Low income) | 1.153 | 0.760 | 1.747 | 0.5031 | ns |
| Lives in city centre (ref: Outside) | 2.560 | 1.663 | 3.942 | < 0.001 | *** |
Income and location both shape how people get to work. Higher earners are much more likely to drive than to take the bus, and city centre residents are less likely to drive and more likely to cycle. Income makes no clear difference to cycling versus the bus. The results describe associations and depend on the choice of the bus as the reference.
Forgetting the baseline. Every ratio compares an outcome category with the baseline. State it every time.
Reading a ratio as a change in probability. It compares two outcome categories with each other.
Using too many predictors for small categories. Each outcome comparison behaves like a separate model and needs adequate cases.
Treating ordered outcomes as unordered. This discards information. Use ordinal regression.
Open Regression in AnalyZ Solutions. Free to sign up, free to analyze.
Get started