Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bedartha Goswami
uncertise
Commits
2662b837
Commit
2662b837
authored
Jan 10, 2018
by
Bedartha Goswami
Browse files
typo in 'pvalue'
parent
21facf31
Changes
1
Show whitespace changes
Inline
Side-by-side
events.py
View file @
2662b837
...
...
@@ -6,7 +6,7 @@ A suite of functions that assist in carrying out the event-detection analysis
"""
# Created: Thu May 26, 2016 03:50PM
# Last modified: Wed Jan 10, 2018 12:
39
AM
# Last modified: Wed Jan 10, 2018 12:
42
AM
# Copyright: Bedartha Goswami <goswami@pik-potsdam.de>
import
numpy
as
np
...
...
@@ -153,7 +153,7 @@ def pvalues(Q, Qsurr, nwind, verbose=False, pbar=False):
pvalue
[
i
]
=
1.
-
percentile
(
Qnull
,
Q
[
i
],
kind
=
"weak"
)
/
100.
_progressbar_update
(
prog_bar
,
i
)
_progressbar_finish
(
prog_bar
)
return
pvalue
s
return
pvalue
def
holm
(
pvals
,
alpha
=
0.05
,
corr_type
=
"dunn"
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment