[R] binom.test() query

2007-04-05 Thread Ted Harding
Hi Folks, The recent correspondence about strange fisher.test result, and especially Peter Dalgaard's reply on Tue 03 April 2007 (which I want to investigate further) led me to take a close look at the code for binom.test(). I now have a query! The code for the two-sided case computes the

Re: [R] binom.test() query

2007-04-05 Thread Duncan Murdoch
On 4/5/2007 5:35 PM, (Ted Harding) wrote: Hi Folks, The recent correspondence about strange fisher.test result, and especially Peter Dalgaard's reply on Tue 03 April 2007 (which I want to investigate further) led me to take a close look at the code for binom.test(). I now have a query!

Re: [R] binom.test [Broadcast]

2006-10-21 Thread Liaw, Andy
@stat.math.ethz.ch Subject: [R] binom.test Date: Fri, 20 Oct 2006 17:18:02 -0400 A quick question, please. 46 e coli lab samples are tested, 6 of them returned positive. So, the best point estimate for p is 6/46 = 0.1304348. For a 95% CI for p, I thought binom.test would

[R] binom.test

2006-10-20 Thread Ethan Johnsons
A quick question, please. 46 e coli lab samples are tested, 6 of them returned positive. So, the best point estimate for p is 6/46 = 0.1304348. For a 95% CI for p, I thought binom.test would give me the correct result, but it seems it is not the right function to use. What is the R

Re: [R] binom.test

2006-10-20 Thread Francisco J. Zagmutt
Johnsons [EMAIL PROTECTED] To: r-help@stat.math.ethz.ch Subject: [R] binom.test Date: Fri, 20 Oct 2006 17:18:02 -0400 A quick question, please. 46 e coli lab samples are tested, 6 of them returned positive. So, the best point estimate for p is 6/46 = 0.1304348. For a 95% CI for p, I thought

Re: [R] binom.test

2006-10-20 Thread Ethan Johnsons
From: Ethan Johnsons [EMAIL PROTECTED] To: r-help@stat.math.ethz.ch Subject: [R] binom.test Date: Fri, 20 Oct 2006 17:18:02 -0400 A quick question, please. 46 e coli lab samples are tested, 6 of them returned positive. So, the best point estimate for p is 6/46 = 0.1304348

[R] binom.test

2006-10-19 Thread Ethan Johnsons
R-experts: A quick question, please. From a lab exp, I got 12 positives out of 50. To get 90% CI for this , I think binom.test might be the one to be used. Is there a better way or function to calculate this? binom.test(x=12, n=50, p=12/50, conf.level = 0.90) Exact binomial test

Re: [R] binom.test

2006-10-19 Thread Chuck Cleland
Ethan Johnsons wrote: R-experts: A quick question, please. From a lab exp, I got 12 positives out of 50. To get 90% CI for this , I think binom.test might be the one to be used. Is there a better way or function to calculate this? binom.test(x=12, n=50, p=12/50, conf.level = 0.90)

Re: [R] binom.test

2006-10-19 Thread Ted Harding
On 19-Oct-06 Ethan Johnsons wrote: R-experts: A quick question, please. From a lab exp, I got 12 positives out of 50. To get 90% CI for this , I think binom.test might be the one to be used. Is there a better way or function to calculate this? What do you mean by better? For a

Re: [R] binom.test

2006-10-19 Thread Ethan Johnsons
Thx much for the feedback. It is a big help. ej On 10/19/06, Ted Harding [EMAIL PROTECTED] wrote: On 19-Oct-06 Ethan Johnsons wrote: R-experts: A quick question, please. From a lab exp, I got 12 positives out of 50. To get 90% CI for this , I think binom.test might be the one to be

Re: [R] binom.test

2006-10-19 Thread Francisco J. Zagmutt
) Cheers, Francisco Dr. Francisco J. Zagmutt College of Veterinary Medicine and Biomedical Sciences Colorado State University From: Chuck Cleland [EMAIL PROTECTED] To: Ethan Johnsons [EMAIL PROTECTED] CC: r-help@stat.math.ethz.ch Subject: Re: [R] binom.test Date: Thu, 19 Oct 2006 11:27:35 -0400

Re: [R] binom.test

2006-10-19 Thread Kevin E. Thorpe
See also the binconf function in the Hmisc package. Ethan Johnsons wrote: R-experts: A quick question, please. From a lab exp, I got 12 positives out of 50. To get 90% CI for this , I think binom.test might be the one to be used. Is there a better way or function to calculate this?