Closed davidnathanlang closed 3 years ago
For Visual Reference
When we do not include covariates in the specification we do get identical results across unit variables.
library(augsynth)
library(rlang)
syn_wrap_nocov <- function(unit) {
augsynth(lngdpcapita ~ treated,
{{unit}}, year_qtr, kansas,
progfunc = "none", scm = T,fixedeff=F)
}
syn_wrap_nocov(fips) # -0.029
syn_wrap_nocov(abb) # -0.029
syn_wrap_nocov(state) # -0.029
Thanks for catching this! It was indeed a sorting issue with covariates. It should be fixed now.
I am getting distinct ATT estimates for synthetic control depending on sort order of unit names. I wanted to verify that this is still expected behavior. I thought this may have been an issue with cross-validation in ridge regression. I am still getting distinct results on vanilla synthetic control. See reprex below (Thanks @williamlief for the example).