Różnica w różnicach (difference-in-differences)

Difference-in-differences (DiD) · id diffindiff · aliases: difference-in-differences, diff-in-diff, DiD, różnica różnic

Estymator porównujący zmianę wyniku w czasie w grupie objętej interwencją ze zmianą w grupie kontrolnej, przy założeniu równoległych trendów.

An estimator comparing the change over time in the treated group with the change in a control group, assuming parallel trends.

In one sentence

Porównujesz, jak zmieniła się sytuacja w miejscu objętym zmianą i w podobnym miejscu bez niej, przed i po.

You compare how things changed in a place affected by a change and in a similar place without it, before and after.

Problem it solves

Wyniki rosną lub spadają same z siebie, np. przez sezon, więc samo porównanie przed i po myli skutek ze zbiegiem okoliczności.

Outcomes rise or fall on their own, for example with the seasons, so a simple before-and-after comparison mistakes coincidence for effect.

What it does

Odejmuje zmianę, która i tak zaszła w grupie porównawczej, od zmiany w grupie objętej działaniem; zostaje to, co dodało samo działanie.

It subtracts the change that happened anyway in the comparison group from the change in the affected group, leaving what the action added.

Everyday example

Sklep wprowadza dostawę tego samego dnia w jednym mieście. Porównujesz wzrost zamówień tam ze wzrostem w podobnym mieście bez tej usługi.

A shop launches same-day delivery in one city. You compare the rise in orders there with the rise in a similar city without the service.

This concerns you if you…

Related topics

Sources