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

GOF on the right-side when shape = model ~ ... #620

Closed
pmavros opened this issue Apr 7, 2023 · 6 comments
Closed

GOF on the right-side when shape = model ~ ... #620

pmavros opened this issue Apr 7, 2023 · 6 comments

Comments

@pmavros
Copy link

pmavros commented Apr 7, 2023

Hi Vincent,

Thanks for the amazing package.

I am trying to bundle 4 models (in long format). I want to have statistics (SE, p, etc) as columns) and keep the g.o.f. metrics for each model.

When i use shape = model + term ~ statistic (using formated statistic) it does not print the gof.

Is this a bug?

@vincentarelbundock

This comment was marked as outdated.

@pmavros

This comment was marked as outdated.

vincentarelbundock added a commit that referenced this issue Apr 8, 2023
@vincentarelbundock

This comment was marked as outdated.

@pmavros
Copy link
Author

pmavros commented Apr 18, 2023

Hi Vincent,

Thanks for this update. I see your point on have the gof on the side. In my case there is still some value in having that flexibility (i ony want to report n_obs and r2 marg/conditional. on the side. We have many models, with different terms and we want to 'package' them neatly in 1-2 tables (with sub-groups for each model) instead of having separate 16 tables in a paper. Showing each model vertically does not work, because the terms change and it leads to very long tables (also not readable), hence I am playing around the stacked logic.

@vincentarelbundock
Copy link
Owner

Got it. Makes sense.

For boring technical reasons, this would be a bit annoying to implement, and I am overworked at the moment. I'm going to leave this issue open as a reminder, but I can't promise a solution in the short or medium term.

In the meantime, you can always use the add_columns argument. It's a more manual process, but it should work.

@vincentarelbundock vincentarelbundock changed the title remove statistic when rbind GOF on the right-side when shape = model ~ ... Apr 18, 2023
@vincentarelbundock
Copy link
Owner

It's been a while and haven't had the impulse. I'm probably not going to do this so closing now.

As stated above, add_columns provides a rather easy way to do this. sorry to disappoint.

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

2 participants