Statistics for laboratory scientists

Solutions for the homework problems for lecture 19

  1. 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.

  2. Again, we use binom.test(16,45).

    The 95% confidence interval for p is (0.22, 0.51).

  3. 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).


[ 3rd term syllabus | 4rd term syllabus | R for Windows ]

Last modified: Thu Mar 2 13:03:44 EST 2006