Skip to content

Error in eval(parse(text = .DATABRICKS_CURRENT_TEMP_CMD__)) : Mat::head_cols(): size out of bounds #97

@SanchayniB

Description

@SanchayniB

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions