# sex ratio of deer ### 37-48hours binom.test(25,40) # Exact binomial test # #data: 25 and 40 #number of successes = 25, number of trials = 40, p-value = 0.1539 #alternative hypothesis: true probability of success is not equal to 0.5 #95 percent confidence interval: # 0.4580148 0.7727373 #sample estimates: #probability of success # 0.625 ### 49-96 hours binom.test(21,26) # Exact binomial test # #data: 21 and 26 #number of successes = 21, number of trials = 26, p-value = 0.002494 #alternative hypothesis: true probability of success is not equal to 0.5 #95 percent confidence interval: # 0.6064945 0.9344519 #sample estimates: #probability of success # 0.8076923