Skip to contents

effectsize 0.8.9

CRAN release: 2024-07-03

Bug fixes

  • interpret(<effectsize_table>) no longer returns transformed effect sizes ( #640 )

effectsize 0.8.8

CRAN release: 2024-05-12

Bug fixes

New features

  • effectsize(<t.test>) now accepts a data= argument for when the t.test(<formula>) method was used.

effectsize 0.8.7

CRAN release: 2024-04-01

  • This release changes the licensing model of effectsize to an MIT license.

New features

  • cohens_d() and glass_delta() gain an adjust argument for applying Hedges’ small-sample bias correction (hedges_g() is now an alias for cohens_d(adjust = TRUE)).
  • repeated_measures_d() to compute standardized mean differences (SMD) for repeated measures data.
    • Also supported in effectsize(<t.test(paired = TRUE)>)
  • New function: interpret_fei()

Bug fixes

  • Minor stability fix to ncp-based CI methods ( #628 )
  • nnt() now properly accepts the y argument.

effectsize 0.8.6

CRAN release: 2023-09-14

This is a minor update to bring effectsize in-line with the formula methods in t.test() and wilcox.test() in R>=4.4.0.

Breaking Changes

Bug fixes

  • eta_squared(<gam>) returns (approximate) effect sizes for smooths.

effectsize 0.8.5

CRAN release: 2023-08-09

New features

  • interpret_cfi() gains a new rule option: "hu&bentler1999" ( #538 ).
  • cohens_f() added option to return unbiased estimators (based on Omega- or Epsilon-squared).
  • tschuprows_t() now returns an effect size corrected for small-sample bias. Set adjust = FALSE to preserve old behavior.
  • w_to_v() and others for converting between effect sizes of Chi-square tests.
  • arr() and nnt() for Absolute Risk Reduction or Number Needed to Treat.
  • oddsratio_to_arr(), riskratio_to_arr(), nnt_to_arr() and their inverses.
  • logoddsratio_to_*() and *_to_logoddsratio() have been added as convenient shortcuts for oddsratio_to_*(log = TRUE) and *_to_oddsratio(log = TRUE).
  • Added all missing functions to convert between (log) OR, RR, ARR, and NNT.

Changes

  • fei() gives a more informative error method for invalid table inputs (#566).
  • convert_*() aliases are deprecated.

Breaking Changes

  • *_to_riskratio() and riskratio_to_*() argument log not longer converts RR to/from log(RR).
  • interpret_gfi() and friends: some previously named "default" rules have been re-labelled as "byrne1994".

Bug fixes

effectsize 0.8.3

CRAN release: 2023-01-28

Changes

New features

  • means_ratio() for computing ratios of two means for ratio-scales outcomes (thanks to @arcaldwell49!)
  • r_to_d() family of functions gain arguments for specifying group size ( #534 )
  • r2_semipartial for semi-partial squared correlations of model terms / parameters.

Bug fixes

  • ANOVA effect sizes for afex::mixed() now return effect sizes for the Intercept where applicable.
  • Fixed error in cohens_w() for 2-by-X tables.
  • Solved integer overflow errors in rank_biserial() ( #476 )
  • Fixed issue in effectsize() for t-tests when input vectors has unequal amount of missing values.

effectsize 0.8.2

CRAN release: 2022-10-31

Breaking Changes

effectsize 0.8.1

CRAN release: 2022-10-18

Changes

  • cohens_w() has an exact upper bound when used as an effect size for goodness-of-fit.

Bug fixes

  • When using formula input to effect size function, na.action arguments are respected (#517)

effectsize 0.8.0

CRAN release: 2022-10-09

Breaking Changes

Changes

  • phi() and cramers_v() (and chisq_to_phi/cramers_v()) now apply the small-sample bias correction by default. To restore previous behavior, set adjust = FALSE.

New features

Bug fixes

  • Common-language effect sizes now respects mu argument for all effect sizes.
  • mad_pooled() not returns correct value (previously was inflated by a factor of 1.4826).
  • pearsons_c() and chisq_to_pearsons_c() lose the adjust argument which applied an irrelevant adjustment to the effect size.
  • Effect sizes for goodness-of-fit now work when passing a p that is a table.

effectsize 0.7.0.5

CRAN release: 2022-08-10

Breaking Changes

effectsize now requires minimal R version of 3.5.

Bug fixes

  • cohens_d() for paired / one sample now gives more accurate CIs (was off by a factor of (N - 1) / N; #457)
  • kendalls_w() now deals correctly with singular ties (#448).

effectsize 0.7.0

CRAN release: 2022-05-26

Breaking Changes

New features

  • normalized_chi() gives an adjusted Cohen’s w for goodness of fit.
  • cohens_w() is now a fully-fledged function for x-tables and goodness-of-fit effect size (not just an alias for phi()).
  • Support for insight’s display, print_md and print_html for all effectsize outputs.

Bug fixes

effectsize 0.6.0.1

CRAN release: 2022-01-26

This is a patch release.

Bug fixes

effectsize 0.6.0

CRAN release: 2022-01-14

Breaking Changes

  • pearsons_c() effect size column name changed to Pearsons_c for consistency.

New features

Other features

Changes

  • effectsize() for BayesFactor objects returns the same standardized output as for htest.

Bug fixes

  • eta_squared() for MLM return effect sizes in the correct order of the responses.
  • eta_squared() family no longer fails when CIs fail due to non-finite Fs / degrees of freedom.
  • standardize() for multivariate models standardizes the (multivariate) response.
  • standardize() for models with offsets standardizes offset variables according to include_response and two_sd ( #396 ).
  • eta_squared(): fixed a bug that caused afex_aov models with more than 2 within-subject factors to return incorrect effect sizes for the lower level factors ( #389 ).

effectsize 0.5.0

Breaking Changes

New features

Bug fixes

  • kendalls_w() CIs now correctly bootstrap samples from the raw data (previously the rank-transformed data was sampled from).
  • cohens_d(), sd_pooled() and rank_biserial() now properly respect when y is a grouping character vector.
  • effectsize() for Chi-squared test of goodness-of-fit now correctly respects non-uniform expected probabilities ( #352 ).

Changes

effectsize 0.4.5

CRAN release: 2021-05-25

New features

  • eta_squared() family now indicate the type of sum-of-squares used.
  • rank_biserial() estimates CIs using the normal approximation (previously used bootstrapping).
  • hedges_g() now used exact bias correction (thanks to @mdelacre for the suggestion!)
  • glass_delta() now estimates CIs using the NCP method based on Algina et al (2006).

Bug fixes

  • eta_squared() family returns correctly returns the type 2/3 effect sizes for mixed ANOVAs fit with afex.
  • cohens_d() family now correctly deals with missing factor levels ( #318 )
  • cohens_d() / hedges_g() minor fix for CI with unequal variances.

Changes

effectsize 0.4.4-1

CRAN release: 2021-04-05

New features

Bug fixes

  • kendalls_w() now actually returns correct effect size. Previous estimates were incorrect, and based on transposing the groups and blocks.

effectsize 0.4.4

CRAN release: 2021-03-14

effectsize now supports R >= 3.4.

New features

Bug fixes

effectsize 0.4.3

CRAN release: 2021-01-18

Breaking Changes

  • oddsratio() and riskratio() - order of groups has been changed (the first groups is now the treatment group, and the second group is the control group), so that effect sizes are given as treatment over control (treatment / control) (previously was reversed). This is done to be consistent with other functions in R and in effectsize.

New features

Bug fixes

  • adjust() properly works when multilevel = TRUE.

  • cohens_d() family / sd_pooled() now properly fails when given a missing column name.

Changes

  • effectsize() for htest objects now tries first to extract the data used for testing, and computed the effect size directly on that data.

  • cohens_d() family / sd_pooled() now respect any transformations (e.g. I(log(x) - 3) ~ factor(y)) in a passed formula.

  • eta_squared() family of functions gains a verbose argument.

  • verbose argument more strictly respected.

  • glass_delta() returns CIs based on the bootstrap.

effectsize 0.4.1

CRAN release: 2020-12-07

Breaking Changes

New features

Changes

  • eta_squared() family of functions returns non-partial effect size for one-way between subjects design (#180).

Bug fixes

  • hedges_g() correctly implements the available bias correction methods ( #222 ).

  • Fixed width of CI for Cohen’s d and Hedges’ g when using non-pooled SD.

effectsize 0.4.0

CRAN release: 2020-10-25

Breaking Changes

  • standardize_parameters() for multi-component models (such as zero-inflated) now returns the unstandardized parameters in some cases where standardization is not possible (previously returned NAs).

  • Column name changes:

    • eta_squared() / F_to_eta2 families of function now has the Eta2 format, where previously was Eta_Sq.

    • cramers_v is now Cramers_v

New features

Changes

Bug fixes

  • ranktransform(sign = TURE) correctly (doesn’t) deal with zeros.

  • effectsize() for htest works with Spearman and Kendall correlations ( #165 ).

  • cramers_v() and phi() now work with goodness-of-fit data ( #158 )

  • standardize_parameters() for post-hoc correctly standardizes transformed outcome.

  • Setting two_sd = TRUE in standardize() and standardize_parameters() (correctly) on uses 2-SDs of the predictors (and not the response).

  • standardize_info() / standardize_parameters(method = "posthoc") work for zero-inflated models ( #135 )

  • standardize_info(include_pseudo = TRUE) / standardize_parameters(method = "pseudo") are less sensitive in detecting between-group variation of within-group variables.

  • interpret_oddsratio() correctly treats extremely small odds the same as treats extremely large ones.

effectsize 0.3.3

CRAN release: 2020-09-17

New features

  • standardize_parameters(method = "pseudo") returns pseudo-standardized coefficients for (G)LMM models.

  • d_to_common_language() for common language measures of standardized differences (a-la Cohen’s d).

Changes

Bug fixes

effectsize 0.3.2

CRAN release: 2020-07-27

New features

Bug fixes

  • Fix minor miss-calculation of Chi-squared for 2*2 table with small samples ( #102 ).

  • Fixed miss-calculation of signed rank in ranktransform() ( #87 ).

  • Fixed bug in standardize() for standard objects with non-standard class-attributes (like vectors of class haven_labelled or vctrs_vctr).

  • Fix effectsize() for one sample t.test(...) ( #95 ; thanks to pull request by @mutlusun )

effectsize 0.3.1

CRAN release: 2020-05-19

New features

effectsize 0.3.0

CRAN release: 2020-04-11

New features

  • New general purpose effectsize() function.

  • Effectsize for differences have CI methods, and return a data frame.

  • Effectsize for ANOVA all have CI methods, and none are based on bootstrapping.

  • New effect sizes for contingency tables (phi() and cramers_v()).

  • chisq_to_phi() / cramers_v() functions now support CIs (via the ncp method), and return a data frame.

  • F_to_eta2() family of functions now support CIs (via the ncp method), and return a data frame.

  • t_to_d() and t_to_r() now support CIs (via the ncp method), and return a data frame.

  • standardize() for model-objects has a default-method, which usually accepts all models. Exception for model-objects that do not work will be added if missing.

  • standardize.data.frame() gets append and suffix arguments, to add (instead of replace) standardized variables to the returned data frame.

  • eta_squared(), omega_squared() and epsilon_squared() now works

Bug fixes

Changes

  • In t_to_d(), argument pooled is now paired.

effectsize 0.2.0

CRAN release: 2020-02-25

Bug fixes

  • standardize.data.frame() did not work when variables had missing values.

  • Fixed wrong computation in standardize() when two_sd = TRUE.

  • Fixed bug with missing column names in standardize_parameters() for models with different components (like count and zero-inflation).

effectsize 0.1.1

CRAN release: 2020-01-27

Changes

  • News are hidden in an air of mystery…

effectsize 0.1.0

New features

Bug fixes

  • Fix CRAN check issues.