Thank you in advance for the help.Hi,
You have an test that produces a false-positive result with probability 0.05, and hence the probability of not obtaining a false-positive is 0.95. Suppose that you perform n, independent repetitions of the test and X is the number of false-positives you obtain. The probability that X is greater than or equal to 1, is 1 minus the probability that X is less than 1. That is
Hence if P(X >= 1) <= 0.2 then 1 - P(X = 0) <= 0.2 and hence P(X = 0) >= 0.8. Thus you want the largest n so that P(X = 0) >= 0.8.
Since the probability of not obtaining a false-positive is 0.95 and the tests are independent, the probability of no false-positives in the n tests is 0.95n. Thus you want the largest n so that 0.95n >= 0.8.
Now use your calculator to find 0.951, 0.952, ... and see how large the exponent can be before 0.95n is smaller than 0.8.Cheers,