Dear all:
I run the following code in R to test whether your synth function does work on my panel dataset:
library(haven)
testen <- read_dta("test files/testen.dta")
View(testen)
library(dplyr)
setup = panel.matrices(as.data.frame(as_tibble(testen)))
I got the following error message:
library(haven)
testen <- read_dta("test files/testen.dta")
View(testen)
library(dplyr)
setup = panel.matrices(as.data.frame(as_tibble(testen)))
Error in panel.matrices(as.data.frame(as_tibble(testen))) :
The package cannot use this data. Treatment adoption is not simultaneous.
In addition: There were 50 or more warnings (use warnings() to see the first 50)
Any help to solve this issue is greatly appreciated. Is this package also available for staggered treatments?