Skip to content

Commit 2fea25c

Browse files
committed
Correct the definition of directional Cohen’s h
1 parent d9455c0 commit 2fea25c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dabest/_stats_tools/effsize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ def cohens_h(control, test):
277277
phi_test = 2 * np.arcsin(np.sqrt(prop_test))
278278

279279

280-
return phi_control - phi_test
280+
return phi_test - phi_control
281281

282282

283283

0 commit comments

Comments
 (0)