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
According to the docstring of binom_test, by default it performs a two-sided hypothesis test. But to me it seems that we're only interested in a one-sided hypothesis test (i.e. calling binom_test with alternative='greater') with the alternative hypothesis that p>0.5, and abstain if the null hypothesis p=0.5 cannot be rejected. Alternatively, we could compare the result of binom_test with 2*alpha.
Could this be the case or am I missing something?
Thanks!
The text was updated successfully, but these errors were encountered:
Hi,
I have a question about the following section of the Code:
According to the docstring of
binom_test
, by default it performs a two-sided hypothesis test. But to me it seems that we're only interested in a one-sided hypothesis test (i.e. callingbinom_test
withalternative='greater'
) with the alternative hypothesis thatp>0.5
, and abstain if the null hypothesisp=0.5
cannot be rejected. Alternatively, we could compare the result ofbinom_test
with2*alpha
.Could this be the case or am I missing something?
Thanks!
The text was updated successfully, but these errors were encountered: