Closed eohne closed 7 months ago
Hi @eohne, it's a bit complicated why this fails. A data.table
object causes problems in fixest:::prepare_df
. There is a fix with https://github.com/lrberge/fixest/pull/435, but it's not merged yet.
So, a short-term fix is converting to a regular data.frame: as.data.frame(df_het)
. I also changed the structure of df_het
/df_hom
to be data.frame
objects to avoid this issue with my own example code 🙃
Amazing! Thanks a lot also for the super fast reply!
@kylebutts: sorry for the delay, the fix should be there soon now!!!
Hi Kyle
Thanks a lot for this package! Nice work.
I previously used the CRAN version and everything works fine there. I then installed the GitHub version and both the static model and the event study fail for the Gardner (2021) estimation:
Output:
Similarly, if I run the example code for the static did2s regression from the manual:
Output:
Session Info:
I installed the dev version of data.table just before running:
I will use the CRAN version for now. Could you in the meantime maybe give me a quick summary of the differences between the two - except that the GitHub version is meant to either run faster or on larger datasets?