# Difference-in-Differences vs Lagged-Outcome Regression

DevFeed: [Difference-in-Differences vs Lagged-Outcome Regression](<https://devfeed.tech/articles/difference-in-differences-vs-lagged-outcome-regression-106580.md>)

Original publisher: [Read original article](<https://towardsdatascience.com/difference-in-differences-vs-lagged-outcome-regression/>)

Author: Ryan OSullivan

Published: 2026-10-29T14:00:00Z

Content type: comparison

Language: en

Sources: [Towards Data Science](<https://devfeed.tech/sources/towards-data-science.md>)

Topics: [product analytics](<https://devfeed.tech/topics/product-analytics.md>), [product-experimentation](<https://devfeed.tech/topics/product-experimentation.md>), [doubleml](<https://devfeed.tech/topics/doubleml.md>)

Tags: [data-science](<https://devfeed.tech/tags/data-science.md>), [difference-in-differences](<https://devfeed.tech/tags/difference-in-differences.md>), [editor-s-picks](<https://devfeed.tech/tags/editor-s-picks.md>), [product-analytics](<https://devfeed.tech/tags/product-analytics.md>), [product-management](<https://devfeed.tech/tags/product-management.md>), [regression](<https://devfeed.tech/tags/regression.md>), [simulation](<https://devfeed.tech/tags/simulation.md>)

## AI overview

The study's choice between lagged-outcome regression and difference-in-differences (DiD) depends on how users self-select into treatment: lagged-outcome regression assumes no unobserved confounding after conditioning on outcome history and covariates, while DiD assumes parallel trends. In simulations of weekly engagement, DiD handled stable unobserved level differences but overstated effects when treated users opted in during a temporary dip; lagged-outcome regression handled the dip but was biased by stable unobserved confounding. A pre-trend check modeled on DiD detected the simulated dips and supports choosing DiD when flat or lagged-outcome regression when it dips, though a flat check does not prove parallel trends and can miss violations outside its window or in noisy, small samples. The authors advise reporting both estimates when the check dips, with conclusions treated cautiously. The results come from one simulated setting and do not establish how common these patterns are in real products; DiD is also not directly suitable for absorbing outcomes such as churn.

## Source excerpt

A simulation study and a pre-period check for choosing the right design for self-selected treatments in product analytics. The post Difference-in-Differences vs Lagged-Outcome Regression appeared first on Towards Data Science.