effsize-package | R Documentation |
This packages contains functions to compute effect sizes both based on means difference (Cohen's d and Hedges g), dominance matrices (Cliff's Delta) and stochastic superiority (Vargha-Delaney A).
The computation (especially for Cliff's Delta) is carried on with higly efficient algorithms.
The main functions are:
cliff.delta
.
cohen.d
.
VD.A
.
Change history
Fixed a bug in cohen.d
when PAIRED=TRUE
, now the PAIRED
parameter has no effect, it is left just for compatibility. In a future code clean-up it may be removed
Implemented a new algorithm with improved memory and time complexity. In particular new time complexity is T = O(n1*log(n2)) vs. the previous T = O(n1*n2), and new memory complexity M = O( n1 + n2 ) vs. the previous M = O( n1 * n2). In practice now the computation becomes feasible in a "reasonable" time.
Code clean-up and optimization using vectorized binary partioning.
Added Vargha and Delaney A and fixed minor bugs with Cohen.d.
Modified the Vargha and Delaney A computation to minimize accuracy errors.
Fixed bug in cliff.delta.
Fixed bug in cohen.d.formula.
Fixed minor issue detected by check.
Changed the effsize field magnitude to a factor value.
Implemented paired computation and CI computation with non-central t-distributions for cohen.d.
Added ability to specify factor vector and data vector for 'cliff.delta' function (thanks to Joses W. Ho).
Marco Torchiano http://softeng.polito.it/torchiano/