- #1
happyg1
- 308
- 0
Hi,
Here's my question:
Determine the correlation coefficient of the random variables X and Y if var(X)=4 and Var(Y)=2 and var(X+2Y)=15
I said let Z=X+2Y and then Var(Z)=E[Z^2]-E[Z]^2
Then I multiplied the thing out:
15=Var(z)=E[X^2]+4E[XY]+4E[Y^2]-E[X]-2E[Y]
I know that Var(X)=E[X^2]-E[X]^2 and var(Y)=E[y^2]-E[y]^2
I tried plugging in the mu and sigmas for the means and variances and I also know that E[X^2]=sigma^2+mu^2
I've been going in circles and getting nowhere for awhile. I know I'm missing something, but I don't know what.
the formula for the correlation coefficient, rho= cov[XY]/(sigmaX)(sigmaY)
doesn't get me anywhere, either. I know the sigmas but I am stuck. I have 3 pages of equations going in circles.
Any hint or pointer will be greatly appreciated.
Thanks,
CC
Here's my question:
Determine the correlation coefficient of the random variables X and Y if var(X)=4 and Var(Y)=2 and var(X+2Y)=15
I said let Z=X+2Y and then Var(Z)=E[Z^2]-E[Z]^2
Then I multiplied the thing out:
15=Var(z)=E[X^2]+4E[XY]+4E[Y^2]-E[X]-2E[Y]
I know that Var(X)=E[X^2]-E[X]^2 and var(Y)=E[y^2]-E[y]^2
I tried plugging in the mu and sigmas for the means and variances and I also know that E[X^2]=sigma^2+mu^2
I've been going in circles and getting nowhere for awhile. I know I'm missing something, but I don't know what.
the formula for the correlation coefficient, rho= cov[XY]/(sigmaX)(sigmaY)
doesn't get me anywhere, either. I know the sigmas but I am stuck. I have 3 pages of equations going in circles.
Any hint or pointer will be greatly appreciated.
Thanks,
CC