Is it possible in DID regression to compare only certain treated units to certain controls?
Consider this example
Suppose I wish to compare Basque only to Cataluna and Aragon, and I only wish to compare Extremadura, I don't know, Andalusia and La Rioja.
Is there any way via the context of a single regression estimator (perhaps using interaction terms?) to specify such a model? I would expect the relevant coefficients to correspond to the DID estimate for each treated unit using ONLY the pre-specified comparison units for each treated unit. Is this something that's readily solvable? Edit: I'm not in the U.S., so I'm away from my laptop, that's why I can't provide any code I've tried myself.
Consider this example
Code:
net from "https://raw.githubusercontent.com/jgreathouse9/FDIDTutorial/main" net install fdid, replace net get fdid, replace // Reinstall fdid so you have the most recent version clear * qui u basque // Import basque replace treat = 1 if id==12 & year >=1976 // Pretend Extremadura (a unit that'll never be a donor) was treated cls
Is there any way via the context of a single regression estimator (perhaps using interaction terms?) to specify such a model? I would expect the relevant coefficients to correspond to the DID estimate for each treated unit using ONLY the pre-specified comparison units for each treated unit. Is this something that's readily solvable? Edit: I'm not in the U.S., so I'm away from my laptop, that's why I can't provide any code I've tried myself.
Comment