Cited by 5,836Data Analysis with RStatistical Methods and Bayesian InferenceAdvanced Statistical Methods and Models

performance: An R Package for Assessment, Comparison and Testing of Statistical Models

Open access
Lüdecke, Daniel, Ben-Shachar, Mattan, Patil, Indrajeet, Waggoner, Philip, Makowski, Dominique·2021·Journal of Open Source Software

Published version of a preprint

Abstract

A crucial part of statistical analysis is evaluating a model's quality and fit, or performance.During analysis, especially with regression models, investigating the fit of models to data also often involves selecting the best fitting model amongst many competing models.Upon investigation, fit indices should also be reported both visually and numerically to bring readers in on the investigative effort.The performance R-package (R Core Team, 2021) provides utilities for computing measures to assess model quality, many of which are not directly provided by R's base or stats packages.These include measures like R 2 , intraclass correlation coefficient (ICC), root mean squared error (RMSE), or functions to check for vexing issues like overdispersion, singularity, or zeroinflation.These functions support a large variety of regression models including generalized linear models, (generalized) mixed-effects models, their Bayesian cousins, and many others. Statement of NeedWhile functions to build and produce diagnostic plots or to compute fit statistics exist, these are located across many packages, which results in a lack of a unique and consistent approach to assess the performance of many types of models.The result is a difficult-to-navigate, unorganized ecosystem of individual packages with different syntax, making it onerous for researchers to locate and use fit indices relevant for their unique purposes.The performance package in R fills this gap by offering researchers a suite of intuitive functions with consistent syntax for computing, building, and presenting regression model fit statistics and visualizations.performance is part of the easystats ecosystem, which is a collaborative project focused on facilitating simple and intuitive usage of R for statistical analysis (Ben-Shachar et al.,

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.21105/joss.03139

Cites

12 of 12 references verified0 citation errors · 0 not checkable

Statistics

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

  • The residuals of all models were checked for normality, homogeneity of variances, and outliers; BHB, NEFA, urea, CK, and cortisol were log-transformed to meet model assumptions; marginal and conditional R2 were calculated; fixed effects and interactions were tested for significance (P < 0.05) using ANOVA with approximate F-tests; for significant effects, estimated marginal means and pairwise

    “The residuals of all models were checked for normality, homogeneity of variances, and outliers with the package ‘performance’ version 0.13.0 [37]. The variables BHB, NEFA, urea, CK, and cortisol were log-transformed to meet model assumptions. To assess model fit and the amount of variance explained by the fixed effects, we calculated marginal and conditional R2 after Nakagawa and Schielzeth [38]”

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Cites

Flagged first, then by citations

Research works printed but not linked: 2

  1. Lüdecke, (2021). performance: An R Package for Assessment, Comparison and Testing of Statistical Models. Journal of Open Source Software, 6(60), 3139. https://doi.org/10.21105/joss.03139
  2. Lüdecke, (2021). performance: An R Package for Assessment, Comparison and Testing of Statistical Models. Journal of Open Source Software, 6(60), 3139. https://doi.org/10.21105/joss.03139

Cited by

Sorted by citations

Authors
Lüdecke, D., Ben-Shachar, M., Patil, I., Waggoner, P., & Makowski, D.
Affiliations
  • University Medical Center Hamburg-Eppendorf (DE)
  • Max Planck Institute for Human Development (DE)
  • University of Chicago (US)
  • Nanyang Technological University (SG)
Venue
Journal of Open Source Software
Published
2021-04-21
Volume
6
Issue
60
Pages
3139
ISSN
2475-9066 (ISSN-L)
OpenAlex
W3153999239
Cited by
5,836
References
12
Citations by year
2026: 1676 · 2025: 1511 · 2024: 1211 · 2023: 806 · 2022: 519 · 2021: 106 · 2020: 3
FWCI
233.93
Type
journal article
Language
en
Open access
Locations
  • The Journal of Open Source Software (publishedVersion, cc-by)
  • MPG.PuRe (Max Planck Society) (submittedVersion, other-oa)
  • Sussex Research Online (University of Sussex) (submittedVersion, cc-by)
  • Figshare (submittedVersion, cc-by)
  • PsyArXiv (OSF Preprints) (submittedVersion, cc-by)
  • PsyArXiv (OSF Preprints) (submittedVersion)
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › Data Analysis with R
  • Physical Sciences › Mathematics › Statistics and Probability › Statistical Methods and Bayesian Inference
  • Physical Sciences › Mathematics › Statistics and Probability › Advanced Statistical Methods and Models
Keywords
model fit statistics, R package, overdispersion, singularities, excess zeros, generalized linear models, mixed models, Bayesian model, R-squared, intraclass correlation coefficient, root mean square error, model comparison

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review