mboost icon indicating copy to clipboard operation
mboost copied to clipboard

partial plots for glmboost

Open cmnelson1 opened this issue 2 years ago • 2 comments

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!

cmnelson1 avatar Sep 03 '23 19:09 cmnelson1

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.

davidruegamer avatar Sep 03 '23 19:09 davidruegamer

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?

cmnelson1 avatar Sep 03 '23 20:09 cmnelson1