Statistics for laboratory scientists

Homework problems for lecture 19

  1. Use R to test the hypothesis H0: p = 1/2 vs. Ha:p != 1/2 for X ~ binomial(n=45, p) when we observe X = 16.

  2. Use R to calculate a 95% confidence interval for p for the data in problem 1.

  3. Calculate a 95% confidence interval for p when X ~ binomial(n=15, p) and we observe X = 15.


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

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