[R] Proper power computation for one-sided binomial tests.

Johannes Hüsing johannes at huesing.name
Wed Sep 24 12:11:30 CEST 2008


Am 23.09.2008 um 23:57 schrieb Peter Dalgaard:

> 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")
>

This means that you don't sample from the p=.03 population?
Note that there is a 5 per cent chance to have 0 failures in 99
trials with p=.03.



More information about the R-help mailing list