Q.7.32

Question

In Problem 7.9, compute the variance of the number of empty urns.

Step-by-Step Solution

Verified
Answer

The variance of the number of empty urns is=j=in1-1j1-j=in1-1j+2j=ik-11-1jj=-kn1-2j-j=in1-1jj=kn1-1j.

1Step 1: Given Information

Total Number of balls=n numbered through 1

Number of urns =nalso numbered 1 through  n 

Ball i is equally likely to go into any of the urns  1, 2, . . . , i.

2Step 2: write the Number of urns

We can write the Number of urns that are empty as,

X=i=1nXi

Where

Xi=1     if ith  urn is empty 0     otherwise 

So, 

EXi=1×PXi=1+0×PXi=0

=PXi=1

=P{ ball j is not in urn i,ji}

=j=in(11j)

3Step 3: Calculate the expected value and variance

Calculate the expected value:

EXi2=12×PXi=1+02×PXi=0

=PXi=1

=P{ ball j is not in urn i,ji}

=j=in1-1j

Calculate the variance:

VarXi=EXi2-EXi2

=EXi-EXi2 [Since EXi2=EXias seen above]

 =EXi1-EXi

4Step 4: Calculate for i   a n d   i < k

Calculate for i

EXiXk=1×1×PXiXk=1

=PXiXk=1

=PXi=1,Xk=1

=j-ik-11-1jj-kn1-2j

Hence for i<k,

CovXi,Xk=EXiXk-EXiEXk

=j=ik-11-1jj=kn1-2j-j=in1-1jj=kn1-1j

5Step 5: Compute the variance of the number

Compute the variance of the number of empty urns,

Var(X)=i=1nVarXi+2CovXiXk

=EXi1-EXi+2CovXiXk

=j=in1-1j1-j=in1-1j+2j=ik-11-1jj=kn1-2j-j=in1-1jj=kn1-1j

6Step 6: Final Answer

Hence, the variance of the number of empty urns is =j=in1-1j1-j=in1-1j+2j=ik-11-1jj=kn1-2j-j=in1-1jj=kn1-1j.