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

2008-09-26 Thread collinl
> > 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

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

2008-09-25 Thread Peter Dalgaard
Johannes Hüsing wrote: 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

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

2008-09-25 Thread Collin Lynch
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

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

2008-09-24 Thread Johannes Hüsing
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

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

2008-09-24 Thread Collin Lynch
Thank you Peter. That is incredibly helpfyul, and much much smaller! Best, Collin. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide

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

2008-09-23 Thread Peter Dalgaard
Collin Lynch wrote: Hi, I trying to determine the best way to compute the power for a one-sample one-sided binomial test. Specifically I need to sample a population of individuals and ask whether a sample rate of 0% is compatable with a minimum threshold of 3% and how many samples are needed. I

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

2008-09-23 Thread Collin Lynch
Hi, I trying to determine the best way to compute the power for a one-sample one-sided binomial test. Specifically I need to sample a population of individuals and ask whether a sample rate of 0% is compatable with a minimum threshold of 3% and how many samples are needed. I have made use of powe