Skip to content

Commit

Permalink
AMD cohen's d
Browse files Browse the repository at this point in the history
  • Loading branch information
christianbrodbeck committed Oct 18, 2021
1 parent e4266bb commit b5f3f22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eelbrain/_stats/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ def __init__(
if popmean:
v = v - popmean
t = stats.t_1samp(v)[0]
TTest.__init__(self, v.mean(), t, n - 1, tail, ct.y.std())
TTest.__init__(self, v.mean(), t, n - 1, tail, ct.y.std(ddof=1))

def __repr__(self):
cmp = '=><'[self.tail]
Expand Down Expand Up @@ -936,7 +936,7 @@ def __init__(
self.c0_mean = y0.mean()
self.difference = y1 - y0
t = stats.t_1samp(self.difference.x[:, None])[0]
TTest.__init__(self, self.difference.x.mean(), t, n - 1, tail, self.difference.std())
TTest.__init__(self, self.difference.x.mean(), t, n - 1, tail, self.difference.std(ddof=1))
self._match = dataobj_repr(match, True)

def __repr__(self):
Expand Down

0 comments on commit b5f3f22

Please sign in to comment.