-
Notifications
You must be signed in to change notification settings - Fork 52
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
Problem with Multisynth #45
Comments
Could you give some more info? The stack trace, and the function call in particular? |
Thank you for your reply. Here is the traceback call; I hope this helps. Error in Xc[[j]][, (dj - ndim + 1):dj, drop = F] :
7: FUN(X[[i]], ...) |
Dear Eli Thank you for your amazing work and congrats for the publication! Best, Frederic |
I'm having this exact issue as well. I'm wondering if it has something to do with always-treated units as I can replicate the error message using the vignette data if I recode at least of the states to have I'm also attaching the data file that I'm using in case that's helpful in anyway. Thanks to Eli and team for putting this package together! |
@sethneller Thanks for your comment, I played around with it and deleted all the treatments that took place in the first two and last two periods. Like this it would work. |
@sethneller thanks for pointing this out! There are two issues going on. First, if there are always treated units then the method won't work. This seems to be the issue for @frederickluser and @ahmedch92. Second if you're including a fixed effect ( I just added some checking code that'll give a more interpretable error message for both these cases, pointing out which units are causing the problems. Let me know if that works. |
@ebenmichael, thank you so much for your help! That definitely fixed everything on my end and the error messages were super informative. Looking forward to using this method! |
Great, glad this worked! |
Hi,
So I am running multisynth for one of my research projects and it is giving the following error:
Error in Xc[[j]][, (dj - ndim + 1):dj, drop = F] :
subscript out of bounds
There are no missing values in my outcome variable.
Thanks in advance.
The text was updated successfully, but these errors were encountered: