Index Ai Academy
Glossary · Phase 2 · Math, when you need it

Difference-in-differences

A change's effect measured as the treated group's before-and-after change minus the control group's change over the same time.

Try it now

Double the spread and t halves. Quadruple the months and t doubles. The same gap can be convincing or meaningless depending on how noisy and how plentiful the data is.

Learn it properly

Comparing groups: t-tests · Welch's t-test, pooled vs average rates, and a control group for before-and-after changes. About 40 minutes.

Create a free account See what's in the lesson

Other terms from the same lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write