Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encountering the error "nrow(Y) > N0 is not TRUE" after synthdid_estimate #122

Open
WillC123Apple opened this issue Apr 12, 2024 · 1 comment

Comments

@WillC123Apple
Copy link

Hi, I am trying to run the command synthdid_estimate() and I am encountering the error :

"Error in synthdid_estimate(setup1$Y, setup$N0, setup$T0) :
nrow(Y) > N0 is not TRUE
"

When I look the properties of setup1, nrow(setup1$Y) is 970 while setup$N0 is 937. Given this, I am not sure why I am encountering this error. I have tried to format the data as a balanced panel similar to the California dataset. Any help anyone can offer would be appreciated 👍

@davidahirshberg
Copy link
Collaborator

davidahirshberg commented Apr 12, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants