Problem: Assume a sample of 26 workstations was selected from a production batch and that they achieve an average time of 28 seconds on a benchmark with a standard deviation of 15 seconds. Find a 95% confidence interval for the average benchmark time for the entire production batch. Solution: Since the sample size is small the t table is required. Also s(ybar) is 15/sqrt(25)=15/5=3. Since the required t value is 2.06 then the 95% CI is 28 plus/minus 2.06*3 or 28 plus/minus 6.18. Problem: Assume a sample of 10 COBOL programs. Each program is rigorously tested and the average fault density found to be 0.5 faults per line of code with a standard deviation of 0.15. a) Find a 95% confidence interval for the average fault density for the entire system. b) What if the sample size was 100. What is the 95% confidence interval in this case. c) Estimate the number of faults that may be expected for the entire system if the system has 10,000 lines of code. Solution: a) s(ybar)=0.15/sqrt(9)=0.15/3=0.05. Assume y normally distributed then ybar Student t with n-1=9df. The required t value is 2.26. The 95% CI is 0.5 plus/minus 2.26*0.05 or 0.5 plus/minus 0.113. b) In this case the sample is large and the 95% CI is 0.5 plus/minus 1.95*s(ybar). Since s(ybar)=0.15/sqrt(100)=0.015 then the 95% CI is 0.5 plus/minus 0.03. c) 5,000 faults should be expected.