ebenmichael / augsynth

Augmented Synthetic Control Method
MIT License
143 stars 52 forks source link

Adding auxiliary covariates causes fatal error #77

Open jhatamyar opened 2 years ago

jhatamyar commented 2 years ago

Adding auxiliary covariates is causing R to abort when calling multisynth. I have tried using both time-constant and time-varying covariates, ensured there is no missing data in the matching covariate, all to no avail. This is the format I am using:

ppool.syn<- multisynth(y ~ x | c1, unit, weeknumber, 
                              data, n_lags = 12, n_leads = 16)

When I do not include the c1 covariate, the code runs as expected. Thanks!

matteopinna commented 2 years ago

I have the same issue, and a colleague as well, on a different dataset. Dataset is balanced with no missing values.