Calculating covariance from variances

  • Thread starter Thread starter gajohnson
  • Start date Start date
  • Tags Tags
    Covariance
gajohnson
Messages
70
Reaction score
0

Homework Statement



Suppose that X1, X2, and X3
are independent random variables with variances 3, 4, and 8, respectively.
Let Y1 = 2X1 + 3X2, Y2 = X3 – X2, and Y3 = X1 + X2 + X3. (a) Using the general
relationship
Cov(W+X, Y+Z) = Cov(W,Y) + Cov(W, Z) + Cov(X, Y) + Cov(X, Z), find
Cov(Yi, Yj) for all i, j.

Homework Equations





The Attempt at a Solution



I can set up the Cov(Yi, Yj) for all i, j easily enough, but I do not understand how to calculate, say, 2Cov(X1, X3) just from the variances of X1 and X3. I know this is trivial, but any help would be greatly appreciated.
 
Physics news on Phys.org
gajohnson said:

Homework Statement



Suppose that X1, X2, and X3
are independent random variables with variances 3, 4, and 8, respectively.
Let Y1 = 2X1 + 3X2, Y2 = X3 – X2, and Y3 = X1 + X2 + X3. (a) Using the general
relationship
Cov(W+X, Y+Z) = Cov(W,Y) + Cov(W, Z) + Cov(X, Y) + Cov(X, Z), find
Cov(Yi, Yj) for all i, j.

Homework Equations





The Attempt at a Solution



I can set up the Cov(Yi, Yj) for all i, j easily enough, but I do not understand how to calculate, say, 2Cov(X1, X3) just from the variances of X1 and X3. I know this is trivial, but any help would be greatly appreciated.

What is the covariance of two independent random variables?
 
Ray Vickson said:
What is the covariance of two independent random variables?

Oh, boy...I seem to have missed the "independent" condition in the problem. It works out nicely that each combination seems to have a random variable with a covariance of itself somewhere in there. The rest all becomes 0s.

Thanks!
 
b
gajohnson said:
Oh, boy...I seem to have missed the "independent" condition in the problem. It works out nicely that each combination seems to have a random variable with a covariance of itself somewhere in there. The rest all becomes 0s.

Thanks!

Also: to compute the covariances you need to know the means of the X_i, which seem to not have been given. Were they given, and you just forgot to include them here?
 
Ray Vickson said:
b

Also: to compute the covariances you need to know the means of the X_i, which seem to not have been given. Were they given, and you just forgot to include them here?

They were not given but, thankfully, because they are independent, the only covariances that are not 0 are those that are just a covariance with itself, i.e. the variance already given--usually multiplied by some constant.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top