I would like to use the causal impact algorithm, however, not in the context of marketing, but in medicine. The problem is that the intervention does not take place at the same time, but on an individual date for every participant. Is it possible to model the post and pre period individually?
I have round about 1000 participants. The intervention period is over one year and I could aggregate the intervention time at the month level: the year would not be concrete enough.
synth_runner
in Stata,microsynth
in R. DID has unit-specific treated dummy and post dummies, plus their interaction, which is the parameter of interest. $\endgroup$