View Single Post
  #2  
Old October 11th, 2008, 03:29 PM
Laurent Laurent is offline
Super Member

 
Join Date: Aug 2008
Location: Lyon, France
Posts: 780
Country:
Thanks: 44
Thanked 501 Times in 420 Posts
Laurent is a name known to allLaurent is a name known to allLaurent is a name known to allLaurent is a name known to allLaurent is a name known to allLaurent is a name known to all
Default

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.
Reply With Quote
The Following 3 Users Say Thank You to Laurent For This Useful Post:
Donate to MHF