suppose we go door to door selling candy.

hira farrukh

hira farrukh

Answered question

2022-07-18

suppose we go door to door selling candy. we consider it a success if someone buys a candy bar the probability that any given person will buy the candy bar is 0.4. What is the probability of experiencing 8 failures before a total of 5 successes.

Answer & Explanation

Andre BalkonE

Andre BalkonE

Skilled2023-05-23Added 110 answers

To solve the problem, we can use the concept of a negative binomial distribution. The negative binomial distribution represents the number of failures before a specified number of successes occur.
In this case, we want to find the probability of experiencing 8 failures before a total of 5 successes. The probability of success, denoted by p, is given as 0.4.
Let's denote the random variable representing the number of failures before 5 successes as X. We want to find P(X=8).
The probability mass function (PMF) of the negative binomial distribution is given by:
P(X=k)=(k+r1k)·pr·(1p)k
where k is the number of failures, r is the number of successes, p is the probability of success, and (1p) is the probability of failure.
In our case, k=8, r=5, and p=0.4. Substituting these values into the PMF formula, we have:
P(X=8)=(8+518)·0.45·(10.4)8
Calculating the values within the binomial coefficient and simplifying the expression, we get:
P(X=8)=(128)·0.45·0.68
Using the binomial coefficient formula (nk)=n!k!(nk)!, we can calculate the binomial coefficient as follows:
(128)=12!8!(128)!=12!8!4!=12·11·10·94·3·2·1=495
Now, substituting this value back into the expression, we have:
P(X=8)=495·0.45·0.68
Calculating the numerical value, we find:
P(X=8)0.0060
Therefore, the probability of experiencing 8 failures before a total of 5 successes is approximately 0.0060.

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Statistics and Probability

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?