Skip to content

Releases: easystats/effectsize

CRAN 0.8.5

09 Aug 19:08
69fbb62
Compare
Choose a tag to compare

effectsize 0.8.5

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

  • riskratio() returns correct CIs (#584)
  • d_to_r() correctly treats specifying only n1/n2 as equal group sizes (#571)

CRAN 0.8.3

28 Jan 17:46
566cfda
Compare
Choose a tag to compare

effectsize 0.8.3

Changes

  • mahalanobis_d() now defaults to one-sided CIs.

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

  • Fixed error in cohens_w() for 2-by-X tables.
  • Solved integer overflow errors in rank_biserial() ( #476 )

CRAN 0.8.2

31 Oct 10:54
c3767f9
Compare
Choose a tag to compare

effectsize 0.8.2

Breaking Changes

  • omega_squared() and epsilon_squared() (and F_to_omega2() and F_to_epsilon2()) always return non-negative estimates (previously estimates were negative when the observed effect size is very small).
  • rank_eta_squared() always returns a non-negative estimate (previously estimates were negative when the observed effect size is very small).

CRAN 0.8.1

18 Oct 09:52
fb7137d
Compare
Choose a tag to compare

effectsize 0.8.1

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)

CRAN 0.8.0

10 Oct 15:28
45f6172
Compare
Choose a tag to compare

effectsize 0.8.0

Breaking Changes

  • {effectsize} now requires R >= 3.6
  • fei(), cohens_w() and pearsons_c() always rescale the p input to sum-to-1.
  • The order of some function arguments have been rearranged to be more consistent across functions:
    (phi(), cramers_v(), p_superiority(), cohens_u3(), p_overlap(), rank_biserial(), cohens_f/_squared(), chisq_to_phi(), chisq_to_cramers_v(), F/t_to_f/2(), .es_aov_*()).
  • normalized_chi() has been renamed fei().
  • cles, d_to_cles and rb_to_cles are deprecated in favor of their respective effect size functions.

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

  • Set options(es.use_symbols = TRUE) to print proper symbols instead of transliterated effect size names. (On Windows, requires R >= 4.2.0)
  • effectsize() supports fisher.test().
  • New datasets used in examples and vignettes - see data(package = "effectsize").
  • tschuprows_t() and chisq_to_tschuprows_t() for computing Tschuprow's T - a relative of Cramer's V.
  • mahalanobis_d() for multivariate standardized differences.
  • Rank based effect sizes now accept ordered (ordered()) outcomes.
  • rank_eta_squared() for one-way rank ANOVA.
  • For Common Language Effect Sizes:
    • wmw_odds() and rb_to_wmw_odds for the Wilcoxon-Mann-Whitney odds (thanks @arcaldwell49! #479).
    • p_superiority() now supports paired and one-sample cases.
    • vd_a() and rb_to_vda() for Vargha and Delaney's A dominance effect size (aliases for p_superiority(parametric = FALSE) and rb_to_p_superiority()).
    • cohens_u1(), cohens_u2(), d_to_u1(), and d_to_u2() added for Cohen's U1 and U2.

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.

CRAN 0.7.0.5

10 Aug 09:37
114d9de
Compare
Choose a tag to compare

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).

v0.7.0: CRAN 0.7 (#447)

26 May 13:31
133daee
Compare
Choose a tag to compare

effectsize 0.7.0

Breaking Changes

  • standardize_parameters(), standardize_posteriors(), & standardize_info() have been moved to the parameters package.
  • standardize() (for models) has been moved to the datawizard package.
  • phi() only works for 2x2 tables.
  • cramers_v() only works for 2D tables.

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

  • kendalls_w() now deals with ties.
  • eta_squared() works with car::Manova() that does not have an i-design.

CRAN release 0.6.0.1

26 Jan 14:30
80eefc9
Compare
Choose a tag to compare

effectsize 0.6.0.1

This is a patch release.

Bug fixes

  • interpret.performance_lavaan() now works without attaching effectsize ( #410 ).
  • eta_squared() now fully support multi-variate car ANOVAs (class Anova.mlm; #406 ).

CRAN release 0.6.0

14 Jan 15:00
Compare
Choose a tag to compare

effectsize 0.6.0

Breaking Changes

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

New features

New API

See Support functions for model extensions vignette.

Other features

  • eta_squared() family now supports afex::mixed() models.
  • cles() for estimating common language effect sizes.
  • rb_to_cles() for converting rank-biserial correlation to Probability of superiority.

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 ).

CRAN release 0.5.0

04 Oct 07:16
6f86d08
Compare
Choose a tag to compare

effectsize 0.5

Breaking Changes

  • cramers_v() correctly does not work with 1-dimentional tables (for goodness-of-fit tests).
  • interpret_d(), interpret_g(), and interpret_delta() are now interpret_cohens_d(), interpret_hedges_g(), and interpret_glass_delta().
  • interpret_parameters() was removed. Use interpret_r() instead (with caution!).
  • Phi, Cohen's w, Cramer's V, ANOVA effect sizes, rank Epsilon squared, Kendall's W - CIs default to 95% one-sided CIs (alternative = "greater"). (To restore previous behavior, set ci = .9, alternative = "two.sided".)
  • adjust(), change_scale(), normalize(), ranktransform(), standardize() (data), and unstandardize() have moved to the new {datawizard} package!

New features

  • pearsons_c() (and chisq_to_pearsons_c()) for estimating Pearson's contingency coefficient.
  • interpret_vif() for interpretation of variance inflation factors.
  • oddsratio_to_riskratio() can now convert OR coefficients to RR coefficients from a logistic GLM(M).
  • All effect-size functions gain an alternative argument which can be used to make one- or two-sided CIs.
  • interpret() now accepts as input the results from cohens_d(), eta_squared(), rank_biserial(), etc.
  • interpret_pd() for the interpretation of the Probability of Direction.

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

  • interpret_bf() now accepts log(BF) as input.