<div id="geary-body" dir="auto"><div>I seem to remember doing calculations like this a long time ago...there are a number of variations which are probably all related. I have not been able to find any Google search terms that give me anything useful.</div><div><br></div><div>A factory produces a batch of 10_000 units.</div><div><ul><li>I test 100 units; there are 3 failures. What failure rate can I expect from the whole batch? What is my confidence in that estimate?</li><li>I test 100 units; there are 0 failures. What failure rate can I expect from the whole batch? What is my confidence in that estimate?</li><li>How many units do I need to test to have 99% confidence that there will be less than 1% failure rate from the whole batch?</li></ul><div>Can someone tell me what you call this type of calculation? Point me to a suitable reference site?</div></div><div><br></div><div>All of the examples I find online are of the form: a factory produces widgets with x% failure rate; out of a sample of y units, what is the probability of finding z defective units...this is probably the same calculation from the other direction.</div><div><br></div><div>This is just for interest. In my specific case, I had 36 failures out of a sample of 50 taken from a batch of a few thousand -- this is clearly not acceptable. But we now have a repeatable test that causes the failure.</div><div><br></div><div>Stephen Irons</div></div>