-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
check_model() does not produce Uniformity of Residuals plot for binomial models #362
Comments
I think the problem is that the lower left panel is empty. |
Same here but with poisson glm and negative binomial glm. However, after having installed qqplotr package it worked! R version 4.4.1 (2024-06-14 ucrt) |
Can you post your session info? |
Hi @strengejacke. here is the current session info, which is after I have installed qqplotr_0.0.6 R version 4.4.1 (2024-06-14 ucrt) Matrix products: default oocale: time zone: America/Sao_Paulo attached base packages: other attached packages: loaded via a namespace (and not attached): |
I discovered this bug yesterday when several of my students were unable to generate a QQ plot for logistic regression models. After replicating the issue myself, I confirmed the problem. I attempted to adjust the options in The weird part was that the code didn't produce any warning or error messages, unlike when other dependencies are missing. However, after running
And here´s the plot: Below you can find my session info. However, we tried in several computers at work and get the same problem.
|
Strange. Do you have a |
Short remark: issue is probably somewhere here: see/R/plot.performance_simres.R Lines 108 to 128 in b294a18
|
Thanks, should be fixed in #363 |
I was playing with a glm() to check how various packages check for assumptions, and I saw that for binomial models it does not produce the QQ plot (although the documentation says it should).
Reproducible example
check_models()
produces this:The function for it seems to work, as if you call
check_residuals()
directly it says:> check_residuals(model) OK: Simulated residuals appear as uniformly distributed (p = 0.912).
Not sure why there is no plot. Maybe I am making a mistake somewhere.
The text was updated successfully, but these errors were encountered: