What is the correlation of X and Z in terms of variance and covariance?

CescGoal
Messages
3
Reaction score
0
Very sorry that I've double posted but I realized i placed the original post in Precalculus.



1. Homework Statement
Question

Let X and Y be independent random variables with variances 9 and 7 respectively and let
Z = X - Y

a) What is the value of Cov(X,Z)
b) What is the value of the correlation coefficient of X and Z?

I've been stuck on this one question for 2-3 hours; its ridiculous, I know. Here's my terrible try.


3. The Attempt at a Solution
a)

Var(X) = 9
Var(Y) = 7

Var(X-Y) = Var(X) + Var(Y) = Var(Z)
Therefore, Var(Z) = 7 + 9 =16
Cov(X,Z) = E[XZ] - E[X]E[Z]


and b) \rhoXZ = \frac{Cov(X,Z)}{\sqrt{Var(X)*Var(Z)}}



= \frac{Cov(X,Z)}{\sqrt{9}*\sqrt{16}}
= \frac{Cov(X,Z)}{12}

Since last topic, I've realized that Cov(X,Y) = 0 due to independency. But I don't know how to use it.
 
Physics news on Phys.org


Cov(X,Z)=Cov(X,X-Y). Cov(X,X-Y)=Cov(X,X)-Cov(X,Y), right?
 


I didn't know about that law; thankyou very much.
 


CescGoal said:
I didn't know about that law; thankyou very much.

It's pretty obvious if you write out the definition of Cov. You should try and do that so you can see why it's true.
 
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...

Similar threads

Back
Top