Because there are n independant calls with probability p of success, X follows a binomial distribution B(n,p):
P(X=i)=(in)pi(1−p)n−i
In the second round, the calls are still independant and each with probability p to succeed, but this time, if X=i, there are only n−i calls. So the conditional probability is again a binomial distribution B(n−i,p):
P(Y=k∣X=i)=(kn−i)pk(1−p)n−i−k
Disclaimer : there is probably a better way than the brute force method I did, but I can’t find the right interpretation: when X=i, then we have to have Y=k−i. This means that :
P(X+Y=k)=i=0∑kP(X=iandY=k−i)But these joint probabilities can be expressed using the conditional probabilities which were computed in the previous question, and using the first question:
P(X+Y=k)=i=0∑kP(X=i)P(Y=k−i∣X=i)=i=0∑k(in)pi(1−p)n−i(k−in−i)pk−i(1−p)n−kand a few terms do not depend on i, so they can be extracted from the sum:
P(X+Y=k)=pk(1−p)n−ki=0∑k(in)(k−in−i)(1−p)n−iHere there is a nice combinatorial identity:
(in)(k−in−i)=(ik)(kn)which yields:
P(X+Y=k)=pk(1−p)n−k(kn)i=0∑k(ik)(1−p)n−iThis sum is very close to a binomial type of expression. We make a k appear:
P(X+Y=k)=pk(1−p)n−k(kn)i=0∑k(ik)(1−p)n−k(1−p)k−i=pk((1−p)n−k)2(kn)i=0∑k(ik)(1−p)k−i=pk((1−p)n−k)2(kn)(1−p+1)k=pk((1−p)n−k)2(kn)(2−p)kBy letting q=p(2−p)=2p−p2, we have that 1−q=1−2p+p2=(1−p)2, we just obtained:
P(X+Y=k)=(kn)qk(1−q)n−kThis is again a binomial distribution B(n,q).
The expected value of Z=X+Y is nq, while the variance is nq(1−q).
Sign in to join the discussion.
No messages yet.