Probability - R successes before the kth failure

Click For Summary
SUMMARY

The probability of achieving r successes before the k-th failure in a sequence of independent trials with success probability p is given by the formula {{k+r}\choose{r}} p^{r} (1-p)^{k}. The discussion highlights a common misunderstanding regarding the binomial distribution and the geometric distribution's role in this context. Specifically, the number of trials until the first failure is geometrically distributed, and the correct interpretation involves recognizing that the counting process resets after each failure. The formula provided in the discussion was incorrect for certain cases, emphasizing the need for clarity in defining the problem.

PREREQUISITES
  • Understanding of binomial distribution and its formula f(x;n,p) = {{n}\choose{r}} p^{x} (1-p)^{n-r}
  • Knowledge of geometric distribution and its implications in probability theory
  • Familiarity with generating functions and recursive probability methods
  • Basic concepts of independent trials and probability calculations
NEXT STEPS
  • Study the properties of the geometric distribution and its applications in probability
  • Learn about generating functions and how they can be used to derive closed-form solutions in probability
  • Explore recursive methods for calculating probabilities in sequences of independent trials
  • Review binomial distribution applications in real-world scenarios to solidify understanding
USEFUL FOR

Students studying probability theory, mathematicians focusing on statistical distributions, and educators preparing for teaching complex probability concepts.

dkotschessaa
Messages
1,063
Reaction score
763

Homework Statement



In a sequence of independent trials with probability of success p, what is the probability that there are r successes before the k-th failure?

Homework Equations



Binomial distribution

f(x;n,p) = {{n}\choose{r}} p^{x} (1-p)^{n-r}

The Attempt at a Solution



I know that the answer is

{{k+r+1}\choose{r}} p^{r} (1-p)^{k}

This almost makes sense to me.

Since x = number of successes = r
and I know n represents the number of trials - but I'm not sure how this amounts to k+r+1.

and if n is k+r+1, then the exponent of (1-p), which is n-x, should be

(k+r+1) - r = k+1

But here it is just k.

why?

-Dave K
 
Physics news on Phys.org
dkotschessaa said:

Homework Statement



In a sequence of independent trials with probability of success p, what is the probability that there are r successes before the k-th failure?

Homework Equations



Binomial distribution

f(x;n,p) = {{n}\choose{r}} p^{x} (1-p)^{n-r}

The Attempt at a Solution



I know that the answer is

{{k+r+1}\choose{r}} p^{r} (1-p)^{k}

This almost makes sense to me.

Since x = number of successes = r
and I know n represents the number of trials - but I'm not sure how this amounts to k+r+1.

and if n is k+r+1, then the exponent of (1-p), which is n-x, should be

(k+r+1) - r = k+1

But here it is just k.

why?

-Dave K

The "answer" you give above is not quite correct. Look at it for the case of k = 1; it does not work properly in that case. (Note: your formula would be the probability of having r successes and 1 failure in (r+1) trials, but that would include all outcomes of the form FSS...S, SFSS...S, ... SS...SF, which is NOT what you want. You want the probability of the single point SSS...SF.)

The number of tosses X until the first failure is geometrically distributed with parameter 1-p; note that this count *includes* the failure itself, so the number *before* the first failure is Y = X-1 (which is in {0, 1, 2, ...}). After each failure the counting process starts again, so you want the distribution Zk = Y1 + Y2 + ... + Yk, where the Yi are iid copies of Y. You are asking for P{Zk = r}. You can get a closed-form formula for this using generating-function methods, or else by getting a recursion for P{Z(k-1)=s} and P{Y=t}. The answer will be almost what you wrote above, but with a slight difference.
 
Last edited:
Thanks. I suspected the answer was wrong, but it was what the professor gave us. He is giving us wrong answers, and sometimes even wrong questions. We are all baffled. We have a test tomorrow.

Thanks!
 

Similar threads

Replies
2
Views
1K
Replies
1
Views
1K
  • · Replies 37 ·
2
Replies
37
Views
8K
  • · Replies 9 ·
Replies
9
Views
6K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 15 ·
Replies
15
Views
7K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 7 ·
Replies
7
Views
878
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 13 ·
Replies
13
Views
2K