Hello,
I have the following error:
Fehler in multisynth_qp(X = bal_mat, trt = wide$trt, mask = wide$mask, :
'list' object cannot be coerced to type 'double'
I am trying to run multisynth function
multisynth(form = log_gini ~ D,
unit = state_name,
time = wrkyr,
data= new_data)
My States all get treated at some point, so I have a staggered design and want to use not yet treated units as controls.
I would appreciate it if you could help me solve this issue.