FreeCalc sample size estimation Wed Feb 17 18:03:47 2016 Inputs Test sensitivity 0.99 Test specificity 0.99 Population size 100 Design prevalence 0.05 Diseased elements 5 Analysis method Modified hypergeometric exact Target Type I error 0.05 Target Type II error 0.05 Population threshold for infinite probability formula 10000 Maximum sample size 3200 Results Required sample size: 77 Cut-point number of reactors: 2 Type I error: 0.0444 Type II error: 0.0424 Herd-level sensitivity: 0.9556 Herd-level specificity: 0.9576 Interpretation: If a random sample of 77 units is taken from a population of 100 and 2 or fewer reactors are found, the probability that the population is diseased at a prevalence of 0.05 is 0.0444. Method: Modified hypergeometric exact Detailed Results 1 1 0.059 0.99 0 0.941 0.01 2 50 0.6277 0.9862 2 0.3723 0.0138 3 100 0.9996 0.9816 3 4,00E-04 0.0184 4 51 0.6456 0.9854 2 0.3544 0.0145999999999999 5 52 0.6633 0.9846 2 0.3367 0.0154 6 53 0.6806 0.9838 2 0.3194 0.0162 7 54 0.6975 0.983 2 0.3025 0.017 8 55 0.714 0.9822 2 0.286 0.0178 9 56 0.7301 0.9813 2 0.2699 0.0187 10 57 0.7457 0.9804 2 0.2543 0.0196 11 58 0.7609 0.9795 2 0.2391 0.0205 12 59 0.7756 0.9785 2 0.2244 0.0215 13 60 0.7899 0.9776 2 0.2101 0.0224 14 61 0.8037 0.9766 2 0.1963 0.0234 15 62 0.817 0.9756 2 0.183 0.0244 16 63 0.8297 0.9745 2 0.1703 0.0255 17 64 0.842 0.9735 2 0.158 0.0265 18 65 0.8538 0.9724 2 0.1462 0.0276 19 66 0.865 0.9713 2 0.135 0.0287 20 67 0.8758 0.9702 2 0.1242 0.0298 21 68 0.886 0.969 2 0.114 0.031 22 69 0.8957 0.9679 2 0.1043 0.0321 23 70 0.9049 0.9667 2 0.0951 0.0333 24 71 0.9136 0.9654 2 0.0864 0.0346 25 72 0.9218 0.9642 2 0.0782 0.0358000000000001 26 73 0.9295 0.9629 2 0.0705 0.0371 27 74 0.9368 0.9616 2 0.0632 0.0384 28 75 0.9435 0.9603 2 0.0565 0.0397 29 76 0.9498 0.959 2 0.0502 0.041 30 77 0.9556 0.9576 2 0.0444 0.0424