Skip to content

Commit 0282778

Browse files
committed
Updated Cohen's h function signature
Fixed absolute value (|) signs
1 parent 4095c76 commit 0282778

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

dabest/_classes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -581,10 +581,10 @@ def cohens_h(self):
581581
.. math::
582582
h = 2 * \\arcsin{\\sqrt{proportion_{Test}}} - 2 * \\arcsin{\\sqrt{proportion_{Control}}}
583583
584-
For a non-directional Cohen's 'h', the equation is:
584+
For a non-directional Cohen's *h*, the equation is:
585585
586586
.. math::
587-
h = \\abs{2 * \\arcsin{\\sqrt{proportion_{Test}}}} - \\abs{2 * \\arcsin{\\sqrt{proportion_{Control}}}}
587+
h = |2 * \\arcsin{\\sqrt{proportion_{Test}}}| - |2 * \\arcsin{\\sqrt{proportion_{Control}}}|
588588
589589
References:
590590
https://en.wikipedia.org/wiki/Cohen%27s_h

0 commit comments

Comments
 (0)