Hi,
I am trying to run a regression that uses the following design: measuring the effect of a treatment whether treatment is defined as being surveyed X days after an event and control is X days before the event, and my data groups together several different events. I use the following specification using the reghdfe command accessed via ssc install:
where event_id are event FEs and codenum are locality FEs. Some events only have respondents in one of the groups (only treatment or only control respondents). But looking at bys event_id: tab treat if e(sample) I see that these are not being dropped from the estimation sample. Including vs manually excluding these events changes the output significantly, and I'm not sure how to proceed (exclude or include these events).
I am trying to run a regression that uses the following design: measuring the effect of a treatment whether treatment is defined as being surveyed X days after an event and control is X days before the event, and my data groups together several different events. I use the following specification using the reghdfe command accessed via ssc install:
Code:
reghdfe y i.treat $controls , a(event_id codenum) vce(robust)
Comment