Calculating covariance from variances

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

This discussion focuses on calculating the covariance between linear combinations of independent random variables X1, X2, and X3 with known variances of 3, 4, and 8, respectively. The participants clarify that due to the independence of these variables, the covariance between any two different variables is zero, simplifying the calculations. The key relationship used is Cov(W+X, Y+Z) = Cov(W,Y) + Cov(W,Z) + Cov(X,Y) + Cov(X,Z), which allows for the determination of Cov(Yi, Yj) for all combinations of i and j. The importance of knowing the means of the random variables is also highlighted, although they are not necessary for this specific calculation due to independence.

PREREQUISITES
  • Understanding of covariance and variance in statistics
  • Familiarity with independent random variables
  • Knowledge of linear combinations of random variables
  • Basic proficiency in statistical formulas and notation
NEXT STEPS
  • Study the properties of covariance for independent random variables
  • Learn how to compute variances of linear combinations of random variables
  • Explore the implications of independence on statistical calculations
  • Review the concept of expected values and their role in covariance calculations
USEFUL FOR

Students and professionals in statistics, data science, and quantitative fields who need to understand covariance calculations involving independent random variables.

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