Dear community,
I know triple DiD, so a DiD for which the treatment group has two subgroups, e.g. female and male.
With panel data, I would estimate the following
Xit = a0 + b1 x Treatedit (= 1 if year is after the treatment onset and if unit belongs to treatment group) + b2 x Treatedit x Femalei + di + dt + dit + eit
where b2 accounts for the heterogenous treatment effects for women vs. men and d stands for the fixed effects.
My question is now: What do I do I have 3 rather than only 2 subgroups, so e.g. if I have female, male and non-binary as different subgroups (just as an example, in my work it's about primary, secondary and tertiary economic activity)?
Would I do sth like:
Xit = a0 + b1 x Treatedit + b2 x Treatedit x Femalei + b3 x Treatedit x Malei di + dt + dit + eit
such that the reference group are non-binary units?
Or would I do 2 regressions of:
Xit = a0 + b1 x Treatedit + b2 x Treatedit x Femalei + di + dt + dit + eit
and
Xit = a0 + b1 x Treatedit + b2 x Treatedit x Malei + di + dt + dit + eit?
Or is this not possible at all?
I appreciate any help.
Best
Noemi
I know triple DiD, so a DiD for which the treatment group has two subgroups, e.g. female and male.
With panel data, I would estimate the following
Xit = a0 + b1 x Treatedit (= 1 if year is after the treatment onset and if unit belongs to treatment group) + b2 x Treatedit x Femalei + di + dt + dit + eit
where b2 accounts for the heterogenous treatment effects for women vs. men and d stands for the fixed effects.
My question is now: What do I do I have 3 rather than only 2 subgroups, so e.g. if I have female, male and non-binary as different subgroups (just as an example, in my work it's about primary, secondary and tertiary economic activity)?
Would I do sth like:
Xit = a0 + b1 x Treatedit + b2 x Treatedit x Femalei + b3 x Treatedit x Malei di + dt + dit + eit
such that the reference group are non-binary units?
Or would I do 2 regressions of:
Xit = a0 + b1 x Treatedit + b2 x Treatedit x Femalei + di + dt + dit + eit
and
Xit = a0 + b1 x Treatedit + b2 x Treatedit x Malei + di + dt + dit + eit?
Or is this not possible at all?
I appreciate any help.
Best
Noemi
Comment