The R code is simply
binom.test(16,45)
.
We obtain P = 0.072, and conclude that the proportion, p, could reasonably be 1/2.
Again, we use
binom.test(16,45)
.
The 95% confidence interval for p is (0.22, 0.51).
In R, type binom.test(15,15)
.
The 95% confidence interval for p is (0.78, 1.00).
Note that the lower confidence limit could be
obtained, in R, by 0.025^(1/15)
.
Last modified: Thu Mar 2 13:03:44 EST 2006 |