View Single Post
  #3  
Old October 11th, 2008, 03:19 PM
mr fantastic's Avatar
mr fantastic mr fantastic is offline
Flow Master

 
Join Date: Dec 2007
Location: Zeitgeist
Posts: 13,510
Country:
Thanks: 2,979
Thanked 5,256 Times in 4,605 Posts
mr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond repute
Default

Quote:
Originally Posted by Laurent View Post
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)}}, right? So what you need to compute is E[XY], E[X], E[Y], E[X^2] and E[Y^2]. In fact, the pdf of (X,Y) is symmetric in x,y, so that X and Y have same distribution and the formula reduces to: {\rm Corr}(X,Y)=\frac{E[XY]-E[X]^2}{E[X^2]-E[X]^2}.
To compute E[XY], just integrate xy times the pdf of (X,Y) (over the square 0\leq x,y\leq 1).
You can do the same with the other ones (integrating x and x^2), but you may find it quicker to first determine the pdf of X. For that, you just have to integrate the pdf of (X,Y) with respect to the variable y, keeping x 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.
Reply With Quote