insongkim / PanelMatch

113 stars 34 forks source link

PanelMatch not running when covs.formula is changed #78

Open alemef96 opened 3 years ago

alemef96 commented 3 years ago

Hi, when i try to change which variables to use for matching i got this error: Error in data.frame(..., check.names = FALSE) : arguments imply differing number of rows: 15, 3367

Not sure exactly how I should proceed

Thank you for a great package and promising framework.

fullt024 commented 3 years ago

Agreed- same issue. Were you able to resolve this? For me I am able to run PanelMatch, but I get this error when I run 'get_covariate_balance'

adamrauh commented 3 years ago

Could you both share a reproducible example? It's hard to say what this might be otherwise. Thanks in advance!

fullt024 commented 3 years ago

I'm not sure how to provide an example without uploading private data. I'm running:

get_covariate_balance(matches$att, data = df, covariates = c("CTS","AVG_X"), plot = FALSE

where matches is a panel match output and the covariates are type integer.