I am performing a synthetic diff-in-diff analysis using Clarke and Palanir's sdid command. I have daily data on 7 treated units, 35 untreated units, with 63 pre-treatment days and 25 days post-treatment. All units are treated on the same date.
The code is this:
This produces the following graph:

I believe that divergence in mid-May is happening because a few of the treated units are expanding in size at that time. I have tried to control for that using the covariates, but I am not clear if sdid is averaging them over the entire pre-treatment period or just using daily values. Anticipation of treatment is not plausible in my setting.
The estimated effect is
I have tried trimming the pre-May 15th data, which shrinks the effect and leaves it insignificant.
Am I correct to be worried here? Is there any way to handle this while keeping the April and May data?
The code is this:
Code:
sdid Y ID dailydate D, method(sdid) vce(placebo) reps(1000) covariates(X1 X2 X3 X4 X5, projected) graph
I believe that divergence in mid-May is happening because a few of the treated units are expanding in size at that time. I have tried to control for that using the covariates, but I am not clear if sdid is averaging them over the entire pre-treatment period or just using daily values. Anticipation of treatment is not plausible in my setting.
The estimated effect is
Code:
Synthetic Difference-in-Differences Estimator ----------------------------------------------------------------------------- games_booked | ATT Std. Err. t P>|t| [95% Conf. Interval] -------------+--------------------------------------------------------------- D | 1.88892 0.60899 3.10 0.002 0.69533 3.08252 -----------------------------------------------------------------------------
I have tried trimming the pre-May 15th data, which shrinks the effect and leaves it insignificant.
Code:
Synthetic Difference-in-Differences Estimator ----------------------------------------------------------------------------- games_booked | ATT Std. Err. t P>|t| [95% Conf. Interval] -------------+--------------------------------------------------------------- D | 0.66752 0.57616 1.16 0.247 -0.46172 1.79677 -----------------------------------------------------------------------------
Am I correct to be worried here? Is there any way to handle this while keeping the April and May data?
Comment