-
Notifications
You must be signed in to change notification settings - Fork 303
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
tidy.varest contains wrong (repeated) coefficients? #1174
Comments
Thank you! Just put a fix in.
Package output is unfortunately not standardized in that case. The modeltests glossaries should give a sense of the set that those column names should fall in, but the divergence of those column names happened early on in the package's development and likely won't be revisited. |
thanks for the fix and additional info! Where can one consult the "modeltests glossaries "? Thanks! |
Ah, that was a bit obscure, wasn't it👻 Here's the glossary for acceptable column names in |
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue. |
tidy.varest
for packagevars
contains redundant coefficients, repeating coefficients of equation 1 for all equations instead of updating them. See below, wheretidy(x)$estimate == coef(x)
only for the first K variables in equation 1.The bug comes most likely from the use of index
[[1]]
instead of[[v]]
in https://github.com/tidymodels/broom/blob/main/R/vars-tidiers.R, implemented in #979:Also, are there
tidy
conventions for the name of the equation variable in the tidy output for multi-response/equations models? I notice tidy.varest uses group whereas tidy.mlm uses response (I guess there are more models with multiple equations)?Created on 2023-10-04 with reprex v2.0.2
The text was updated successfully, but these errors were encountered: