Skip to content

Commit

Permalink
Fixed bug one-tailed adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
sdaza authored Aug 5, 2024
1 parent 7f10e9f commit 37822d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _jupyter/power_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,8 @@ def get_power(self, baseline=[1.0], effect=[0.10], sample_size=[1000], complianc

pvalue_adjustment = {
'two-tailed': 1,
'greater': 2,
'smaller': 2
'greater': 0.5,
'smaller': 0.5
}

correction_methods = {
Expand Down Expand Up @@ -481,4 +481,4 @@ def lsu(self, pvals, q=0.05):
significant = np.zeros(m, dtype='bool')
if k:
significant[sort_ind[0:k[-1]+1]] = True
return significant
return significant

0 comments on commit 37822d0

Please sign in to comment.