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

partial plots for glmboost #120

Open
cmnelson1 opened this issue Sep 3, 2023 · 2 comments
Open

partial plots for glmboost #120

cmnelson1 opened this issue Sep 3, 2023 · 2 comments

Comments

@cmnelson1
Copy link

The documentation shows the possibility of getting partial plots for a glmboost object. I have tried many things and have only been able to obtain coefficient paths. Can you please suggest some code (or an existing function) to obtain the partial plots?
Thank you!

@davidruegamer
Copy link
Member

davidruegamer commented Sep 3, 2023

glmboost fits a GLM, not a GAM, hence there is nothing (non-linear) to plot. Technically the software could plot the estimated linear effects, but that seems unnecessary, considering it's just a single number that is visualized. It's better to use coef(your_model) in this case.

@cmnelson1
Copy link
Author

Thank you for your quick reply! I do have the coefficients, but it is also nice to plot predicted interaction effects. It sounds like the package does not have the ability to plot these for glmboost?

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