What are marginal effects in logistic regression, and why might you compute them instead of just reporting coefficients?

Quick Overview

Asks what marginal effects are in logistic regression and why analysts report them alongside or in place of coefficients. Tests the derivative of the sigmoid, the difference between AME, MEM and MER, and how to explain a classifier's effects on the probability scale.

What are marginal effects in logistic regression, and why might you compute them instead of just reporting coefficients?

Role: Data Scientist

Category: Machine Learning

Difficulty: medium

Interview Round: Other

What are marginal effects in logistic regression, and why might you compute them instead of just reporting coefficients? Explain what a marginal effect measures, how you get it from a fitted logistic model, and when it is a better summary than the coefficient table. ```hint Differentiate the prediction Write the predicted probability as a function of one feature and take its derivative. Look at what else, besides the coefficient, the result depends on. ``` ### What a Strong Answer Covers - What a marginal effect measures and how its scale differs from a coefficient's - Why the effect of one feature differs from one observation to the next in a logistic model - The usual ways to summarize it into a single number and how they differ - How binary features and large changes are handled - When marginal effects are the better thing to report, and what they still do not tell you ### Follow-up Questions - How would you get a standard error or confidence interval for an average marginal effect? - If the model has an interaction between price and tenure, how does the marginal effect of price change? - Why can the marginal effect at the mean differ from the average marginal effect, and which would you report? - Why are logistic coefficients hard to compare across models with different sets of predictors, and do marginal effects help?

Overview: Asks what marginal effects are in logistic regression and why analysts report them alongside or in place of coefficients. Tests the derivative of the sigmoid, the difference between AME, MEM and MER, and how to explain a classifier's effects on the probability scale.

General logo
General
Nov 24, 2026
mediumData ScientistOtherMachine Learning
0
0

What are marginal effects in logistic regression, and why might you compute them instead of just reporting coefficients?

Explain what a marginal effect measures, how you get it from a fitted logistic model, and when it is a better summary than the coefficient table.

What a Strong Answer Covers Guidance

  • What a marginal effect measures and how its scale differs from a coefficient's
  • Why the effect of one feature differs from one observation to the next in a logistic model
  • The usual ways to summarize it into a single number and how they differ
  • How binary features and large changes are handled
  • When marginal effects are the better thing to report, and what they still do not tell you

Follow-up Questions Guidance

  • How would you get a standard error or confidence interval for an average marginal effect?
  • If the model has an interaction between price and tenure, how does the marginal effect of price change?
  • Why can the marginal effect at the mean differ from the average marginal effect, and which would you report?
  • Why are logistic coefficients hard to compare across models with different sets of predictors, and do marginal effects help?