
October 11th, 2008, 03:19 PM
|
 | Flow Master | | Join Date: Dec 2007 Location: Zeitgeist
Posts: 13,510
Country: Thanks: 2,979
Thanked 5,256 Times in 4,605 Posts
| |
Quote:
Originally Posted by Laurent One has ![{\rm Corr}(X,Y)=\frac{{\rm Cov}(X,Y)}{\sqrt{{\rm Var}(X){\rm Var}(Y)}}=\frac{E[XY]-E[X]E[Y]}{\sqrt{(E[X^2]-E[X]^2)(E[Y^2]-E[Y]^2)}} {\rm Corr}(X,Y)=\frac{{\rm Cov}(X,Y)}{\sqrt{{\rm Var}(X){\rm Var}(Y)}}=\frac{E[XY]-E[X]E[Y]}{\sqrt{(E[X^2]-E[X]^2)(E[Y^2]-E[Y]^2)}}](http://www.mathhelpforum.com/math-help/latex2/img/ed2f4d03b5f802571a4299d54d2f6021-1.gif) , right? So what you need to compute is ![E[XY] E[XY]](http://www.mathhelpforum.com/math-help/latex2/img/6e440be6519e9782522cae0d403d758f-1.gif) , ![E[X] E[X]](http://www.mathhelpforum.com/math-help/latex2/img/f564e7c6618bc2c0c99eae5a9376fbaf-1.gif) , ![E[Y] E[Y]](http://www.mathhelpforum.com/math-help/latex2/img/a7536de6a5a3e3d205f9bbe8598f2e41-1.gif) , ![E[X^2] E[X^2]](http://www.mathhelpforum.com/math-help/latex2/img/4d1d522fcf91e6ad6f6948a5e295ff59-1.gif) and ![E[Y^2] E[Y^2]](http://www.mathhelpforum.com/math-help/latex2/img/8a23c1b4166a611aa981e5f879fa62eb-1.gif) . In fact, the pdf of  is symmetric in  , so that  and  have same distribution and the formula reduces to: ![{\rm Corr}(X,Y)=\frac{E[XY]-E[X]^2}{E[X^2]-E[X]^2} {\rm Corr}(X,Y)=\frac{E[XY]-E[X]^2}{E[X^2]-E[X]^2}](http://www.mathhelpforum.com/math-help/latex2/img/6656230d0c56b5f73ca794f9dfc9c3ba-1.gif) .
To compute ![E[XY] E[XY]](http://www.mathhelpforum.com/math-help/latex2/img/6e440be6519e9782522cae0d403d758f-1.gif) , just integrate  times the pdf of  (over the square  ).
You can do the same with the other ones (integrating  and  ), but you may find it quicker to first determine the pdf of  . For that, you just have to integrate the pdf of  with respect to the variable  , keeping  fixed. |  I was just about to reply when I saw yours. I misread the question as find Cov(X, Y) ..... So it's lucky you replied first (although my reply would have got the OP half way ......  )
__________________ There are two things you should never try to prove: the impossible and the obvious. The greater danger for most of us lies not in setting our aim too high and falling short; but in setting our aim too low and achieving our mark. (Michelangelo Buonarroti) To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|