Good morning,
My question is very simple, but I have a strong doubt which I would like to clarify.
I am using a panel database of only two periods to set up a diff in diff ( 2 groups in two periods), to simply let's considered that regression:
The interaction with females is in because I wanna study that particular subgroup.
My question is: what is the correct form of constructing the variable "treat" that I use to see the treatment effect:
Wishing you all a great weekend
My question is very simple, but I have a strong doubt which I would like to clarify.
I am using a panel database of only two periods to set up a diff in diff ( 2 groups in two periods), to simply let's considered that regression:
Code:
xtreg DependVariable TREAT##FEMALE
My question is: what is the correct form of constructing the variable "treat" that I use to see the treatment effect:
- it must indicate the treated individuals (so for those that are treated assume value 1 in both periods and the difference is given from time comparison of in xtreg)
- It must indicate the treatment (so assume value zero for all in T0 and value 1 for treated only in T1)
Wishing you all a great weekend
Comment