Stats: Covariace of 2 Random Variables

JP16
Messages
21
Reaction score
0

Homework Statement


Let X ~ Exponential(3) and Y ~ Poisson(5). Assume X and Y are independent. Let Z = X + Y. Compute the Cov(X,Z).

Homework Equations



I know Cov(X, Z) = E(XZ) - E(X)E(Z). But how do I compute E(XZ) and E(Z) ?? Since for E(XZ), I would need the pdf/pmf (Exp is abs cts, while Poisson is discrete). Or can I do the following:

The Attempt at a Solution



Cov (X, Z) = Cov(X, X + Y)
= Cov(X, X) + Cov(X,Y)
= Var(X) + Cov(X,Y)
Since X, Y indep., Cov(X,Y) = 0
= Var(X)

Is this the correct derivation? Any help would be greatly appreciated, as the exam is just around the corner. Thanks.
 
Last edited:
Physics news on Phys.org
JP16 said:
Cov (X, Z) = Cov(X, X + Y)
= Cov(X, X) + Cov(X,Y)
= Var(X) + Cov(X,Y)
Since X, Y indep., Cov(X,Y) = 0
= Var(X)

Is this the correct derivation? Any help would be greatly appreciated, as the exam is just around the corner. Thanks.
That is the answer I got. If you are not sure about the derivation, try writing it out in terms of expected values.
 
Thank you for confirming. Although this problem is solved, I would like to know more. Before I was trying to Cov(X,Z) directly without subbing the 'X+Y', and problems rose there. Because

Cov(X,Z) = E(XZ) - E(X)E(Z) then,

E(XZ) = ∫Dxz fX,Z(x, z) dD, where fX,Z(x, z) is the prob. density function of X,Z. Is there any way we can find this function?

E(XZ) = E(X)E(Z), iff X,Z are ind. But clearly Z is dependent of X. Hence this won't work. Is the above way, the only way?
 
JP16 said:

Homework Statement


Let X ~ Exponential(3) and Y ~ Poisson(5). Assume X and Y are independent. Let Z = X + Y. Compute the Cov(X,Z).


Homework Equations



I know Cov(X, Z) = E(XZ) - E(X)E(Z). But how do I compute E(XZ) and E(Z) ?? Since for E(XZ), I would need the pdf/pmf (Exp is abs cts, while Poisson is discrete). Or can I do the following:


The Attempt at a Solution



Cov (X, Z) = Cov(X, X + Y)
= Cov(X, X) + Cov(X,Y)
= Var(X) + Cov(X,Y)
Since X, Y indep., Cov(X,Y) = 0
= Var(X)

Is this the correct derivation? Any help would be greatly appreciated, as the exam is just around the corner. Thanks.

Just as a matter of notation: does X~exponential(3) mean EX = 3 or EX = 1/3? (The second way is more common, but I have seen the first as well.)

Anyway:
Cov(X,Z) = E(XZ) - EX EZ = E X^2 + E(X Y) - (EX)^2 - EX EY.
What is E(X Y)? What do you get after simplification? (Hint: your final answer is OK.)

Note: you used a result Cov(X,X+Y) = Cov(X,X) + Cov(X,Y) for uncorrelated X,Y, but you need to derive this first. By proceeding directly you can by-pass this.
 
We use the mean as 1/3. E(XY) = E(X) E(Y) since X and Y are independent. So than it is equal to the Var(X). Thanks for both of your help. Much appreciated. :)
 
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...

Similar threads

Back
Top