You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
BUG: multipletests incorrect reject for Holm-Sidak #764
The reject boolean in multipletests was not tested, only the pvalues are
For method='hs' the reject boolean is incorrect
need:
assert_equal(reject, pvalscorr <= alpha)
It also looks like there are different treatments in multipletests, whether we have weak or strict inequality for rejection
pvalscorr <= alpha
or pvalscorr < alpha
This only happens when I check example with corrected pvalue == 0.05 (when alpha = 0.05). It won't happen with real p-values, but we should have consistency.
(or maybe just my unit test is still wrong)
Activity
josef-pkt commentedon Apr 11, 2013
I moved to a consistent definition that we reject at the threshold, i.e.
assert_equal(reject, pvalscorr <= alpha)assert_equal(~reject, pvalscorr > alpha)tests now pass also for exactly 0.5 in a consistent way (but there might still be other "corners")
BUG/TST: multipletests fix reject for 'hs', fix weak, strict inequality
BUG/TST: multipletests fix reject for 'hs', fix weak, strict inequality
BUG/TST: multipletests fix reject for 'hs', fix weak, strict inequality