Problem 15: Medical researchers were investigating a new medication to reduce ear infections in children.In a randomized experiment,n=150 children took daily doses of a placebo syrup,and 65 of them got an ear infection over the 3 months of the study. Another n= 135 children took daily doses of the medicated syrup, and 50 got an ear infection over the course of the study. Test a hypothesis at a =0.05 to determine if the new medication is effective at preventing ear infections.
a) State your hypotheses
b)Copute the test statistic
c Find the p-value
d Report a conclusion in context
Problem 16:Do bees prefer one color over the other? Pieces of red,yellow, blue and green paper were laid out,and the number of bees that landed on each were recorded in the following table.
Color of Paper Red Yellow Blue Green Number of Bees 32 48 22 18
Total 120
a) Assuming that bees were actually choosing at random and had no color preference,what propor tion of bees would you expect to land on each piece of paper? b) State the null and altermative hypothesis for testing whether or not bees have a color preference. c) Calculate the chi-square goodness of fit test statistic. d) Find the approximate p-value. e) Using =0.05,state a conclusion in the context of the problem.