Getting this error while running the following code snippet -
res <- fect::fect(
formula = total_revenue ~ treated,
data = final_df,
na.rm = TRUE,
index = c("geo_dma", "complete_date"),
method = "gsynth",
r = 2,
CV = FALSE,
se = TRUE
)
The columns I have in my R dataframe -
'data.frame': 135173 obs. of 4 variables:
$ geo_dma : num 643 596 771 545 813 705 526 545 523 737 ...
$ complete_date: Date, format: "2024-02-09" "2024-01-14" ...
$ total_revenue: num xyz xyz xyz xyz xyz ...
$ treated : num 0 0 0 0 0 0 0 0 0 0 ...
Super new to using GSCM, would appreciate any help! Sorry for any ignorance, in advance
Getting this error while running the following code snippet -
res <- fect::fect(
formula = total_revenue ~ treated,
data = final_df,
na.rm = TRUE,
index = c("geo_dma", "complete_date"),
method = "gsynth",
r = 2,
CV = FALSE,
se = TRUE
)
The columns I have in my R dataframe -
'data.frame': 135173 obs. of 4 variables:
$ geo_dma : num 643 596 771 545 813 705 526 545 523 737 ...
$ complete_date: Date, format: "2024-02-09" "2024-01-14" ...
$ total_revenue: num xyz xyz xyz xyz xyz ...
$ treated : num 0 0 0 0 0 0 0 0 0 0 ...
Super new to using GSCM, would appreciate any help! Sorry for any ignorance, in advance