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

Inconsistencies in Printout of Interaction Terms #527

Open
SebKrantz opened this issue Sep 17, 2024 · 0 comments
Open

Inconsistencies in Printout of Interaction Terms #527

SebKrantz opened this issue Sep 17, 2024 · 0 comments

Comments

@SebKrantz
Copy link
Contributor

Minor point, but I would have expected the interaction term to be on the same line:

library(fixest)
#> Warning: package 'fixest' was built under R version 4.3.3
ols <- feols(mpg ~ carb + carb:vs | cyl + am, data = mtcars)
iv <- feols(mpg ~ 0 | cyl + am | carb + carb:vs ~ wt + qsec, data = mtcars)
etable(ols, iv)
#>                              ols             iv
#> Dependent Var.:              mpg            mpg
#>                                                
#> carb            -1.255* (0.1876) -3.594 (1.454)
#> carb x vs       0.6035. (0.1408)               
#> carb:vs                           15.18 (37.67)
#> Fixed-Effects:  ---------------- --------------
#> cyl                          Yes            Yes
#> am                           Yes            Yes
#> _______________ ________________ ______________
#> S.E.: Clustered          by: cyl        by: cyl
#> Observations                  32             32
#> R2                       0.81697        -2.4931
#> Within R2                0.22076        -13.872
#> ---
#> Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Created on 2024-09-17 with reprex v2.0.2

Thanks to whoever has time to look at this. Might do it myself at some point but quite busy currently. Cheers.

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

1 participant