Skip to content

    Difference-in-Differences (DiD)

    AI fundamentals & modelsDifference-from-difference approachDiDD
    Reading time: 3 min.Editorially reviewed on:

    Definition

    DiD compares changes between a group with measure and a comparison group to estimate a causal effect under assumptions.

    The change of a target variable before and after a measure between two groups is compared. For a causal interpretation, it is necessary in particular that the groups would have developed in parallel in the relevant period without a measure. Inappropriate comparison groups and further changes can distort the result.

    Simply explained

    One compares the change of two branches, of which only one has introduced a new measure. The comparison only helps if the other branch is a suitable reference.

    Why it matters in practice

    Relevant for impact analyses, if appropriate group comparison is possible; no substitute for testing causal assumptions.

    Example from business

    Possible example: A retailer compares sales changes from stores with and without new measures and checks beforehand whether the comparison group is suitable.

    Limits and pitfalls

    • Violation of the parallel trend assumption (without action, both groups would have had to evolve in parallel); unnoticed external confounding factors.

    Origin & history

    A well-known application example is the minimum wage study by Card and Krueger: NBER working paper 1993, journal publication 1994. It is not the origin of the method.

    Use in mid-sized companies

    • Impact analyses of operational measures with suitable before-after and comparative data; evaluation by methodologically qualified persons.

    Frequently asked questions

    What is the core assumption of DiD?

    The Parallel Trends Assumption: Both groups would have shown the same trend without intervention.

    Why is it not enough before and after?

    Because external factors (such as economic activity) distort the before-and-after outcome.

    Sources

    Sources checked on 10/09/2026.

    Editorially reviewed on:

    On this page

    Next step

    Put knowledge into practice