mtorchiano / effsize

Effsize - a package for efficient effect size computation
GNU General Public License v2.0
104 stars 11 forks source link

Cliff's delta for repeated measures? #29

Open mtorchiano opened 6 years ago

mtorchiano commented 6 years ago

I report here an anonymized mail:

I have used to calculate the Cliff's Delta effect size for independent variables (Mann Whitney U test), but I'm wondering if the same cliff.delta algorithms can be used to calculated Cliff's Delta effect size for repeated measures (Wilcoxon test).

In negative case, I would appreciate if you could tell me, if you know, the Delta for repeated measures.

Thank you so much for your attention,

mtorchiano commented 6 years ago

The function cliff.delta() currently does not allow computing effect size for paired samples, so the short answer is NO.

If you need just an estimate of the delta statistic, you can compute it easily, e.g. as

mean(sign(treatment-control))

Unfortunately I'm not a statistician, so take what I say with due skepticism.