18  Difference-in-Differences

NotePlanned for this chapter
  • Data: jel_medicaid (fetched), castle_doctrine
  • Functions: sp.did, sp.event_study
  • Starting material: docs/dev/modules/did.md

18.1 The question: did Medicaid expansion change outcomes?

18.3 Doing it by hand: the 2x2 table of means

18.4 Asking the agent: sp.did

18.6 Where agents go wrong: treating a passed pre-trend test as proof

18.7 Checklist