Stats: Covariace of 2 Random Variables

Click For Summary

Homework Help Overview

The discussion revolves around computing the covariance between two random variables, X and Z, where X follows an Exponential distribution and Y follows a Poisson distribution. The relationship Z is defined as the sum of X and Y, and participants are exploring how to calculate Cov(X, Z).

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants discuss the formula for covariance and express uncertainty about computing expected values, particularly E(XZ) and E(Z). There is an exploration of the independence of X and Y and how it affects the covariance calculation.

Discussion Status

Some participants have confirmed derivations related to the covariance, while others are seeking clarification on the expected values and the implications of independence. There is an acknowledgment of the complexity in finding the joint probability density function for X and Z.

Contextual Notes

Participants question the notation used for the Exponential distribution and its implications for expected values. There is also a note on the necessity of deriving certain results before applying them in the context of covariance.

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:
[tex]Cov(X,Z) = E(XZ) - EX EZ = E X^2 + E(X Y) - (EX)^2 - EX EY.[/tex]
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. :)
 

Similar threads

  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
6K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
3
Views
2K