Calculating covariance from variances

  • Thread starter Thread starter gajohnson
  • Start date Start date
  • Tags Tags
    Covariance
Click For Summary

Homework Help Overview

The problem involves calculating the covariance between linear combinations of independent random variables, specifically X1, X2, and X3, which have known variances. The original poster seeks to find Cov(Yi, Yj) for defined linear combinations of these variables.

Discussion Character

  • Conceptual clarification, Assumption checking

Approaches and Questions Raised

  • Participants discuss the relationship between variances and covariances, particularly in the context of independent random variables. Questions arise about how to calculate covariances when only variances are provided, and the implications of independence on these calculations.

Discussion Status

Some participants have noted the importance of the independence condition, recognizing that it simplifies the calculation of covariances. There is acknowledgment that the means of the random variables are not provided, which may be relevant for a complete solution.

Contextual Notes

Participants mention that the means of the random variables are not given, which could affect the computation of covariances, but emphasize that the independence of the variables leads to certain covariances being zero.

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.
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
3
Views
2K