Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm sure this has been asked before, if so please point me to the relevant answers. Anyway, I have about 26000 phone subscription entries in a database. A number of these might contain wrong information that I can't verify automatically. I have no time to manually check each one of them. What I'd like to know is how many of these I should randomly sample and manually check in order to be 95% certain that there are at most 1% entries with errors? Preferrably I'd like to have a formula where I can tweak the numbers. Is this possible? I am grateful for any pointers, links, and answers. Thanks in advance!

share|cite|improve this question
up vote 0 down vote accepted

You can't say a priori how many subscriptions you'll have to check in order to be $95\%$ certain that there are at most $1\%$ errors, since this depends on the error rate. If the error rate is close to $1\%$, you'll need to check a lot more to distinguish it from $1\%$ than if it's $0\%$.

share|cite|improve this answer
I figured I can use the $3/n$ formula. If I don't find any defects while checking 300 samples, it would mean I am $95\%$ certain of the $1\%$ error rate, right? – Daniel Lidström Apr 20 '12 at 12:09
@Daniel: Yes, that's right, if you don't find any defects. If that was meant to be an assumption in your original question, then you forgot to state it. – joriki Apr 20 '12 at 13:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.