edunford / tidysynth

A tidy implementation of the synthetic control method in R
Other
98 stars 14 forks source link

System is computationally singular #24

Closed christopherdavisw closed 1 year ago

christopherdavisw commented 1 year ago

Does anyone have thoughts on how to solve the "system is computationally singular" error? I get this error when running synth commands with multiple predictors.

I think it's something in the synth_method function, and seems to throw an error for some geographic observations and not others when using generate_placebos = TRUE

edunford commented 1 year ago

Interesting @cdavisurban! Could you provide a reproducible example so I can try to simulate the error? I haven't run into this before.