Hi @chris_dennis : Hmm, I don't think we understand each other.
The following examples are based on the hypergeometric distribution. https://en.wikipedia.org/wiki/Hypergeometric_distribution
Here are some examples, based on a batch size of 250 and 95% confidence.
1. If you take a sample size of 50, and none are defective, then there is 95% certainty that no more than 13 (of 250) are defective.
2. If you take a sample size of 100, and none are defective, then there is 95% certainty that no more than 5 (of 250) are defective.
3. If you take a sample size of 150, and none are defective, then there is 95% certainty that no more than 3 (of 250) are defective.
4. If you take a sample size of 200, and none are defective, then there is 95% certainty that no more than 1 (of 250) is defective.
Here are some examples, based on a batch size of 250 and 99% confidence.
5. If you take a sample size of 50, and none are defective, then there is 99% certainty that no more than 19 (of 250) are defective.
6. If you take a sample size of 100, and none are defective, then there is 99% certainty that no more than 8 (of 250) are defective.
7. If you take a sample size of 150, and none are defective, then there is 99% certainty that no more than 4 (of 250) are defective.
8. If you take a sample size of 200, and none are defective, then there is 99% certainty that no more than 2 (of 250) are defective.
Here are some examples, based on a batch size of 250 and 90% confidence.
9. If you take a sample size of 50, and none are defective, then there is 90% certainty that no more than 10 (of 250) are defective.
10. If you take a sample size of 100, and none are defective, then there is 90% certainty that no more than 4 (of 250) are defective.
11. If you take a sample size of 150, and none are defective, then there is 90% certainty that no more than 2 (of 250) are defective.
12. If you take a sample size of 200, and none are defective, then there is 90% certainty that no more than 1 (of 250) is defective.
i.e., you can't prove, with any level of confidence, that 0 are defective by sampling less than all 250.
Edit: I wrote my own code to make these calculations. However, you can make these kinds of calculations using the tool here.
http://www.cluster-text.com/confidence_interval.php