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

is weight option supported when se=T? #73

Open
jtorcasso opened this issue Dec 16, 2021 · 2 comments
Open

is weight option supported when se=T? #73

jtorcasso opened this issue Dec 16, 2021 · 2 comments

Comments

@jtorcasso
Copy link

When I run

out <- gsynth(y ~ d, data = fit.data, index = c("zip","t"), 
    estimator='ife', force = "two-way", r = 6, CV=F, se = T, weight=NULL)

everything runs smoothly, but when I include a weight, and run

out <- gsynth(y ~ d, data = fit.data, index = c("zip","t"), 
    estimator='ife', force = "two-way", r = 6, CV=F, se = T, weight='pop')

I get the error Bootstrap inference fails. Please check the data.. FYI, I can get the second snippet to run if I set se=F.

@jtorcasso
Copy link
Author

FYI, I've played around with synthetic data, and haven't been able to replicate the error yet with a MWE. But if anyone has an intuition for what's going on before then, I'd be happy to hear.

@xuyiqing
Copy link
Owner

xuyiqing commented Dec 18, 2021 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