Talk:Binomial test

message: Dear author, 
Are you sure we cannot reject the null hypothesis at the 5% significance level ?
Maybe at 1% since p-value is .027?
:It's best not to address questions using 'Dear author' - articles are written collaboratively. Richard001 08:29, 23 May 2007 (UTC)
replies: text: Sorry - when the two.side statistic is computed in R, the p-value is less then twice the one-tailed. Hence binom.test(51,235,(1/6),alternative="two.sided") returns p-value = 0.04375, and binom.test(51,235,(1/6),alternative="greater") returns p-value = 0.02654.  —Preceding unsigned comment added by Achristoffersen (talk • contribs) 09:43, 19 December 2008 (UTC)
thread_title: Critical significance level

message: The text in this section that describes how to carry out the binomial test in Matlab is incorrect. Specifically, this statement is wrong:
* In MATLAB, use binofit:
** [phat,pci]=binofit(51, 235,0.05) (generally two-tailed, one-tailed for the extreme cases "0 out of n" and "n out of n"). You will get back the probability for the dice to roll a six (phat) as well as the confidence interval (pci) for the confidence level of 95% = (1-0.05), respectively a significance of 5%.
In fact, binofit only returns a maximum likelihood estimate of the bias of the coin, and does not perform the hypothesis test. As far as I know, there is no built-in binomial test function in Matlab. I suggest that we delete the binofit line from the article. Paresnah (talk) 22:54, 26 July 2016 (UTC)
replies: text: Done. Paresnah (talk) 22:01, 27 July 2016 (UTC)
thread_title: In statistical software packages

message: First we have the sentence "One method is to sum the probability that the total deviation in numbers of events in either direction from the expected value is either more than or less than the expected value."
I have no clue what that sentence could mean. One should clearly spell out the computation.
Mathematical formalism is much clearer than such vague language.
Then we have the sentence "The second method involves computing the probability that the deviation from the expected value is as unlikely or more unlikely than the observed value, i.e. from a comparison of the probability density functions."
Again I have no clue what that could mean. One should again spell out exactly what that means, by stating clearly how to compute this value (as it is done in the second paragraph of this section).
It should also made clear how the computation can be reproduced in R.
The "one-tailed test" for R in the Section "In statistical software packages" appears twice, while only the second one ("greater") corresponds to the one-tailed test as applied in the Example section (apparently using the "first method", while the "second method" is apparently not provided in R?).
If the reader doesn't already know exactly what this page is about, then the explanations won't help, neither are there calculations to help. And the R help also doesn't help, since it does not say precisely what is calculated, but just refers to the literature instead.
Then there is the problem with statements like "In this case, the probability of getting 51 or more 6s on a fair die is 0.02654."
The value here is rounded, and one should say this in my opinion (the statement made is simply not true). I believe that to provide the exact values in the footnote would be helpful.Oliver Kullmann (talk) 01:43, 22 May 2019 (UTC)
thread_title:  Very unclear text in section "Example Binomial test"