Closed
Description
By model type.
Here are some examples that should not work. (@bwiernik Can you double check me?)
m <- glm(am ~ mpg, mtcars,
family = binomial())
performance::check_normality(m)
#> OK: residuals appear as normally distributed (p = 0.059).
m <- glm(gear ~ mpg, mtcars,
family = poisson())
performance::check_normality(m)
#> Warning: Non-normality of residuals detected (p = 0.001).
performance::check_heteroscedasticity(m) # fails properly
#> Error in check_heteroscedasticity.default(m): This Breusch-Pagan Test currently only works Gaussian models.
Created on 2021-04-08 by the reprex package (v1.0.0)