STA113 Fall 2003 I. H. Dinwoodie Extra Credit 1. Write two matlab functions, one to take a row vector of binomial successes and compute the Agresti-Coull confidence interval for each entry, and the other to compute the older simpler interval. 2. Simulate 10000 bin(20, .1) outcomes, and compute the 90% confidence interval on each with both methods. 3. Compare the fraction of intervals that contain the true p=.1 for the two methods, and determine which method is better in the bin(20, .1) situation.