Hi,
I have to perform a DiD analysis with multiple treatment groups and multiple time periods but I'm a bit confused on what code to use for it. I have to check the effect of fresh water supply on infant mortality in different municipalities.
I used to following code for my multiple regression: regress imrtot i.kreisid i.year treatment
I have the following variables:
- imrtot: infant mortalilty
- treatment: access to water
- kreisid: ID municipalities
- year
- wateryear: year access to water
Can someone help me with the DiD analysis?
Thank you
I have to perform a DiD analysis with multiple treatment groups and multiple time periods but I'm a bit confused on what code to use for it. I have to check the effect of fresh water supply on infant mortality in different municipalities.
I used to following code for my multiple regression: regress imrtot i.kreisid i.year treatment
I have the following variables:
- imrtot: infant mortalilty
- treatment: access to water
- kreisid: ID municipalities
- year
- wateryear: year access to water
Can someone help me with the DiD analysis?
Thank you
Comment