You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using synthdid library to perform an econometric analysis. TREATMENT is a dummy variable (0 for non-treated observations, 1 for treated observations) My code is this:
Re the date thing, it's hard to tell what's going on with just print output. You may want to try creating your date column exactly like in the example here and doing that after conversion from tibble to dataframe.
By default, we don't return standard error estimates when there's only one treated unit. To get one, we have to use a method that isn't particularly trustworthy. But if you want to do that, say synthdid_estimate(setup$Y, setup$N0, setup$T0)pass se.method='placebo'). See here.
I'm doing SDID Estimator with R using Panel Data. I have historical data with the following form :
I'm using
synthdid
library to perform an econometric analysis. TREATMENT is a dummy variable (0 for non-treated observations, 1 for treated observations) My code is this:The function works perfectly but my date (period) labels are incorrect. In the plot, i have this result :
The date labels are in float format while in my data i have date with Date format. The result of the model is also misformatted for the dates
Also, i don't have the standard error of the estimator.
Can you help me to solve the date problem and the standard error issue ?
Regards,
Constantin
The text was updated successfully, but these errors were encountered: