When would you choose a log-log model?

Quick Overview

Asks when to regress log y on log x and what that choice implies. Tests reading the slope as an elasticity, recognizing power-law and multiplicative relationships, and the limits of the model such as zeros, constant elasticity, and bias when predictions are transformed back.

When would you choose a log-log model?

Role: Data Scientist

Category: Machine Learning

Difficulty: easy

Interview Round: Other

When would you choose a log-log model? A log-log model regresses $\log y$ on $\log x$. Explain the situations where it is the right choice and what it costs you. ```hint Read the coefficient Work out what a small change in $\log x$ means for $x$ and $y$ in their original units. ``` ### What a Strong Answer Covers - How the slope is interpreted and when that quantity is the one you want - The kind of relationship and error structure the model assumes - Data conditions that favor it - Its limitations, including zeros, the constant-elasticity assumption, and turning predictions back into the original units ### Follow-up Questions - How do you interpret the slope of a log-linear model ($\log y$ on $x$) and of a linear-log model ($y$ on $\log x$)? - Some of the $y$ values are zero. What are your options? - You predict $y$ by exponentiating the fitted value of $\log y$. Why are these predictions too low on average, and how do you correct them? - How would you check whether the elasticity really is constant across the range of $x$?

Overview: Asks when to regress log y on log x and what that choice implies. Tests reading the slope as an elasticity, recognizing power-law and multiplicative relationships, and the limits of the model such as zeros, constant elasticity, and bias when predictions are transformed back.

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

When would you choose a log-log model?

A log-log model regresses log⁡y\log y on log⁡x\log x. Explain the situations where it is the right choice and what it costs you.

What a Strong Answer Covers Guidance

  • How the slope is interpreted and when that quantity is the one you want
  • The kind of relationship and error structure the model assumes
  • Data conditions that favor it
  • Its limitations, including zeros, the constant-elasticity assumption, and turning predictions back into the original units

Follow-up Questions Guidance

  • How do you interpret the slope of a log-linear model ( log⁡y\log y on xx ) and of a linear-log model ( yy on log⁡x\log x )?
  • Some of the yy values are zero. What are your options?
  • You predict yy by exponentiating the fitted value of log⁡y\log y . Why are these predictions too low on average, and how do you correct them?
  • How would you check whether the elasticity really is constant across the range of xx ?