Calculates Cliff's delta, a non-parametric effect size that quantifies the degree of overlap between two distributions. The value ranges from -1 to 1, where:
-1: all values in
comp
are greater than those inref
0: complete overlap between distributions
1: all values in
ref
are greater than those incomp
Details
The effect size is calculated as the scaled difference in dominance between groups. Missing or infinite values are removed with a message.
References
Cliff, N. (1993). Dominance statistics: Ordinal analyses to answer ordinal questions. Psychological Bulletin, 114(3), 494–509. doi:10.1037/0033-2909.114.3.494