FreeCalc sample size estimation Inputs Test sensitivity 1 Test specificity 1 Population size 1000 Design prevalence 0.1 Diseased elements 100 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: 29 Cut-point number of reactors: 0 Type I error: 0.045 Type II error: 0 Herd-level sensitivity: 0.955 Herd-level specificity: 1 Interpretation: If a random sample of 29 units is taken from a population of 1000 and 0 or fewer reactors are found, the probability that the population is diseased at a prevalence of 0.1 is 0.045. Method: Modified hypergeometric exact Detailed Results 1 1 0.1 1 0 0.9 0 2 100 1 1 0 0 0 3 2 0.1901 1 0 0.8099 0 4 3 0.2712 1 0 0.7288 0 5 4 0.3443 1 0 0.6557 0 6 5 0.4102 1 0 0.5898 0 7 6 0.4694 1 0 0.5306 0 8 7 0.5228 1 0 0.4772 0 9 8 0.5709 1 0 0.4291 0 10 9 0.6141 1 0 0.3859 0 11 10 0.6531 1 0 0.3469 0 12 11 0.6881 1 0 0.3119 0 13 12 0.7197 1 0 0.2803 0 14 13 0.748 1 0 0.252 0 15 14 0.7736 1 0 0.2264 0 16 15 0.7965 1 0 0.2035 0 17 16 0.8172 1 0 0.1828 0 18 17 0.8358 1 0 0.1642 0 19 18 0.8525 1 0 0.1475 0 20 19 0.8675 1 0 0.1325 0 21 20 0.881 1 0 0.119 0 22 21 0.8931 1 0 0.1069 0 23 22 0.9041 1 0 0.0959 0 24 23 0.9139 1 0 0.0861 0 25 24 0.9227 1 0 0.0773 0 26 25 0.9306 1 0 0.0694 0 27 26 0.9377 1 0 0.0623 0 28 27 0.9441 1 0 0.0559 0 29 28 0.9499 1 0 0.0501 0 30 29 0.955 1 0 0.045 0