- 3,372
- 465
If I have two random variables X, Y that are given from the following formula:
X= \mu_x \big(1 + G_1(0, \sigma_1) + G_2(0, \sigma_2) \big)
Y= \mu_y \big(1 + G_3(0, \sigma_1) + G_2(0, \sigma_2) \big)
Where G(\mu, \sigma) are gaussians with mean \mu=0 here and std some number.
How can I find the covariance matrix of those two?
I guess the variance will be given by:
Var(X) = \mu_x^2 (\sigma_1^2+ \sigma_2^2) and similarly for Y. But I don't know how I can work to find the covariance?
Could I define some other variable as :Z=X+Y and find the covariance from Var(Z)= Var(X)+Var(Y) +2 Cov(X,Y) ?
while Z will be given by Z= (\mu_x+\mu_y) (1+ G_1 + G_2)?
Then Var(Z)= (\mu_x+ \mu_y)^2 (\sigma_1^2+ \sigma_2^2)
And Cov(X,Y) = \dfrac{(\mu_x+\mu_y)^2(\sigma_1^2+ \sigma_2^2)- \mu_x^2 (\sigma_1^2+ \sigma_2^2) - \mu_y^2(\sigma_1^2+ \sigma_2^2) }{2}=\mu_x \mu_y(\sigma_1^2+ \sigma_2^2)
Is my logic correct? I'm not sure about the Z and whether it's given by that formula.
X= \mu_x \big(1 + G_1(0, \sigma_1) + G_2(0, \sigma_2) \big)
Y= \mu_y \big(1 + G_3(0, \sigma_1) + G_2(0, \sigma_2) \big)
Where G(\mu, \sigma) are gaussians with mean \mu=0 here and std some number.
How can I find the covariance matrix of those two?
I guess the variance will be given by:
Var(X) = \mu_x^2 (\sigma_1^2+ \sigma_2^2) and similarly for Y. But I don't know how I can work to find the covariance?
Could I define some other variable as :Z=X+Y and find the covariance from Var(Z)= Var(X)+Var(Y) +2 Cov(X,Y) ?
while Z will be given by Z= (\mu_x+\mu_y) (1+ G_1 + G_2)?
Then Var(Z)= (\mu_x+ \mu_y)^2 (\sigma_1^2+ \sigma_2^2)
And Cov(X,Y) = \dfrac{(\mu_x+\mu_y)^2(\sigma_1^2+ \sigma_2^2)- \mu_x^2 (\sigma_1^2+ \sigma_2^2) - \mu_y^2(\sigma_1^2+ \sigma_2^2) }{2}=\mu_x \mu_y(\sigma_1^2+ \sigma_2^2)
Is my logic correct? I'm not sure about the Z and whether it's given by that formula.
Last edited: