Ordinal logistic regression

Analytika TeamLast reviewed 7 min read

Satisfaction ratings, pain levels and education stages are ordered, but the gaps between categories aren’t known to be equal. Linear regression treats them as equally spaced numbers. Multinomial regression ignores the order. Ordinal logistic regression respects both facts.

The proportional odds model

For an outcome with categories 1 < 2 < 3, the model describes the cumulative odds of being above each cut-point (above 1, above 2) with the same predictor effects, but separate intercepts (the “thresholds”). Exponentiating a coefficient gives an odds ratio: how much the odds of a higher category change per unit of the predictor.

Worked example: housing satisfaction in Copenhagen

A survey of 1,681 residents of Copenhagen housing (R’s MASS::housing) recorded satisfaction (low, medium, high), perceived influence on management, type of housing, and contact with other residents.

Analytika engine output (abridged)
Reference category Infl: High
Reference category Type: Apartment
Reference category Cont: High
Model: Ordinal logistic regression (proportional odds)
Outcome: Sat (ordered: Low < Medium < High)
N: 1681
Pseudo R-squared: 0.0465
LLR chi-squared: 169.7283 (df=6)
LLR P-value: 5.136e-34
=== COEFFICIENTS ===
Infl_Low: coef=-1.2888, se=0.1272, z=-10.1357, p=0.0000, or=0.2756, ci=[-1.5380, -1.0396]
Infl_Medium: coef=-0.7224, se=0.1243, z=-5.8133, p=0.0000, or=0.4856, ci=[-0.9660, -0.4789]
Type_Atrium: coef=0.2062, se=0.1380, z=1.4935, p=0.1353, or=1.2290, ci=[-0.0644, 0.4767]
Type_Terrace: coef=-0.5187, se=0.1334, z=-3.8873, p=0.0001, or=0.5953, ci=[-0.7802, -0.2572]
Type_Tower: coef=0.5724, se=0.1192, z=4.8001, p=0.0000, or=1.7724, ci=[0.3386, 0.8061]
Cont_Low: coef=-0.3603, se=0.0955, z=-3.7712, p=0.0002, or=0.6975, ci=[-0.5475, -0.1730]
Threshold Low|Medium: value=-1.5729, se=0.1257
Threshold Medium|High: value=-0.3860, se=0.1199
Caveat: the proportional-odds assumption (each predictor has the same effect at every
  cut-point) was not tested; if it is doubtful, compare with a multinomial model.

The coefficients match R’s MASS::polr, after allowing for the different reference categories.

Interpretation

  • Model: χ²(6) = 169.73, p < .001. McFadden’s pseudo R² is .05, modest, as is typical for individual-level survey outcomes.
  • Influence: residents who felt they had low influence had about a quarter the odds of being in a higher satisfaction category as those with high influence, OR = 0.28, 95% CI [0.21, 0.35]. Medium influence: OR = 0.49.
  • Housing type (vs apartments): tower-block residents had higher odds of greater satisfaction (OR = 1.77), and terraced-house residents lower (OR = 0.60). Atrium houses didn’t differ (p = .135).
  • Contact: low contact with other residents went with lower satisfaction (OR = 0.70).

The CIs printed by the engine are on the log-odds scale. Exponentiate them for odds-ratio intervals: for low influence, e^−1.538 = 0.21 and e^−1.040 = 0.35.

APA write-up

An ordinal logistic regression predicted housing satisfaction from perceived influence, housing type and contact with other residents, χ²(6) = 169.73, p < .001. Compared with residents reporting high influence, those reporting low influence had lower odds of higher satisfaction, OR = 0.28, 95% CI [0.21, 0.35], p < .001.

The proportional odds assumption

The model assumes each predictor shifts the odds by the same factor at every cut-point, for low vs medium-or-high as well as for low-or-medium vs high. Analytika flags that this wasn’t formally tested. If it’s doubtful (a Brant test, or separate binary models, can check), compare with a multinomial model or a partial proportional odds model.

How to run it

  • SPSS: Analyze → Regression → Ordinal (PLUM).
  • R: MASS::polr(outcome ~ x1 + x2, data = df, Hess = TRUE)
  • Analytika: when the outcome is an ordered category, it fits this model automatically. See regression analysis.

More in Regression

Run this on your own data

Upload a dataset and ask your question in plain English. Analytika checks the assumptions, picks the test, runs it, and writes the results up in APA format.

Try it free