Q.6.18

Question

Let X1, ... , Xn and Y1, ... , Yn be independent random vectors, with each vector being a random ordering of k ones and n − k zeros. That is, their joint probability mass functions are PX1=i1,,Xn=in=PY1=i1,,Yn=in=1nk,ij=0,1,j=1nij=k 

denote the number of coordinates at which the two vectors have different values. Also, let M denote the number of values of i for which

 Xi = 1, Yi = 0. 

(a) Relate N to M.

(b) What is the distribution of M?

(c) Find E[N]. 

(d) Find Var(N). 

Step-by-Step Solution

Verified
Answer

a) The relation between N to M is N=2M

b)  The distribution of M is hyper geometric random variable. 

c) E[N]=2k(n-k)n

d) The var(N) =4(n-k)(n-1)k1-knkn

1Part (a) - Step 1: To find

The relation between N to M

2Part (a) - Step 2: Explanation

Given: Given that X1.....XnY1.....Yn be independent random vectors, with each vector being a random ordering of k ones and n-k  zeros. That is their joint probability mass functions arePX1=i1,,Xn=in=PY1=i1,,Yn=in=1nk,ij=0,1,j=1nij=k

N=i=1nXi-Yidenote the number of coordinates at which the two vectors have different values.

Also, let M denotes the number of values of i for whichXi=1,Yi=0

Calculation : From the given information it can written as

i=1nXi=i=1nYi

So, M denotes the number of value of i.

it follows N = 2M

Hence , the relation between N to M = 2M.

3Part (b) - Step 3: To find

The distribution of M.

4Part (b) - Step 4: Explanation

Consider the n-k co-ordinates chose Y - values are equal to 0 and call them the red coordinates. Because the k co-ordinates whose X - values are equal to 1 are equally likely to be any of the nk sets of k coordinates, It follows the number of Red coordinates among these k coordinates has the same distribution as the number of Red balls chosen when one Randomly chooses k  of a set n balls of which n-k are Red. Therefore, M is a Hyper geometric Random variable.

5Part (c) - Step 5: To find

The value of E[N]

6Part (c) - Step 6: Explanation

Given : 

Given that X1....XnY1.....Yn be independent random vectors, with each vector being a random ordering of k ones and n-k  zeros. That is their joint probability mass functions are PX1=i1,,Xn=in=PY1=i1,,Yn=in=1nk,ij=0,1,j=1nij=k


N=i=1nXi-Yidenote the number of coordinates at which the two vectors have different values.

Also, let M denotes the number of values of i for whichXi=1,Yi=0

Calculation :

E[N]=E[2 M]=2 E[M]E[N]=2k(n-k)n

Therefore 2k(n-k)n is the E[N]

7Part (d) - Step 7 : To find

The value of var(N)

8Part (d) - Step 8: Calculation

Calculation :  Var[N]=Var[2M]=22Var[M]Var[N]=4(nk)(n1)k1knkn

Hence the value of Var[N]= 4(n-k)(n-1)k1-knkn