Skip to content

Expand check_heterogeneity_bias()'s output #812

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

Merged
merged 37 commits into from
May 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
9974498
Expand `check_heterogeneity_bias()`'s output
strengejacke Apr 30, 2025
0c73645
add function
strengejacke Apr 30, 2025
422b4d3
Merge branch 'main' into strengejacke/issue810
strengejacke Apr 30, 2025
42d61ea
bump
strengejacke Apr 30, 2025
1d5b1fd
docs, news
strengejacke Apr 30, 2025
1febdcb
add details
strengejacke Apr 30, 2025
b944b11
fix example
strengejacke Apr 30, 2025
6ff019e
fixes
strengejacke Apr 30, 2025
47f9f1c
add checks
strengejacke Apr 30, 2025
61b25b7
optimize
strengejacke Apr 30, 2025
18a6ca2
Update check_group_variation.R
mattansb May 4, 2025
5b12ee8
Merge branch 'main' into strengejacke/issue810
strengejacke May 6, 2025
f3d49c0
stylo
strengejacke May 6, 2025
b7c9626
docs
strengejacke May 6, 2025
4961dc2
Merge branch 'main' into strengejacke/issue810
strengejacke May 7, 2025
bbc551b
re write doc and factor function
mattansb May 7, 2025
770c71d
fix checks
mattansb May 7, 2025
fb5cf71
print groups, minor styling
strengejacke May 8, 2025
7089a09
Accept mixed models as well
mattansb May 8, 2025
e243c64
more docs and examples
mattansb May 8, 2025
15bf944
Update DESCRIPTION
mattansb May 8, 2025
b0ed2e9
styler
strengejacke May 8, 2025
642f879
"nested" as additional informatrion
strengejacke May 8, 2025
e460d58
fix conditional example
mattansb May 8, 2025
733c8a2
drop unused function
mattansb May 8, 2025
850f8c0
add tests
strengejacke May 8, 2025
4d87968
soft deprecate check_heterogeneity_bias
mattansb May 8, 2025
0c24bf3
Merge branch 'strengejacke/issue810' of https://github.com/easystats/…
mattansb May 8, 2025
fae733c
docs-style, use quietly
strengejacke May 8, 2025
4fe5573
use expicit roxygen tags
strengejacke May 8, 2025
229fa19
docs
strengejacke May 8, 2025
c60c263
news
strengejacke May 8, 2025
fbbdfb8
examples, rename
strengejacke May 8, 2025
f4e22f3
remove
strengejacke May 8, 2025
3fd7220
fix test
strengejacke May 8, 2025
4b493a0
styler
strengejacke May 8, 2025
4095cec
add test
strengejacke May 8, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: performance
Title: Assessment of Regression Models Performance
Version: 0.13.0.7
Version: 0.13.0.8
Authors@R:
c(person(given = "Daniel",
family = "Lüdecke",
Expand Down Expand Up @@ -77,6 +77,7 @@ Imports:
insight (>= 1.2.0),
datawizard (>= 1.0.2),
stats,
methods,
utils
Suggests:
AER,
Expand All @@ -93,6 +94,7 @@ Suggests:
CompQuadForm,
correlation,
cplm,
curl,
dagitty,
dbscan,
DHARMa (>= 0.4.7),
Expand Down
5 changes: 5 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ S3method(check_collinearity,zeroinfl)
S3method(check_concurvity,gam)
S3method(check_distribution,default)
S3method(check_distribution,numeric)
S3method(check_group_variation,data.frame)
S3method(check_group_variation,default)
S3method(check_heteroscedasticity,default)
S3method(check_homogeneity,afex_aov)
S3method(check_homogeneity,default)
Expand Down Expand Up @@ -297,6 +299,7 @@ S3method(print,check_concurvity)
S3method(print,check_dag)
S3method(print,check_distribution)
S3method(print,check_distribution_numeric)
S3method(print,check_group_variation)
S3method(print,check_heterogeneity_bias)
S3method(print,check_heteroscedasticity)
S3method(print,check_homogeneity)
Expand Down Expand Up @@ -339,6 +342,7 @@ S3method(print,r2_nakagawa_by_group)
S3method(print,r2_pseudo)
S3method(print,test_likelihoodratio)
S3method(print,test_performance)
S3method(print_html,check_group_variation)
S3method(print_html,check_itemscale)
S3method(print_html,compare_performance)
S3method(print_html,test_performance)
Expand Down Expand Up @@ -557,6 +561,7 @@ export(check_convergence)
export(check_dag)
export(check_distribution)
export(check_factorstructure)
export(check_group_variation)
export(check_heterogeneity_bias)
export(check_heteroscedasticity)
export(check_heteroskedasticity)
Expand Down
19 changes: 12 additions & 7 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,29 @@

## New functions

* New function `check_group_variation()` to check within-/between-group
variability (this function will replace `check_heterogeneity_bias()` in
future releases.)

* New functions `performance_reliability()` and `performance_dvour()`. These
functions provide information about the reliability of group-level estimates
(i.e., random effects) in mixed models.

## Changes

* Singularity checks with `check_singularity()` are now more efficient and also
include the random effects for the dispersion component (from package *glmmTMB*).
Furthermore, a `check` argument allows to check for general singularity (for
the full model), or can return singularity checks for each random effects term
separately.
include the random effects for the dispersion component (from package
*glmmTMB*). Furthermore, a `check` argument allows to check for general
singularity (for the full model), or can return singularity checks for each
random effects term separately.

## Bug fixes

* Fixed issue with wrong computation of pseudo-R2 for some models where the
base-model (null model) was updated using the original data, which could
include missing values. Now the model frame is used, ensuring the correct
number of observations in the returned base-model, thus calculating the correct
log-likelihood and returning the correct pseudo-R2.
number of observations in the returned base-model, thus calculating the
correct log-likelihood and returning the correct pseudo-R2.

* Fixed examples in `check_outliers()`.

Expand All @@ -29,7 +33,8 @@
## Breaking changes

* `check_outliers()` with `method = "optics"` now returns a further refined
cluster selection, by passing the `optics_xi` argument to `dbscan::extractXi()`.
cluster selection, by passing the `optics_xi` argument to
`dbscan::extractXi()`.

* Deprecated arguments and alias-function-names have been removed.

Expand Down
Loading
Loading