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

ymin and ymax are of different distance from the mean in cat_plot when used with glm.nb #62

Open
RonEfrat opened this issue Oct 30, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@RonEfrat
Copy link

Hi,

First thanks for the great package!

I tried to use cat_plot with a glm.nb model that has two categorical variables and their interactions (y ~ A*B). Surprisingly, the mean does not sit in the middle between the ymin and ymax. For example, for group A1B1, the mean is 14.4, ymax is 17.5 and ymin is 11.9.
Using the same variables in a regular (non nb) glm returned normal results (the mean was in the middle).
I assume this is an error, as I can't think of a reason that the positive and negative CI (these are CI right?) will be different.

Thanks in advance.

@RonEfrat RonEfrat added the bug Something isn't working label Oct 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant