For each draw of r balls, let X denote the maximum number drawn. Then, P(X≤m)=(nm)r. Therefore, P(X=m)=P(X≤m)−P(X≤m−1)=(nm)r−(nm−1)r.
2 b
For each draw of r balls, let X denote the maximum number drawn. Then, P(X≤m)=(rm)(rn)−1. Therefore, P(X=m)=P(X≤m)−P(X≤m−1)=
(rn)(rm)−(rm−1)=(rn)(r−1m−1).
3
P(A wins)=i=1∑∞P(A wins in round i)=i=1∑∞365(363165)i−1=6130
4
Let WB represent the event that a write ball is picked in the first draw, and a black ball is picked in the second draw. WW,BB,BW are also events, and these four and disjoint and exhaustive. Let A be the event that a white ball was picked in the third draw. Then,
The corrected version of the question defines ∼ by X∼Y if P(X=n)=P(Y=n)∀n∈Z, i.e, X and Y have the same PMF. d([X],[Y]) is defined by
d([X],[Y])=n∈Z∑∣P(X=n)−P(Y=n)∣.
Clearly, d([X],[Y])≥0. If d([X],[Y])=0, P(X=n)=P(Y=n)∀n∈Z, so [X]=[Y]. On the other hand, if [X]=[Y], d([X],[Y])=0. Thus, d is positive definite. Clearly, d is symmetric and reflexive. If [X],[Y],[Z]∈Ł~, then
Thus, d([X],[Y])/2 is an upper bound for ∣P(X∈A)−P(Y∈A)∣. Next, we will show that no real number less than d([X],[Y])/2 is an upper bound. Let ϵ>0. Let α1c,α2c,… be an enumeration of the elements in αc.
n=1∑∞P(X=αnc)−P(Y=αnc)=−2d([X],[Y]).
Each term in the above series is negative. Further, the limit as n→∞ of individual terms of a convergent series must be zero. Thus, there exists n such that ∣P(X=αnc)−P(Y=αnc)∣<ϵ. Now, let A be α∪{n}. Then,
∣P(X∈A)−P(Y∈A)∣>2d([X],[Y])−ϵ
Thus, d([X],[Y])/2 is the supremum of ∣P(X∈A)−P(Y∈A)∣, A⊆Z.
6
Let X∼Pois(λ). Then, fX(x) is given by x!λxe−λ for x=0,1,2,…. Consider the ratio fX(x−1)fX(x)=xλ. This ratio decreases with x, and fX(x)>fX(x−1) only if the ratio is greater than 1. We can therefore conclude that
⋯<fX(⌊λ⌋−1)<fX(⌊λ⌋)>fX(⌊λ⌋+1)>…,
that is, the most probable value is ⌊λ⌋.
7
Part a
The number of ways to obtain a sum of k with n throws is given by
i=0∑n(−1)i(in)(n−1k−6i−1)
The total number of ways of obtaining sum k is given by
n=1∑ki=0∑n(−1)i(in)(n−1k−6i−1)
The total probability of obtaining sum k is given by
The probability that the elevator does not stop any any level less than or equal to k is given by (kf−k)N. Thus, the probability that the elevator will stop for the first time at level k is given by
fX(x)=p1(1−p1)x and fY(x)=p2(1−p2)x, for x∈Z≥0. The probability generating functions for X and Y are ΦX(t)=1−(1−p1)tp1 and ΦY(t)=1−(1−p2)tp2. Since X and Y are independent, ΦX+Y=ΦXΦY.