Hi,
I have worked with SDID before but always with just one treated unit and usually in groups instead of unique IDs.
I have a dataset with data for firms from 2002-2020. Each firm has its own bvdid. 94 of these IDs are treated units, the rest is untreated. I was assuming this code should work:
synth RD (impact_2005) year bvdid, trunit(1) trperiod(2005)
impact_2005: shows after 2005 and treated
bvdid: shows the firm IDs
year: gives all years from 2002-2020
With help synth I see the following:
trunit(#) the unit number of the unit affected by the intervention as given in the panel id
variable specified in tsset panelvar; see tsset. Notice that only a single unit number can be
specified. If the intervention of interest affected several units the user may chose to
combine these units first and then treat them as a single unit affected by the intervention.
I am now desperately trying to combine the treated units in a way that the command still works. I was thinking of simply assigning the same ID to all treated values but then I run into the problem of my panel data no longer being uniquely identified by bvdid and year.
Has anyone worked with such data before and knows of a better workaround/solution? (I do also have variables such as country, iso_codes I could possibly use for grouping)
Highly appreciated!
I have worked with SDID before but always with just one treated unit and usually in groups instead of unique IDs.
I have a dataset with data for firms from 2002-2020. Each firm has its own bvdid. 94 of these IDs are treated units, the rest is untreated. I was assuming this code should work:
synth RD (impact_2005) year bvdid, trunit(1) trperiod(2005)
impact_2005: shows after 2005 and treated
bvdid: shows the firm IDs
year: gives all years from 2002-2020
With help synth I see the following:
trunit(#) the unit number of the unit affected by the intervention as given in the panel id
variable specified in tsset panelvar; see tsset. Notice that only a single unit number can be
specified. If the intervention of interest affected several units the user may chose to
combine these units first and then treat them as a single unit affected by the intervention.
I am now desperately trying to combine the treated units in a way that the command still works. I was thinking of simply assigning the same ID to all treated values but then I run into the problem of my panel data no longer being uniquely identified by bvdid and year.
Has anyone worked with such data before and knows of a better workaround/solution? (I do also have variables such as country, iso_codes I could possibly use for grouping)
Highly appreciated!
Comment