How do you interpret the coefficients in a logistic regression model, and can you explain the concept of odds ratios?

Quick Overview

Asks how to read logistic regression coefficients and what an odds ratio means. Tests the log-odds scale, the link between odds ratios and probability changes, the effect of feature scaling and correlation, and the difference from relative risk.

How do you interpret the coefficients in a logistic regression model, and can you explain the concept of odds ratios?

Role: Data Scientist

Category: Machine Learning

Difficulty: medium

Interview Round: Other

How do you interpret the coefficients in a logistic regression model, and can you explain the concept of odds ratios? ```hint Start from the link function Write the model as a linear equation for $\log \frac{p}{1-p}$, then work out what happens to the odds when one feature goes up by one unit. ``` ```hint Odds are not probabilities Pick one coefficient and compute the change in predicted probability at a baseline of 0.1 and at a baseline of 0.5. ``` ### What a Strong Answer Covers - What a coefficient measures on the log-odds scale, and what the intercept means - How exponentiating a coefficient gives an odds ratio, and how to read values above, below and equal to 1 - Why a fixed odds ratio produces different probability changes at different baselines - How feature units, categorical encoding and correlated features affect the reading - How an odds ratio differs from a relative risk ### Follow-up Questions - How would you report the uncertainty of an odds ratio? - Two features are highly correlated and one coefficient flips sign when you add the other. What is happening, and what would you tell a stakeholder? - How would you explain an odds ratio of 1.5 to a product manager who thinks in probabilities? - How does L2 regularization change how you should read the coefficients?

Overview: Asks how to read logistic regression coefficients and what an odds ratio means. Tests the log-odds scale, the link between odds ratios and probability changes, the effect of feature scaling and correlation, and the difference from relative risk.

PracHub logo
General
Nov 25, 2026
mediumData ScientistOtherMachine Learning
0
0

How do you interpret the coefficients in a logistic regression model, and can you explain the concept of odds ratios?

What a Strong Answer Covers Guidance

  • What a coefficient measures on the log-odds scale, and what the intercept means
  • How exponentiating a coefficient gives an odds ratio, and how to read values above, below and equal to 1
  • Why a fixed odds ratio produces different probability changes at different baselines
  • How feature units, categorical encoding and correlated features affect the reading
  • How an odds ratio differs from a relative risk

Follow-up Questions Guidance

  • How would you report the uncertainty of an odds ratio?
  • Two features are highly correlated and one coefficient flips sign when you add the other. What is happening, and what would you tell a stakeholder?
  • How would you explain an odds ratio of 1.5 to a product manager who thinks in probabilities?
  • How does L2 regularization change how you should read the coefficients?