Suppose that I have the following two group two time Difference-in-Difference model:
$Y_{it}=\alpha_{0}+\alpha_{1}*d_{t} + \alpha_{2}*Treated_{i}+\alpha_{3}*d_{t}*Treated_{i}+\alpha_{4}*X_{it}+\epsilon_{it}$
The objective is to infer a causal relationship between the outcome variable $Y_{it}$ (that represent the municipality "i" per capita expenditures) and a policy status, represented by $Treated_{i}$.
$\alpha_{3}$ measure the parameter of interest, the ATT.
However, I suspect tha the ATT varies with the municipaliy sizes, how can I test for this heterogeneous effect?
I can simply write the model with interactions terms like the folowing?
$Y_{it}=\alpha_{0}+\alpha_{1}*d_{t} + \alpha_{2}*Treated_{i}+\alpha_{3}*d_{t}*Treated_{i}*Size1_{it}+\alpha_{4}*d_{t}*Treated_{i}*Size2_{it}+\alpha_{5}*X_{it}+\epsilon_{it}$
Someone can indicate some paper that construct this kind of analysis?