-
Notifications
You must be signed in to change notification settings - Fork 4
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
Compatability with did2s #136
Comments
Hi @michaeltopper1 - unfortunately, If you want to make your inference robust to a small number of (treated) clusters, here are two options: first, you could try out I hope this helps! |
Hi @s3alfisc. No worries, and thank you very much for the alternative suggestions! I'll definitely check out your other package Thanks! |
Hello!
I am trying to get the
fwildclusterboot::boottest
function to work withdid2s
. This used to work in previous versions (I believe in 0.7 it works) of the packages, but has since lost capatability.Here is a reproducible example using an example from the
did2s
vignette and theboottest
function:Unfortunately, I get the following error: Error in fixest::feols(fml = dep_var ~ 1, data = data, weights = weights_vector, :
Argument 'data' must be either: i) a matrix, or ii) a data.frame. Problem: it is not a
matrix nor a data.frame (instead it is a function).
I believe that this has to do with how
boottest
is grabbing the data from thefixest
object, and in turn, howdid2s
is storing the data. It looks likedid2s
is naming the data object asdata
whichboottest
can then not find.Any guidance on a possible workaround? I know I could possibly downgrade the version of
fwildclusterboot
to something prior, but the speedups from the newer versions make me less inclined to do this.Thanks!
The text was updated successfully, but these errors were encountered: