R6 - DiD with heterogeneous TE.pdf