Logistic Regression: Interpreting the Reference Category
An odds ratio of 2.10 may initially sound unambiguous: the odds are more than twice as high. However, without considering the reference category, this statement remains incomplete. Correctly interpreting the reference category in a logistic regression determines whether your results are presented correctly and transparently in a thesis or publication.
What the reference category does in logistic regression
Logistic regression is used when the dependent variable has two outcomes, such as treatment success yes/no, study dropout yes/no, or disease present/absent. The model does not directly estimate the mean, but rather the log odds that a specific event occurs. Which outcome is considered the event must be clarified before interpretation.
For categorical independent variables, the model also requires a baseline for comparison. This baseline is the reference category. Suppose you are examining treatment success in relation to three treatment methods: no treatment, standard therapy, and new therapy. If no treatment is the reference category, the estimated effects of the other two groups each refer to no treatment.
In standard dummy coding, the reference category does not have its own regression coefficient. Its effect is included in the y-intercept. This does not mean that this group is unimportant. On the contrary: it determines what all reported comparisons refer to.
Logistic regression: correctly interpreting the reference category
Suppose the event is treatment success = yes. The treatment method variable is modeled with no treatment as the reference. The result provides an odds ratio of 1.80 for standard therapy and an odds ratio of 2.40 for the new therapy.
The odds ratio of 1.80 means: controlling for all other variables in the model, the odds of treatment success with standard therapy are 1.80 times higher than with no treatment. For the new therapy, the odds are 2.40 times higher than with no treatment. This does not explicitly state that the new therapy achieves a factor of 2.40 compared to standard therapy. This direct comparison has not yet been estimated in this model.
There are two clear ways to compare the new therapy and standard therapy. You can change the reference category to standard therapy and re-estimate the model. Alternatively, a targeted contrast can be calculated. Based on the values mentioned, this results in a ratio of 2.40 / 1.80 = 1.33. However, whether this difference is statistically significant cannot be assessed solely on the basis of the two individual odds ratios. For that, you need the appropriate contrast along with the confidence interval and p-value.
An odds ratio is not a change in probability
A common interpretation error concerns the terms odds and probability. Odds are the ratio of the probability of an event to the probability of the opposite outcome. With a success probability of 50%, the odds are 1. At 75%, they are 3. An odds ratio of 2 therefore does not automatically mean that a probability has doubled.
How much the predicted probability changes depends on the baseline level and the other covariates. If the success probability in the reference group increases from 10% to 18%, this is a different practical effect than an increase from 60% to 75%, although a comparable odds ratio may underlie it. Therefore, predicted probabilities or marginal effects are often a helpful addition for presenting results, especially for a non-biostatistical audience.
Two references you must check separately
In binary logistic regression, two types of references are easily confused. First, there is the reference category of an independent categorical variable, such as no treatment. Second, the coding of the dependent variable determines for which outcome the model estimates the probability of occurrence, such as treatment success = yes.
If your software models failure = no as the event instead of success = yes, the directions of interpretation are reversed. An odds ratio of 2.40 would then describe higher odds of failure. The numbers may be output differently depending on the software, data format, and settings, even though the same data are analyzed. Therefore, always check before reporting which category is defined as the event.
Software can also automatically choose the reference for predictors, for example, the first or last category alphabetically or by numerical coding. With the categories 1 = female and 2 = male, it is not evident from the numerical order alone which group was used as the reference. What matters are the analysis settings and the reported coding table.
Selecting the reference group based on professional reasoning
Mathematically, a different reference category changes neither the model fit nor the predicted probabilities. However, the coefficients, odds ratios, and their linguistic interpretation do change. Therefore, the choice should be justified by the content and not left to the software default.
Often, a control group, a standard treatment, or a clinically relevant baseline group is suitable as a reference. For educational qualifications, a qualification without university entrance may make sense if the research question examines differences compared to this baseline. For nominal variables without a natural order, the best reference depends on your hypothesis and the readability of the report.
A very small reference group can make estimation difficult, especially if the event rarely or never occurs there. This results in wide confidence intervals or, in extreme cases, problems due to complete separation. In this situation, it is not enough to retain the reference for content reasons. Check the sample sizes in the cross-tabulations, the plausibility of combining categories, and, if necessary, a more suitable estimation method.
How to read coefficients, odds ratios, and the intercept together
The basic model can be simplified as follows:
logit(p) = b0 + b1 × Standard Therapy + b2 × New Therapy
Here, p stands for the probability of treatment success. For people with no treatment, both dummy variables are 0. The value b0 thus describes the log odds of success in the reference group, provided that other variables included in the model are at their reference level or have the value 0.
For people with standard therapy, b1 is added. If you exponentiate the coefficient, i.e., exp(b1), you get the odds ratio compared to no treatment. If b1 = 0.588, this results in approximately exp(0.588) = 1.80. A negative coefficient leads to an odds ratio below 1. An odds ratio of 0.60 does not mean 60% fewer odds, but odds that are 40% lower compared to the reference group.
The intercept is often not discussed in terms of its content in papers because its interpretation is not very illustrative when many covariates are involved. Nevertheless, it helps with understanding: every interpretation of a categorical effect is always an interpretation relative to the reference and with other model variables held constant.
Interactions change the simple comparison statement
If your model contains an interaction, such as treatment method × gender, an odds ratio for the treatment method no longer applies unconditionally to all people. The effect of the new therapy can then differ between one gender group and the other. The reference categories of both variables determine for which combination the main effect is reported.
For example, if female is the reference for gender and no treatment is the reference for therapy, the main effect of the new therapy describes its comparison with no treatment within the female group. For the other gender group, the interaction effect must be included. Especially with interactions, tabular contrasts and predicted probabilities are usually easier to understand than an isolated interpretation of individual model coefficients.
Formulation for the results section
A precise results formulation states the event, the comparison group, the direction of the effect, as well as uncertainty and the model context. For example: “After adjusting for age and baseline severity, the odds of treatment success in the group with the new therapy were 2.40 times higher than in the group with no treatment (OR = 2.40; 95% CI [1.30; 4.43]; p = .005).”
Avoid, on the other hand, statements such as “The new therapy increased the probability of success by 140%” when only an odds ratio is available. “The new therapy was 2.40 times better” is equally problematic. It remains unclear: better in what respect, for which event, and after controlling for which influencing factors?
Before submission, a quick check is worthwhile: Is it clearly recognizable which outcome event was modeled, which category serves as the reference, and whether the statement concerns odds or probabilities? If these three points are answered, even more complex regression models will be much easier for your readers to verify.
If you would like to secure the coding, contrasts, or results formulations for your specific research question, you can request individual statistical advice from Easy Statistik via the contact form.