Skip to content

Releases: easystats/performance

performance 0.16.0

04 Feb 12:48
428fcec

Choose a tag to compare

Breaking Changes

  • model_performance() for psych FA objects now correctly names the metric as
    RMSR (Root Mean Square Residual) instead of RMSA. The RMSR_corrected
    column (previously RMSA_corrected) is also renamed accordingly.

  • The first argument in check_model(), check_predictions() and
    check_convergence() was renamed to model.

Changes

  • check_model() now limits the number of data points for models with many
    observations, to reduce the time for rendering the plot via the maximum_dots
    argument.

  • check_model() can now show or hide confidence intervals using the show_ci
    argument. For models with only categorical predictors, confidence intervals
    are not shown by default.

Bug fixes

  • Fixed issue in check_dag() with multiple colliders.

  • Fixed CRAN check issues.

performance 0.15.3

01 Dec 12:59
498a0ae

Choose a tag to compare

  • check_autocorrelation() gets methods for DHARMa objects and objects from
    simulate_residuals().

  • Improved documentation for printing-methods.

performance 0.15.2

06 Oct 12:22
ccf51ca

Choose a tag to compare

Bug fixes

  • Fixed failing CRAN checks, related to the latest rstanarm update.

performance 0.15.1

30 Aug 19:06
5057d0e

Choose a tag to compare

Changes

  • display() now supports the tinytable format, when format = "tt".

  • Better handling of non-converged lavaan-models in model_performance().

performance 0.15.0

10 Jul 12:59
d4a0944

Choose a tag to compare

New functions

  • item_omega(), to calculate the McDonald's Omega reliability coefficient.

  • item_totalcor() calculates the total correlation of an item with the
    sum of all other items in a scale. If corrected = TRUE, the total
    correlation is corrected for the number of items in the scale (which is
    equivalent to item_discrimination()).

  • Column names of item_reliability() were changed to be in line with the
    easystats naming convention and to be consistent with the output of other
    related functions.

Changes

  • check_itemscale() now work with factor analysis results, from
    parameters::factor_analysis().

  • item_reliability() now includes the item-total correlation, and information
    about Cronbach's alpha and mean inter-item correlation in the printed output.

  • cronbachs_alpha() now work with factor analysis results, from
    parameters::factor_analysis().

  • Formatting of p-values in test_likelihoodratio() is now consistent with
    formatted p-values from other functions.

  • Added following methods for psych::fa(), psych::principal(), item_omega(),
    psych::omega(), and parameters::factor_analysis(): check_normality(), check_residuals(), check_outliers(), and model_performance().

  • item_alpha() was added as an alias for cronbachs_alpha().

  • Further functions get a display(), print_md() and print_html() method.

Bug fixes

  • Fixed issue in check_predictions() for binomial models with a response
    defined as proportion or matrix of successes and trials.

  • print_md() for objects returned by check_itemscale() now include the footer
    with information about Cronbach's alpha and mean inter-item correlation.

performance 0.14.0

22 May 14:44
931ecde

Choose a tag to compare

Breaking Changes

  • The "Increased SE" column in the output of check_collinearity() was renamed
    into "adj. VIF" (=adjusted VIF). Furthermore, the computation of the adjusted
    VIF now correctly accounts for the numbers of levels (i.e. degrees of freedom)
    for factors.

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.

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.

  • Fixed examples in check_outliers().

performance 0.13.0

15 Jan 14:40
e937846

Choose a tag to compare

Breaking changes

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

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

  • Argument names in check_model() that refer to plot-aesthetics (like
    dot_size) are now harmonized across easystats packages, meaning that
    these have been renamed. They now follow the pattern aesthetic_type, e.g.
    size_dot (instead of dot_size).

Changes

  • Increased accuracy for check_convergence() for glmmTMB models.

  • r2() and r2_mcfadden() now support beta-binomial (non-mixed) models from
    package glmmTMB.

  • An as.numeric() resp. as.double() method for objects of class
    performance_roc was added.

  • Improved documentation for performance_roc().

Bug fixes

  • check_outliers() did not warn that no numeric variables were found when only
    the response variable was numeric, but all relevant predictors were not.

  • check_collinearity() did not work for glmmTMB models when zero-inflation
    component was set to ~0.

performance 0.12.4

18 Oct 18:40
6b1020e

Choose a tag to compare

Changes

  • check_dag() now also checks for colliders, and suggests removing it in the
    printed output.

  • Minor revisions to the printed output of check_dag().

Bug fixes

  • Fixed failing tests that broke due to changes in latest glmmTMB update.

performance 0.12.3

02 Sep 18:04
b9d4917

Choose a tag to compare

New functions

  • check_dag(), to check DAGs for correct adjustment sets.

Changes

  • check_heterogeneity_bias() gets a nested argument. Furthermore, by can
    specify more than one variable, meaning that nested or cross-classified
    model designs can also be tested for heterogeneity bias.

performance 0.12.2

18 Jul 12:59
43c7292

Choose a tag to compare

Patch release, to ensure that performance runs with older version of
datawizard on Mac OSX with R (old-release).