Zoatebix said:What's the equation for at least "r" number of successes, given the probability "p" for success and "N" number of tries? I don't have a good text book on hand: I was using my memory (from 6 years ago in 11th grade) and Google for reference.
-George
Buh, um, the probability for at least 1 success is 1 - (the probability of no successes), which is (1-p)^N, so in total it's 1 - [(1-p)^N]. The probability for at least r successes, um, dunno that one, but I can probably figure it out.
Hmm.
Google had it.
It's (the probability of r successes) + (the probability of r+1 sux) plus (the probability of r+2 sux) + ... + the probability of N successes, basically.
The probability of any number r successes from N trials is:
Choose(N,r) * p^r * (1-p)^(N-r).
For instance, if you're flipping coins, the odds of getting 5 heads out of 7 tries is:
7 choose 5 = 7!/(5!*2!) = 21
p = .5, r=5
p^r is .5^5
(1-p)^(N-r) is .5^2.
Total probability is 21 * .5^7 = .1640625.
The choose(N,r) accounts for the fact that you don't care what order the successes come; 5 successes then two failures is equivalent to 2 failures then 5 successes.