본문 바로가기

카테고리 없음

DID 분석 모형

 

https://www.youtube.com/watch?v=r2Spd1YSlQM

 

해당 강의를 참고하여 작성한 글입니다 


Canonical DID (표준 DID)

  • Treat_i: treatment를 받은 unit인지 여부
  • Post_t: treatment 전후 시점 여부
  • treatment group의 post-treatment 시점의 effect: β0 + β1 + β2 + β3
  • counterfactual의 post-treatment 시점의 effect: β0 + β1 + β2
    • Treat_i = 1, Post_t = 1, Treat_i * Post_t = 0
  • -> β3 = treatment group과 counterfactual의 treatment effect의 차이 

Staggered DID (시차를 가지는 DID) 

  • unit마다 treatment를 받는 timing이 다른 경우 -> Post_it으로 unit에 따라서 treatment를 받는 시점이 다르게 정의됨
  • Treat_i * Post_it의 interaction term은 Post_it에 의해 흡수 되어 정의하지 않아도 됨 
    • 예외상황: matching 시, control unit과 매치된 treatment unit의 treated 시점에 의해 정의될 때 -> Control group에서도 Post_it가 정의되기 때문에 interaction term도 정의됨 

Canonical DID with Two-way fixed effects (TWFE) 

  • Treat_i 대신 δi (unit fixed effect) -> 시간에 따라 변하지 않는 Treat_i가 흡수됨 
    • δi는 unit 마다 다르게 정의됨 
    • Treat_i는 Treatment / Control group에 따라서만 다르게 정의됨 
  •  Post_t 대신 θt (time fixed effect) 사용 -> unit에 따라 변하지 않는 Post_i가 흡수됨 

Staggered DID with two-way fixed effects (TWFE)

  • Treat_i 대신 δi 사용, Treat_i * Post_it는 Post_it에 흡수되어 사용하지 않음