-
Notifications
You must be signed in to change notification settings - Fork 129
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
Feature request: Support for multi-components models #1540
Comments
Absolutely! 🚀 🚀 🚀 |
betarag models are also multicomponent models. Therefore, we should be more general. More precisely, we should check (1) if there is a |
Dear @ddsjoberg Would it be a good time to reopen this discussion and to see how to make tbl_regression() more general for multi components models and to multinomial models other than multinom()? Best regards |
Let's do it! I think there are two general classes of multicomponent models: multinomial outputs (like polytomous regression) and combination models (like the zero-inflated models or the joint longitudinal-survival models). Does that sound right to you? I think the easiest way to make these work with Is there anything else we need to cnosider? |
Thanks, @ddsjoberg, for your feedback. You are right; there are polytomous regression (resulting with an My suggestions are as follows. on broom.helpers sideNew function This function will be in charge of preparing the results and, if needed, returning an additional By default (
An option Such an approach should be pretty flexible. It even allows the development of custom tidiers with other grouping options. on gtsummary sideNo need to have methods according to the type of model. Simply look at the existence of a It would be nice to have Do you think it would be possible to natively include a What do you think? NB: in parralel, related to #1684, we could contact VGAM team to discuss if they could introduce tidiers in their package. |
Dear @ddsjoberg
I'm currently adding support for zero-inflated models in
broom.helpers
, cf. larmarange/broom.helpers#233With such models, you end-up with two sets of coefficients, for the two components of the model (see
component
column in the tidy table).The situation is quite similar with multinomial models and their
"y.level"
column. Could we add support intbl_regression()
using the code already written for multinomial models?Best regards
The text was updated successfully, but these errors were encountered: