Q.7.63

Question

An urn contains 30 balls, of which10 are red and 8 are blue. From this urn, 12 balls are randomly withdrawn. Let X denote the number of red and Y the number of blue balls that are withdrawn. Find Cov(X, Y)

(a) by defining appropriate indicator (that is, Bernoulli) random variables

Xi,Yjsuch that  X=i=110Xi,Y=j=18Yj

(b) by conditioning (on either X or Y) to determine E[XY] 

Step-by-Step Solution

Verified
Answer

a)By defining appropriate indicator random variables Cov(X,Y)=96145

b)The value of E(X,Y) is

E(XY)=4.8E(X)0.4EX2=35229

1Step 1:Given Information(part a)

Given the pointer irregular variable Xithat demonstrates regardless of whether i the red ball has been picked and Yjthat shows regardless of whether j the blue ball has been picked. Then, at that point, the number of red balls drawn X and blue balls drawn Y can be composed as

X=i=110Xi,Y=j=18Yj

2Step 2:Explanation(part a)

Then we have that

Cov(X,Y)=Covi=110Xi,j=18Yj=ijCovXi,Yj=80CovX1,Y1

we have that

EX1Y1=PX1=1,Y1=1=12113029=22145

and

EX1=EY1=1230

so we have

CovX1,Y1=EX1Y1EX1EY1=121450

which implies,

Cov(X,Y)=96145

3Step 3:Final Answer(part a)

Cov(X,Y)=96145

4Step 4:Given Information(part b)

From the idea of the issue, we have that X is a Hypergeometric distribution with boundaries N=30 , Kx=10, n=12. Likewise, we realize that Y is additionally a Hypergeometric distribution with boundaries N=30, KY=8, n=12. It infers that

E(X)=nKXN=4,E(Y)=nKYN=3.2

5Step 5:Explanation(part b)

Utilizing the law of the total expectation, we have thatE(XY)=E(E(XYX))=E(XE(YX))

Assuming we are given that there have been drawn X red balls, we stay with20 non-red balls and we draw n-X of them. In this way, all things considered, Y has Hypergeometric distribution with boundaries N^=20,KY=8,n^=12-X. Thus, we have that

E(YX)=n^KYN^=4.80.4X

Hence

E(XE(YX))=E(X(4.80.4X))=4.8E(X)0.4EX2

we know E(X)=4 and we have that

Var(X)=nKXNNKXNNnN1=4829

hence

EX2=Var(X)+E(X)2=4829+16=51229

so, we have that

E(XY)=4.8E(X)0.4EX2=35229

The covariance is then equivalent to

Cov(X,Y)=E(XY)E(X)E(Y)=3522943.2=96145

6Step 6:Final Answer (part b)

E(XY)=4.8E(X)0.4EX2=35229