Changelog
Source:NEWS.md
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
-
hedges_g()
,vd_a()
,wmw_odds()
, andcliffs_delta()
no longer require effectsize to be loaded to work ( #636 ).
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()
andglass_delta()
gain anadjust
argument for applying Hedges’ small-sample bias correction (hedges_g()
is now an alias forcohens_d(adjust = TRUE)
). -
repeated_measures_d()
to compute standardized mean differences (SMD) for repeated measures data.- Also supported in
effectsize(<t.test(paired = TRUE)>)
- Also supported in
- New function:
interpret_fei()
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
-
cohens_d()
,hedges_g()
,p_superiority()
,wmw_odds()
,means_ratio()
andrank_biserial()
no longer support settingpaired = TRUE
when using the formula method.
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. Setadjust = FALSE
to preserve old behavior. -
w_to_v()
and others for converting between effect sizes of Chi-square tests. -
arr()
andnnt()
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 foroddsratio_to_*(log = TRUE)
and*_to_oddsratio(log = TRUE)
. - Added all missing functions to convert between (log) OR, RR, ARR, and NNT.
Breaking Changes
-
*_to_riskratio()
andriskratio_to_*()
argumentlog
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 onlyn1
/n2
as equal group sizes (#571)
effectsize 0.8.3
CRAN release: 2023-01-28
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
- 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
-
omega_squared()
andepsilon_squared()
(andF_to_omega2()
andF_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).
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
-
effectsize now requires
R >= 3.6
-
fei()
,cohens_w()
andpearsons_c()
always rescale thep
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 renamedfei()
. -
cles
,d_to_cles
andrb_to_cles
are deprecated in favor of their respective effect size functions.
Changes
-
phi()
andcramers_v()
(andchisq_to_phi/cramers_v()
) now apply the small-sample bias correction by default. To restore previous behavior, setadjust = FALSE
.
New features
- Set
options(es.use_symbols = TRUE)
to print proper symbols instead of transliterated effect size names. (On Windows, requiresR >= 4.2.0
) -
effectsize()
supportsfisher.test()
. - New datasets used in examples and vignettes - see
data(package = "effectsize")
. -
tschuprows_t()
andchisq_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()
andrb_to_wmw_odds
for the Wilcoxon-Mann-Whitney odds (thanks @arcaldwell49! #479). -
p_superiority()
now supports paired and one-sample cases. -
vd_a()
andrb_to_vda()
for Vargha and Delaney’s A dominance effect size (aliases forp_superiority(parametric = FALSE)
andrb_to_p_superiority()
). -
cohens_u1()
,cohens_u2()
,d_to_u1()
, andd_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()
andchisq_to_pearsons_c()
lose theadjust
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
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
-
standardize_parameters()
,standardize_posteriors()
, &standardize_info()
have been moved to theparameters
package. -
standardize()
(for models) has been moved to thedatawizard
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 forphi()
). - Support for
insight
’sdisplay
,print_md
andprint_html
for all effectsize outputs.
Bug fixes
-
kendalls_w()
now deals with ties. -
eta_squared()
works withcar::Manova()
that does not have an i-design.
effectsize 0.6.0.1
CRAN release: 2022-01-26
This is a patch release.
Bug fixes
-
interpret.performance_lavaan()
now works without attachingeffectsize
( #410 ). -
eta_squared()
now fully support multi-variatecar
ANOVAs (classAnova.mlm
; #406 ).
effectsize 0.6.0
CRAN release: 2022-01-14
Breaking Changes
-
pearsons_c()
effect size column name changed toPearsons_c
for consistency.
New features
Other features
-
eta_squared()
family now supportsafex::mixed()
models. -
cles()
for estimating common language effect sizes. -
rb_to_cles()
for converting rank-biserial correlation to Probability of superiority.
Changes
-
effectsize()
forBayesFactor
objects returns the same standardized output as forhtest
.
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 toinclude_response
andtwo_sd
( #396 ). -
eta_squared()
: fixed a bug that causedafex_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
-
cramers_v()
correctly does not work with 1-dimensional tables (for goodness-of-fit tests). -
interpret_d()
,interpret_g()
, andinterpret_delta()
are nowinterpret_cohens_d()
,interpret_hedges_g()
, andinterpret_glass_delta()
. -
interpret_parameters()
was removed. Useinterpret_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, setci = .9, alternative = "two.sided"
.) -
adjust()
,change_scale()
,normalize()
,ranktransform()
,standardize()
(data), andunstandardize()
have moved to the new{datawizard}
package!
New features
-
pearsons_c()
(andchisq_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 fromcohens_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()
andrank_biserial()
now properly respect wheny
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 acceptslog(BF)
as input.
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 withafex
. -
cohens_d()
family now correctly deals with missing factor levels ( #318 ) -
cohens_d()
/hedges_g()
minor fix for CI with unequal variances.
Changes
-
mad_pooled()
(the robust version ofsd_pooled()
) now correctly pools the the two samples.
effectsize 0.4.4-1
CRAN release: 2021-04-05
New features
-
standardize_parameters()
+eta_squared()
supporttidymodels
(when that the underlying model is supported; #311 ). -
cohens_d()
family now supportsPairs()
objects as input. -
standardize_parameters()
gains theinclude_response
argument (default toTRUE
) ( #309 ).
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
-
standardize_parameters()
now supports bootstrapped estimates (fromparameters::bootstrap_model()
andparameters::bootstrap_parameters()
). -
unstandardize()
which will reverse the effects ofstandardize()
. -
interpret_kendalls_w()
to interpret Kendall’s coefficient of concordance. -
eta_squared()
family of functions can now also return effect sizes for the intercept by settinginclude_intercept = TRUE
( #156 ).
Bug fixes
-
standardize()
can now deal with dates ( #300 ).
effectsize 0.4.3
CRAN release: 2021-01-18
Breaking Changes
-
oddsratio()
andriskratio()
- 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 ineffectsize
.
New features
cohens_h()
effect size for comparing two independent proportions.rank_biserial()
,cliffs_delta()
,rank_epsilon_squared()
andkendalls_w()
functions for effect sizes for rank-based tests.adjust()
gainskeep_intercept
argument to keep the intercept.eta_squared()
family of functions supportsAnova.mlm
objects (from thecar
package).-
supports Cohen’s g for McNemar’s test.
Extracts OR from Fisher’s Exact Test in the 2x2 case.
eta2_to_f2()
/f2_to_eta2()
to convert between two types of effect sizes for ANOVA ( #240 ).cohens_d()
family of functions gainmu
argument.
Bug fixes
adjust()
properly works whenmultilevel = TRUE
.cohens_d()
family /sd_pooled()
now properly fails when given a missing column name.
Changes
effectsize()
forhtest
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 averbose
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
cohens_d()
andglass_delta()
: Thecorrection
argument has been deprecated, in favor of it being correctly implemented inhedges_g()
( #222 ).eta_squared_posterior()
no longer usescar::Anova()
by default.
New features
effectsize()
gainstype =
argument for specifying which effect size to return.eta_squared_posterior()
can return a generalized Eta squared.oddsratio()
andriskratio()
functions for 2-by-2 contingency tables.standardize()
gains support formediation::mediate()
models.eta_squared()
family available formanova
objects.
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 returnedNA
s).-
Column name changes:
eta_squared()
/F_to_eta2
families of function now has theEta2
format, where previously wasEta_Sq
.cramers_v
is nowCramers_v
New features
effectsize()
added support forBayesFactor
objects (Cohen’s d, Cramer’s v, and r).cohens_g()
effect size for paired contingency tables.Generalized Eta Squared now available via
eta_squared(generalized = ...)
.eta_squared()
,omega_squared()
andepsilon_squared()
fully supportaovlist
,afex_aov
andmlm
(ormaov
) objects.standardize_parameters()
can now return Odds ratios / IRRs (or any exponentiated parameter) by settingexponentiate = TRUE
.Added
cohens_f_squared()
andF_to_f2()
for Cohen’s f-squared.cohens_f()
/cohens_f_squared()
can be used to estimate Cohen’s f for the R-squared change between two models.standardize()
andstandardize_info()
work with weighted models / data ( #82 ).Added
hardlyworking
(simulated) dataset, for use in examples.-
interpret_*
( #131 ):interpret_omega_squared()
added"cohen1992"
rule.interpret_p()
added Redefine statistical significance rules.
oddsratio_to_riskratio()
for converting OR to RR.
Changes
CIs for Omega-/Epsilon-squared and Adjusted Phi/Cramer’s V return 0s instead of negative values.
standardize()
for data frames gains theremove_na
argument for dealing withNA
s ( #147 ).standardize()
andstandardize_info()
now (and by extension,standardize_parameters()
) respect the weights in weighted models when standardizing ( #82 ).Internal changes to
standardize_parameters()
(reducing co-dependency withparameters
) - argumentparameters
has been dropped.
Bug fixes
ranktransform(sign = TURE)
correctly (doesn’t) deal with zeros.effectsize()
forhtest
works with Spearman and Kendall correlations ( #165 ).cramers_v()
andphi()
now work with goodness-of-fit data ( #158 )standardize_parameters()
for post-hoc correctly standardizes transformed outcome.Setting
two_sd = TRUE
instandardize()
andstandardize_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
r_to_odds()
family is now deprecated in favor ofr_to_oddsratio()
.interpret_odds()
is now deprecated in favor ofinterpret_oddsratio()
Bug fixes
phi()
andcramers_v()
did not respect the CI argument ( #111 ).standardize()
/standardize_parameters()
properly deal with transformed data in the model formula ( #113 ).odds_to_probs()
was mis-treating impossible odds (NEVER TELL ME THE ODDS! #123 )
effectsize 0.3.2
CRAN release: 2020-07-27
New features
eta_squared_posterior()
for estimating Eta Squared for Bayesian models.-
eta_squared()
,omega_squared()
andepsilon_squared()
now works with-
ols
/rms
models.
-
effectsize()
for classhtest
supportsoneway.test(...)
.
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 classhaven_labelled
orvctrs_vctr
).Fix
effectsize()
for one samplet.test(...)
( #95 ; thanks to pull request by @mutlusun )
effectsize 0.3.1
CRAN release: 2020-05-19
New features
standardize_parameters()
now returns CIs ( #72 )-
eta_squared()
,omega_squared()
andepsilon_squared()
now works withgam
models.afex
models.lme
andanova.lme
objects.
New function
equivalence_test()
for effect sizes.New plotting methods in the
see
package.
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()
andcramers_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()
andt_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()
getsappend
andsuffix
arguments, to add (instead of replace) standardized variables to the returned data frame.-
eta_squared()
,omega_squared()
andepsilon_squared()
now worksoutput from
parameters::model_parameters()
.mlm
models.
Bug fixes
Fix
cohens_d()
’s dealing with formula input (#44).sd_pooled()
now returns the… pooled sd (#44).
Changes
- In
t_to_d()
, argumentpooled
is nowpaired
.
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()
whentwo_sd = TRUE
.Fixed bug with missing column names in
standardize_parameters()
for models with different components (like count and zero-inflation).
effectsize 0.1.0
New features
-
standardize_parameters()
andstandardize()
now support models from packages brglm, brglm2, mixor, fixest, cgam, cplm, cglm, glmmadmb and complmrob.