How do you interpret a coefficient in a level-log model where a predictor is log-transformed but the outcome is not?

Quick Overview

Explain how to read the coefficient of a log-transformed predictor in a linear regression whose outcome stays in its original units. Tests the percent-change approximation, its derivation, the exact effect for large changes such as doubling, and how level-log models differ from log-level and log-log models.

How do you interpret a coefficient in a level-log model where a predictor is log-transformed but the outcome is not?

Role: Data Scientist

Category: Machine Learning

Difficulty: medium

Interview Round: Other

How do you interpret a coefficient in a level-log model where a predictor is log-transformed but the outcome is not? For example, weekly unit sales regressed on the natural log of weekly ad spend. ```hint Small changes in a log Write down how $y$ changes when $\ln x$ changes, and recall what a small change in $\ln x$ approximates. ``` ```hint Test a large change Check whether the same shortcut still holds when $x$ doubles. ``` ### What a Strong Answer Covers - The approximate effect on $y$ of a 1% increase in $x$, in the units of $y$ - Where the rule comes from, using the derivative or the difference of $\ln x$ - The exact effect for a large change in $x$, such as a doubling - How this model differs from level-level, log-level and log-log models - A worked example in the units of the outcome ### Follow-up Questions - How do you interpret the coefficient in a log-level model, and in a log-log model? - Why would you log-transform a predictor in the first place? - What do you do with a predictor that contains zeros before taking its log? - How does the interpretation change if the model uses log base 10 instead of the natural log?

Overview: Explain how to read the coefficient of a log-transformed predictor in a linear regression whose outcome stays in its original units. Tests the percent-change approximation, its derivation, the exact effect for large changes such as doubling, and how level-log models differ from log-level and log-log models.

Nov 25, 2026
mediumData ScientistOtherMachine Learning
0
0

How do you interpret a coefficient in a level-log model where a predictor is log-transformed but the outcome is not? For example, weekly unit sales regressed on the natural log of weekly ad spend.

What a Strong Answer Covers Guidance

  • The approximate effect on yy of a 1% increase in xx , in the units of yy
  • Where the rule comes from, using the derivative or the difference of ln⁡x\ln x
  • The exact effect for a large change in xx , such as a doubling
  • How this model differs from level-level, log-level and log-log models
  • A worked example in the units of the outcome

Follow-up Questions Guidance

  • How do you interpret the coefficient in a log-level model, and in a log-log model?
  • Why would you log-transform a predictor in the first place?
  • What do you do with a predictor that contains zeros before taking its log?
  • How does the interpretation change if the model uses log base 10 instead of the natural log?