You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a formula contains instruments, dot sqaure bracket expansions don’t work for left hand side variables. Without macros in the formula I get the expected multiple estimation results:
When a formula contains instruments, dot sqaure bracket expansions don’t work for left hand side variables. Without macros in the formula I get the expected multiple estimation results:
With a macro, instead of expanding it to estimate multiple models, LHS variables are expanded into a sum:
I couldn’t find any reference in the docs that this should’t work. However, explicitly requesting a comma expansion and wrapping the macro in
c()
:The same happens with regexes as well:
library(fixest)
Created on 2023-02-27 with reprex v2.0.2
Session info
The text was updated successfully, but these errors were encountered: