An odds ratio (OR) measures the association between an exposure and an outcome. It represents the odds that an outcome will occur given a specific exposure, compared to the odds of the outcome occurring in the absence of that exposure.
Here is a breakdown of odds ratios, interpretive logistic regression, and ordinal logistic regression.
1. Odds Ratio (OR)
An odds ratio compares the likelihood of an event happening between two different groups. It is not the same as risk (probability).
Odds vs. Probability
If a horse wins 2 out of 10 races:
- Probability of winning = 2 / 10 = 20%
- Odds of winning = 2 to 8 = 2 / 8 = 0.25
Calculation
Interpretation
| Odds Ratio | Interpretation |
|---|---|
| OR = 1 | The exposure does not affect the odds of the outcome. |
| OR > 1 | The exposure is associated with higher odds of the outcome. |
| OR < 1 | The exposure is associated with lower odds of the outcome. |
2. Logistic Regression for Interpretation vs. Prediction
Logistic regression models the probability of a binary outcome (e.g., Yes/No, Success/Failure) using independent variables.
You can use this tool for two completely different goals:
Interpretation Focus
Goal: Understand the relationship between variables.
Key Metrics: Coefficients (β), p-values, and confidence intervals.
Action: Convert log-odds coefficients into Odds Ratios by exponentiating them (eβ).
"Holding all other variables constant, every one-year increase in age increases the odds of developing heart disease by 1.15 times (OR = 1.15)."
Prediction Focus
Goal: Accurately classify new, unseen data into a category.
Key Metrics: Accuracy, Precision, Recall, ROC-AUC, and F1-score.
Action: Use the model output to generate a probability score between 0 and 1, then apply a threshold (such as 0.5) to label the data.
"Based on this patient's medical data, there is an 87% chance they have heart disease, so we classify them as High Risk."
3. Ordinal Logistic Regression
Standard logistic regression only works for two categories.
Ordinal logistic regression is used when the dependent variable is categorical and has a natural, ordered ranking, but the distance between the ranks is unknown.
Examples of Ordinal Variables
- Credit scores (Poor, Fair, Good, Excellent)
- Survey responses (Strongly Disagree, Disagree, Agree, Strongly Agree)
- Medical conditions (Mild, Moderate, Severe)
| Example | Ordered Categories |
|---|---|
| Credit Score | Poor → Fair → Good → Excellent |
| Survey Response | Strongly Disagree → Disagree → Agree → Strongly Agree |
| Medical Condition | Mild → Moderate → Severe |
How it Works (Proportional Odds Model)
Instead of predicting a single probability, ordinal logistic regression evaluates cumulative probabilities. It looks at the odds of being in a category or lower versus being in a higher category.
The Assumption
It assumes that the effect of an independent variable is the same across all category cutoffs.
For example, if smoking increases the odds of moving from "Mild" to "Moderate" disease by 2.0, it must also increase the odds of moving from "Moderate" to "Severe" disease by 2.0.
This assumption is known as the parallel lines assumption or the proportional odds assumption.
- An Odds Ratio (OR) compares the odds of an event occurring between two groups.
- Logistic regression can be used either for interpretation (understanding relationships) or prediction (classifying new observations).
- Ordinal logistic regression extends binary logistic regression to ordered categorical outcomes by modeling cumulative probabilities under the proportional odds assumption.