Hi everyone,
I’m working with the ACLED dataset to study the effect of terrorist attacks at the department-year level.
In my raw data, each row is an event, with variables for depart_id, year, and some event characteristics (e.g., success, fatalities). I collapse it to the department-year level as follows:
collapse (sum) fatalities (max) successful = success (count) n_events = event_id, by(depart_id year) As expected, this produces one observation per department-year only if at least one event occurred. So, if a department had no attacks in a given year, that (depart_id, year) combination does not appear in the collapsed dataset. To create a full panel for my analysis (e.g., event-study or DiD), I then merge this collapsed file onto a complete list of all department-year combinations and replace missing values with zeros, assuming that if a department-year is not recorded in ACLED, then no event occurred. My question is: Is this a good practice? Or should I treat these as missing instead of zeros? From my understanding, ACLED provides full coverage for all regions and years within my study period, so the absence of an event means that no attack was recorded, not that data are missing. But I’d like to confirm that this is the right way to construct the panel before proceeding. Thank you!
I’m working with the ACLED dataset to study the effect of terrorist attacks at the department-year level.
In my raw data, each row is an event, with variables for depart_id, year, and some event characteristics (e.g., success, fatalities). I collapse it to the department-year level as follows:
collapse (sum) fatalities (max) successful = success (count) n_events = event_id, by(depart_id year) As expected, this produces one observation per department-year only if at least one event occurred. So, if a department had no attacks in a given year, that (depart_id, year) combination does not appear in the collapsed dataset. To create a full panel for my analysis (e.g., event-study or DiD), I then merge this collapsed file onto a complete list of all department-year combinations and replace missing values with zeros, assuming that if a department-year is not recorded in ACLED, then no event occurred. My question is: Is this a good practice? Or should I treat these as missing instead of zeros? From my understanding, ACLED provides full coverage for all regions and years within my study period, so the absence of an event means that no attack was recorded, not that data are missing. But I’d like to confirm that this is the right way to construct the panel before proceeding. Thank you!

Comment