Skip to content
Prev 156924 / 398506 Next

Proper power computation for one-sided binomial tests.

Collin Lynch wrote:
Yes, that's wrong. Now you can be sure ;-)

For this kind of problem I'd go directly for the binomial distribution. 
If the actual probability is 0, this is essentially deterministic and 
you can look at

 > binom.test(0,99,p=.03, alt="less")

    Exact binomial test

data:  0 and 99
number of successes = 0, number of trials = 99, p-value = 0.04902
alternative hypothesis: true probability of success is less than 0.03
95 percent confidence interval:
 0.00000000 0.02980667
sample estimates:
probability of success
                     0

So you have significance at n=99, which I think we can easily agree is 
less than two times 249....