Commit d9455c0
committed
Fixes the problem where the Cohen's h was not being calculated correctly
for the case where the sample contains nonbinary variables.
It is fixed by replacing try/except with if/else in the calculation function.1 parent 0a13d57 commit d9455c0
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
| 259 | + | |
| 260 | + | |
263 | 261 | | |
264 | 262 | | |
265 | 263 | | |
| |||
0 commit comments