← Back to Data Scientist Mind Map
⚡Flashcard Drill➔
📈 Data ScientistID: ds-did-parallel-trends-event-study

DiD Parallel Trends & Event Study

双重差分 DID 与平行趋势事件研究
🎯Core Definition
Difference-in-Differences (DiD) & Dynamic Event Study Methods estimate causal treatment effects for non-randomized policy interventions, city-level rollouts, or macro-marketing campaigns; Mathematical formulation: estimating the double difference across groups and time: τ^DiD=(YˉT,post−YˉT,pre)−(YˉC,post−YˉC,pre)\hat{\tau}_{\text{DiD}} = (\bar{Y}_{T, \text{post}} - \bar{Y}_{T, \text{pre}}) - (\bar{Y}_{C, \text{post}} - \bar{Y}_{C, \text{pre}}); estimated via Two-Way Fixed Effects (TWFE) OLS: Yit=α+γTreati+λPostt+β(Treati×Postt)+ϵitY_{it} = \alpha + \gamma \text{Treat}_i + \lambda \text{Post}_t + \beta (\text{Treat}_i \times \text{Post}_t) + \epsilon_{it}, where interaction coefficient β\beta captures the causal treatment effect; Inviolable Assumption: Parallel Trends Assumption (in the absence of treatment, the average path of the treatment group would follow the control group trajectory); verified empirically via Event Study dynamic coefficients (t−kt-k pre-trends must be statistically indistinguishable from zero).
💡Use Cases
City-level policy interventions, national promotional campaign evaluations, and macroeconomic feature rollouts.
⚡Key Problems Solved
Isolates genuine policy lift from macroeconomic seasonality and natural market drift that standard pre/post comparisons conflate.
🎯Core Interview Exam Points
Fundamentals · Production Scenarios · Deep Dive
Core Def
Explain the core definition, underlying mechanism/math, and key principles of DiD Parallel Trends & Event Study.
Use Cases
In production engineering, what are the primary use cases for DiD Parallel Trends & Event Study and what core pain points does it solve?
🔥 High-Frequency Deep-Dive Questions
1
Derive how the OLS interaction coefficient β\beta in TWFE regression models algebraically equals the 4-cell difference-in-differences?
2
How does Event Study regression evaluate dynamic multi-period pre-trends and post-treatment lag effects?
3
Explain the Goodman-Bacon decomposition showing why classical TWFE produces negative weighting errors under staggered rollout timings?
4
Explain how Callaway & Sant'Anna (CS-DiD) estimator fixes staggered treatment heterogeneity using not-yet-treated or never-treated controls?
5
How to remediate non-parallel baseline trends using PSM-DiD or Synthetic Controls?
🔗Foundational Prerequisite Cards (Click to Review)
Updated 2026-08-14
🎯
Verify Mastery: Practice Exam Questions for "DiD Parallel Trends & Event Study"
Take pitfall multiple-choice questions with derivation options; mistakes are automatically logged.
🚀 Start Card Practice ➔
⚡
Test muscle memory on this topic via 3-Layer Flashcards
Active Recall: Mentally formulate Prompt ➔ Math Derivation ➔ Benchmark Implementation in 3 minutes.
🎯 Drill This Card Now➔
← Previous CardRubin Potential Outcomes & DAG d-SeparationNext Card →Synthetic Control Method & Placebo Checks

🔗 More Data Scientist Knowledge Cards

引用出处: TalentMe 450+ 工业级 AI 架构考点知识库 (Tech Vault) · 遵循 CC-BY-4.0 知识共享协议
URL: https://talentme.airsota.com/resources/tech/roadmap/mindmap/DS/card/ds-did-parallel-trends-event-study