[Paper Review] What's Logs Got to do With it: On the Perils of log Dependent Variables and Difference-in-Differences
The paper shows that using a log-transformed dependent variable in a difference-in-differences (DD) design can yield sign differences in the DD estimator compared with a level specification, especially when baseline outcome distributions differ across groups; it provides a condition for when sign switching occurs and demonstrates it via simulations and two empirical case studies.
The log transformation of the dependent variable is not innocuous when using a difference-in-differences (DD) model. With a dependent variable in logs, the DD term captures an approximation of the proportional difference in growth rates across groups. As I show with both simulations and two empirical examples, if the baseline outcome distributions are sufficiently different across groups, the DD parameter for a log-specification can be different in sign to that of a levels-specification. I provide a condition, based on (i) the aggregate time effect, and (ii) the difference in relative baseline outcome means, for when the sign-switch will occur.
Motivation & Objective
- Highlight how the functional form (level vs. log) affects DD estimates.
- Derive a condition under which the DD sign switches when baseline distributions differ.
- Demonstrate the sign-switching phenomenon with simulations.
- Provide two empirical case studies showing opposite-sign DD estimates under level and log specifications.
Proposed method
- Present a DD framework with both level- and log-transformed outcomes; derive relationships between DD parameters and growth differences (Equations 3–7).
- Develop Proposition 1 giving a condition for sign-switch based on aggregate time effects and baseline outcome differences.
- Perform simulations to verify sign-switch and illustrate scenarios.
- Present two empirical case studies (Great Recession earnings, London housing around Brexit) showing opposing signs under level vs. log specifications.
Experimental results
Research questions
- RQ1Under what conditions does the DD estimator differ in sign between level- and log-specifications?
- RQ2How do baseline outcome distribution differences and aggregate time effects drive sign changes in DD estimates?
- RQ3Do empirical examples exhibit opposite-sign DD estimates when using level vs. log outcomes?
Key findings
- A log specification in DD approximates proportional differences in growth rates, not level changes (Equations 4–7).
- A sign switch between level and log DD estimates can occur when baseline outcome distributions differ sufficiently and there is a non-zero aggregate time effect (Proposition 1).
- Simulations show that holding time effects fixed, shifting baseline differences can produce DD estimates with opposite signs across specifications across 2x2 DD cells.
- Two empirical cases (Great Recession earnings by race; Inner vs Outer London house prices around Brexit) yield opposite-sign DD estimates for level and log specifications under the same data and controls.
- The sign switch depends on the ratio of baseline differences to the overall time effect, formalized in the provided inequalities.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.