Lm_plot with bambi

I’m trying to create a regression plot with lm_plot in conjunction with bambi. I passed in the inference data object into lm_plot, but I don’t what other parameters I’m supposed to pass in to make it work. Any examples of how to create these regression plots with bambi would be helpful. Thank you!

1 Like

Hello!

Do you have an example of what you’re trying to do?

However, I think it would be better to use plot_cap from Bambi.

Do

from bambi.plots import plot_cap

plot_cap(model, idata, ["predictor"])

And it should work.