misleading subtitle with check_heteroscedasticity with binomial data?
Maintainers usually reply within 1 day
@jmgirard is already working on this.
Since Nov 5, 2026.
Assessment
This issue has not been assessed yet.
Description
I think the subtitle from check_heteroscedasticity is misleading for binomal data (and perhaps other distributions other than Gaussian)
The subtitle says that the reference line should be flat and horizontal. With Gaussian data it should be flat, but not with binomial data, as shown by this simulation.
Can the text be changed when the expectation isn't for a flat line?
# simulate binomial data
testData <- DHARMa::createData(sampleSize = 500, intercept = 0, fixedEffects = c(4),
family = binomial(), randomEffectVariance = 0)
# fit model
mod <- glm(observedResponse ~ Environment1, data = testData, family = binomial)
# show diagnostics
performance::check_model(mod,check = "homogeneity", residual_type = "simulated")
#> Cannot simulate residuals for models of class `glm`. Please try
#> `check_model(..., residual_type = "normal")` instead.

Created on 2026-11-05 with reprex v2.1.1
It also giving a message that it cannot simulate residuals, but the help file for check_model says these are the default for non-Gaussian data.
- Dominant language
- R
- Stars
- 1.2k
- Forks
- 113
- Avg merge
- 9h 8m
- Merged PRs (30d)
- 27
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from easystats/performance
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
easystats/performance#1038 ·
Maintainers usually reply within 1 day
-
Waiting for response :love_letter:
Difficulty 3/5 1-2 days Newbie friendliness 62/100
easystats/performance#1005 · 1 comment ·
Maintainers usually reply within 1 day
-
`check_outliers()`: Cook's distances land on the wrong rows when the model skips or reorders rowsOpen3 investigators :grey_question::question: Bug :bug:
Difficulty 4/5 3-5 days Newbie friendliness 22/100
easystats/performance#981 · 1 comment ·
Maintainers usually reply within 1 day
-
Docs :books: Enhancement :boom:
Difficulty 5/5 Over a week Newbie friendliness 45/100
easystats/performance#901 · 2 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
Enhancement :boom:
Difficulty 4/5 3-5 days Newbie friendliness 35/100
easystats/performance#891 ·
Maintainers usually reply within 1 day
All issues in easystats/performance
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
ThinkR-open/mordew#89 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
epiforecasts/EpiNow2#1694 · 2 reactions ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
easystats/correlation#403 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
mitchelloharawild/mixtime#111 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
conda-forge/xgboost-feedstock#313 ·