jimmy1
- 60
- 0
Suppose X_1,...,X_n are independent and identically distributed random variables.
Now suppose I picked m_1 random variables from the set X_1,...,X_n and defined Y_1 as the sum of the m_1 variables, where m_1 is also a random variable.
Now suppose I did this again and I picked m_2 random variables from the set X_1,...,X_n and defined Y_2 as the sum of the m_2 variables, where m_2 again is a random variable.
I also know the expected number of random variables from the set X_1,...,X_n, that are contained in both sums Y_1 and Y_2. Call this number a.
So I basically have two random sums, Y_1 and Y_2, and I want to find the covariance bwteen them, Cov(Y_1, Y_2). I came up with the following solution but it doesn't seem to work, so any pointers on what's wrong or how to go about doing it would be great.
So I just simply used the definition of covariance of sums, ie. For sequences of random variables A_1,...,A_m and B_1,...,B_n, we have Cov(\sum_{i=1}^{m}A_i,\sum_{j=1}^{n}B_j) = \sum_{i=1}^{m}\sum_{j=1}^{n}Cov(A_i,B_j).
So applying the above formula to my situation of Cov(Y_1, Y_2), I have that because X_1,...,X_n are independent, most of the terms in the double sum in the above formula will be zero, and will only be non-zero if X_i \equiv X_j, in which case Cov(X_i,X_j) will be just Var(X_1).
Hence the Cov(Y_1, Y_2), will be just a*Var(X_1) ?
There is something wrong in the logic above, as the formula a*Var(X_1) doesn't seem to work, but I can't figure out where I am going wrong. Any help??
Now suppose I picked m_1 random variables from the set X_1,...,X_n and defined Y_1 as the sum of the m_1 variables, where m_1 is also a random variable.
Now suppose I did this again and I picked m_2 random variables from the set X_1,...,X_n and defined Y_2 as the sum of the m_2 variables, where m_2 again is a random variable.
I also know the expected number of random variables from the set X_1,...,X_n, that are contained in both sums Y_1 and Y_2. Call this number a.
So I basically have two random sums, Y_1 and Y_2, and I want to find the covariance bwteen them, Cov(Y_1, Y_2). I came up with the following solution but it doesn't seem to work, so any pointers on what's wrong or how to go about doing it would be great.
So I just simply used the definition of covariance of sums, ie. For sequences of random variables A_1,...,A_m and B_1,...,B_n, we have Cov(\sum_{i=1}^{m}A_i,\sum_{j=1}^{n}B_j) = \sum_{i=1}^{m}\sum_{j=1}^{n}Cov(A_i,B_j).
So applying the above formula to my situation of Cov(Y_1, Y_2), I have that because X_1,...,X_n are independent, most of the terms in the double sum in the above formula will be zero, and will only be non-zero if X_i \equiv X_j, in which case Cov(X_i,X_j) will be just Var(X_1).
Hence the Cov(Y_1, Y_2), will be just a*Var(X_1) ?
There is something wrong in the logic above, as the formula a*Var(X_1) doesn't seem to work, but I can't figure out where I am going wrong. Any help??