Hello, I have data on stolen cars from a U.S. city for the year 2024. Below is a dataex sample. The variable id identifies individuals; stolen_cars is the number of cars stolen from each individual; and the date variable records when the theft occurred. I’m interested in testing whether more cars were stolen during April 18–28, 2024. I created an indicator variable, intervention, that denotes whether the theft occurred outside this window (i.e., prior to April 18, 2024 or after April 28, 2024). I initially considered an ARIMA model, but the data are panel rather than a single time series. I also considered an interrupted time-series approach but wasn’t sure which model would be most appropriate. Would a segmented negative binomial regression be suitable? Any suggestions would be appreciated.
Code:
* Example generated by -dataex-. For more info, type help dataex clear input byte(id stolen_cars) str9 date byte intervention 1 1 "1-Jan-24" 0 2 3 "1-Jan-24" 0 3 1 "1-Jan-24" 0 4 2 "2-Jan-24" 0 5 1 "18-Apr-24" 1 6 1 "18-Apr-24" 1 7 1 "30-Apr-24" 2 8 1 "7-May-24" 2 9 2 "7-May-24" 2 end

Comment